Commit Graph
130 Commits
Author SHA1 Message Date
Strangerke e06f7ebc3d BAGEL: Remove some useless initializations (value directly overwritten), reduce variable scopes 2024-05-30 06:19:42 +01:00
Strangerke ea43fb5685 BAGEL: Remove handleError which isn't used 2024-05-27 23:37:40 +01:00
Strangerke d40c9badf9 BAGEL: Fix various tiny issues (missing or useless keywords, typos, variable scopes, ...) 2024-05-26 06:21:48 +01:00
Strangerke d73724c1b2 BAGEL: As bof(Mem)Alloc now trigger a fatal error on failure, remove all the null checks related to their uses 2024-05-24 08:08:20 +01:00
Strangerke 3f09c38747 BAGEL: Fix several PVS Studio issues 2024-05-21 23:50:38 +01:00
Strangerke a17658a6f4 BAGEL: More work on useless null checks 2024-05-19 13:24:35 +01:00
Strangerke a8f77dd254 BAGEL: Add some missing const, remove some unused code, rename a couple of functions 2024-05-15 23:10:28 +01:00
Strangerke 938d267cc0 BAGEL: standardize error code variable name 2024-05-15 21:42:15 +01:00
Strangerke 2a0e6ae9d6 BAGEL: Split more assignments out of if statements, more work on fatal errors 2024-05-14 23:02:11 +01:00
Strangerke 9ae3cfbda4 BAGEL: add error detail in all reportError calls, remove an unused function in CBofFile and in log 2024-05-12 21:18:26 +01:00
Eugene Sandulenko e0cc7ab08b BAGEL: Use safer string copying. CID 1544830 2024-05-11 09:42:47 +02:00
Eugene Sandulenko 464f67382a BAGEL: Use safer string copying. CID 1544830 2024-05-10 11:29:01 +02:00
Strangerke 93547c9633 BAGEL: remove unused _bContainsModel in storage_dev_win 2024-05-10 08:42:36 +01:00
Strangerke 699f234b0e BAGEL: initialize booleans to true instead of 1, add safeguard on fileLength() results (CID 1544832, 1544874, 2024-05-09 08:34:59 +01:00
Strangerke c78088908f BAGEL: remove useless null check before delete, useless comparison to 0 before a loop, move increment and decrement of variable out of asserts to avoid change of behavior in release version (CID 1544819, 1544893) 2024-05-08 13:33:41 +01:00
Strangerke 1e82d3dc7d BAGEL: Reduce if block depth in CBagPDA::update() and runWaitingMovie(), fix 2 pointers to obsolete pointers (CID 1544861) 2024-05-07 22:05:38 +01:00
Eugene Sandulenko 29a8eaf7c7 BAGEL: Rest of the renames in baglib/storage_dev_win.h 2024-05-05 13:27:01 +02:00
Strangerke 2e0db340aa BAGEL: Some renaming in storage_dev_win, add some override keywords 2024-05-05 13:27:01 +02:00
Strangerke 321837a2a9 BAGEL: Rename in res.h, fix typos in object.object.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 0e98a0945d BAGEL: Renames in baglib/storage_dev_bmp.h and baglib/storage_dev_win.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d74ac6473a BAGEL: Renames in baglib/sprite_object.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko af587adcb5 BAGEL: Renames in baglib/sound_object.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 182a91ab86 BAGEL: Rename class variables in baglib/save_game_file.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 5bfcd7a608 BAGEL: Renames in baglib/save_game_file.h 2024-05-05 13:27:01 +02:00
Strangerke 225564ebc4 BAGEL: Some renaming in pda and parse_object headers 2024-05-05 13:27:01 +02:00
Eugene Sandulenko c08d72d33e BAGEL: Renames in baglib/parse_object.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 574a71a282 BAGEL: Renames in baglib/pan*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d6aa775773 BAGEL: Renames in baglib/object.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko c2a6d58fd6 BAGEL: Renames in baglib/m*.h 2024-05-05 13:27:01 +02:00
Strangerke b64ff2846b BAGEL: Renaming in master_win.cpp 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ca8978bfa0 BAGEL: Renames in boflib/[t-v]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 7cea8a99e4 BAGEL: Renames in boflib/string.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 80353eb6fc BAGEL: Renames in boflib/sound.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko a9feb83180 BAGEL: Renames in boflib/r*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 89d3bba7dc BAGEL: Renames in boflib/[m-q]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko da42da4b4b BAGEL: Renames in boflib/l*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ae79f39c48 BAGEL: Renames in boflib/[ef]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 8af060fee5 BAGEL: Renames in boflib/[cd]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ce5561b046 BAGEL: Renames in boflib/app.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 7e75441775 BAGEL: Renames in [tv]*.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko fe77412e5e BAGEL: Renames in spacebar/m*.h 2024-05-05 13:27:01 +02:00
Strangerke 922378204d BAGEL: Renaming in master_win.h 2024-05-05 13:27:01 +02:00
Strangerke a010ca9fd8 BAGEL: Rename log_msg 2024-05-05 13:27:01 +02:00
Strangerke 062934db20 BAGEL: Add a TODO on a global 2024-05-05 13:27:01 +02:00
Strangerke 61fdf53923 BAGEL: Renaming in link_object 2024-05-05 13:27:01 +02:00
Strangerke 6a95e49f98 BAGEL: renaming in inv 2024-05-05 13:27:01 +02:00
Strangerke 1974f7feb5 BAGEL: Split ifstream code into its own cpp file, some refactoring 2024-05-05 13:27:01 +02:00
Strangerke e7a31681dd BAGEL: Renaming in ifstream 2024-05-05 13:27:01 +02:00
Eugene Sandulenko ee9fa302ca BAGEL: Renames in spacebar/[a-g]*.h 2024-05-05 13:27:01 +02:00
Strangerke 7246c4bd82 BAGEL: End of renaming of expression 2024-05-05 13:27:01 +02:00