Commit Graph
128 Commits
Author SHA1 Message Date
Eugene Sandulenko 72248faef9 Revert "BAGEL: Remove null checks before delete, remove useless assignment"
This reverts commit 2782a6eabc.

It uses non-portable function calls
2024-05-30 00:39:24 +02:00
Strangerke 2782a6eabc BAGEL: Remove null checks before delete, remove useless assignment 2024-05-29 22:38:38 +01:00
Strangerke 8efbbb306d BAGEL: Move paintBeveledText to CBofWindow 2024-05-26 06:48:47 +01:00
Strangerke 630f2f66c0 BAGEL: Use bofCleanAlloc instead of bocAlloc when followed by a memset(0) 2024-05-24 21:33:54 +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 c333222e3a BAGEL: Remove scrollDown, change the definition of fadeLines and scrollUp in order to remove the unused parameters, clean the implementation 2024-05-22 08:32:12 +01:00
Strangerke 3f09c38747 BAGEL: Fix several PVS Studio issues 2024-05-21 23:50:38 +01:00
Strangerke c26b99ae9d BAGEL: More work on null checks after new 2024-05-19 13:12:56 +01:00
Strangerke 687e66656c BAGEL: Fix 2 other PVS Studio issues + use a constant instead of a hardcoded value in setCorrection 2024-05-18 16:26:41 +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 79eab5bc78 BAGEL: Finish first pass of cleanup of fatal errors 2024-05-15 06:38:31 +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
Strangerke 62e0d10d99 BAGEL: Remove useless defines giving Bof names to memset, memcpy and memmove 2024-05-09 09:33:44 +01:00
Strangerke c609da4a11 BAGEL: Fix potential issue in file buffer allocation (CIC 1544891) 2024-05-07 08:16:31 +01:00
Strangerke 0acc1c3ea0 BAGEL: Fix file size before allocating buffer (CIC 1544835) and log format (CIC 1544838) in master_win 2024-05-06 22:28:26 +01:00
Strangerke 5e72a5f1c5 BAGEL: Some renaming in base_pda, initialize several variables in the constructor (CIC 1544840 ) 2024-05-06 21:43:50 +01:00
Eugene Sandulenko b6c6f43b62 BAGEL: Renames in baglib/var.h 2024-05-05 13:27:01 +02: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
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 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 23a839bc1f BAGEL: Finish renaming in master_win 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 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
D G Turner c77d46d0f9 BAGEL: Fix Remaining GCC Compiler Warnings 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 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
Eugene Sandulenko 3c04458170 BAGEL: Renames in dialogs/restore_dialog.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko a9807b693c BAGEL: Renames in dialogs/opt_window.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko d0ec64a825 BAGEL: Renames in boflib/gfx/text.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 7e3f867145 BAGEL: Renames in boflib/gfx/palette.h 2024-05-05 13:27:01 +02:00
Eugene Sandulenko 29a2410771 BAGEL: Rename class methods in boflib/gfx/bitmap.h 2024-05-05 13:27:01 +02:00