Commit Graph
109 Commits
Author SHA1 Message Date
Le Philousophe ceca603464 CGE2: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe 4113d2a3e6 CGE2: Don't pass the engine object to EncryptedStream
It doesn't need it and when linked with detection and with UBSan enabled
build fails because CGE2Engine isn't linked in
2022-01-03 14:44:03 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Tomasz Długosz eaab877d66 JANITORIAL: fix the name of original author of cge and cge2
The first name is Janusz, not Janus.
The correct name was used in AUTHORS and credits.
In case of doubts, see his personal webpage: https://www.jbw.pl/ - name is in the page footer
2020-04-18 20:59:57 +02:00
D G Turner 32a6f0b376 CGE2: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-16 22:53:54 +01:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Eugene Sandulenko 31514f8164 CGE2: More portable way of getting max long value 2016-05-02 17:50:15 +02:00
Strangerke 83fcab050c CGE2: Fix a couple of boolean values 2016-02-25 22:15:32 +01:00
Eugene Sandulenko 6e9fe0052c CGE2: Fix rounding error 2015-11-27 22:34:26 +01:00
Filippos Karapetis c76c72c799 CGE2: Remove trailing whitespace 2014-10-28 16:06:07 +02:00
Matthew Hoops cbfa8bfccd CGE2: Silence gcc warnings 2014-09-28 15:29:49 -04:00
uruk 45e8078dab CGE2: Don't allow Sprite::step() to dereference nullptr-s. 2014-08-13 17:54:35 +02:00
uruk 3b342a21c6 CGE2: Eliminate inferred misuse of enums in Sprite::labVal(). 2014-08-13 17:39:09 +02:00
uruk 01950e1b1c CGE2: Remove unused function from vga13h.cpp. 2014-08-11 14:48:33 +02:00
uruk 58822b47a7 CGE2: Use spaces instead of tabs. 2014-08-09 13:54:20 +02:00
Strangerke 2697c71301 CGE2: Misc cleanup 2014-08-03 14:47:25 +02:00
uruk 00bb645e54 CGE2: Fix mismatched new/delete pair in Sprite::ghost() and snGhost(). 2014-08-03 11:59:55 +02:00
uruk 2b60bb9cc3 CGE2: Fix possible null pointer dereference. 2014-08-03 09:27:47 +02:00
Strangerke 9dc06870e7 CGE2: Start removing the checks on the return value of new 2014-08-03 01:51:33 +02:00
Paul Gilbert 96ab1d5d83 CGE2: Further FXP multiply fix to fix hero scaling 2014-08-02 10:23:43 -04:00
Strangerke c012c762d0 CGE2: Remove moveHi() and moveLo() from bitmap 2014-08-01 19:22:12 +02:00
Paul Gilbert 0d662566bd CGE2: Further fixes to FXP operators to fix pathfinding 2014-08-01 11:16:39 -04:00
uruk 733f72d810 CGE2: Fix sunset() and sunrise().
Now they really do the fade-in/fade-out effect.
2014-07-30 19:15:59 +02:00
Paul Gilbert 4139e79fcc CGE2: Fixes for the FXP class 2014-07-29 20:23:02 -04:00
uruk e51888d9ce CGE2: Refactor Hero::expand() and Sprite::expand(). 2014-07-29 15:59:43 +02:00
uruk 02c0b419d6 CGE2: Remove unnecessary CHECKME comment. 2014-07-29 13:30:23 +02:00
uruk cee669e763 CGE2: Implement setAutoColors().
Add a redefinition of closest() to do so.
2014-07-29 13:25:13 +02:00
uruk 6e00d80b4b CGE2: Implement Vga::rotate(). 2014-07-29 11:52:57 +02:00
uruk e828be1bf9 CGE2: Initialize Vga::_rot properly. 2014-07-29 11:20:20 +02:00
uruk 375a7c3b15 CGE2: Implement snCycle, add stub for Vga::rotate(). 2014-07-29 11:17:07 +02:00
uruk 70f54c6609 CGE2: Remove unused code. 2014-07-29 11:12:35 +02:00
uruk b911b66cc4 CGE2: Keep in sync the in-game color blind option with the Launcher's. 2014-07-28 16:40:06 +02:00
uruk fe77bfecf7 CGE2: Rename Bitmap::paint() to makeSpeechBubleTail(). 2014-07-28 16:17:14 +02:00
Strangerke c394a68589 CGE2: Fix misleading tabulation, improve warning 2014-07-27 00:46:30 +02:00
uruk d9e82f8f8e CGE2: Get rid of _sprite. 2014-07-17 15:41:49 +02:00
uruk 807f354cba CGE2: Remove unused classes from vga13h. 2014-07-14 18:14:20 +02:00
uruk 89295b7895 CGE2: Remove unnecessary comment from ~Vga(). 2014-07-14 18:01:36 +02:00
uruk 8f869c74c0 CGE2: Add option for enabling color blind mode from the Launcher. 2014-07-09 11:55:27 +02:00
uruk 5a1383343f CGE2: Rework number(). 2014-07-09 11:33:02 +02:00
Paul Gilbert 3935a427f9 CGE2: Add extra clipping to Bitmap::hide 2014-07-07 21:48:02 -04:00
uruk 1335247f82 CGE2: Hopefully fix memory leak problems regarding _ext. 2014-07-07 21:52:16 +02:00
uruk c7aa91019b CGE2: Replace NULL with nullptr everywhere. 2014-07-07 21:42:45 +02:00
Paul Gilbert 21a4c44bea CGE2: Add extra clipping to Bitmap::hide 2014-07-04 22:05:02 -04:00
uruk f155546ecb CGE2: Partially working save/load system.
There's a mayor bug which blocks the toolbar from interaction after loading. To be investigated during the upcoming days.
2014-07-04 13:01:28 +02:00
uruk b9dc93c451 CGE2: Heavily rework memory management of Sprites.
Hopefully it will solve a bunch of memory leak problems.
Now Spare is a central container, which stores pointers to every Sprite currently used by the engine.
Because of that, there's no more need for Queue's clear().
In case of snKill(), it's just a safeguard, since it's only used by the engine to "kill" the speech bubbles, but we will check Spare anyway, so it's the safest this way.
2014-07-04 12:58:46 +02:00
uruk ade740de10 CGE2: Implement saving. 2014-06-29 22:52:03 +02:00
uruk 2514d86630 CGE2: Implement Sprite::step() fully. 2014-06-27 23:40:23 +02:00
Strangerke 00c867f8ea CGE2: Add a safeguard in Sprite::show() 2014-06-25 19:37:25 +02:00
uruk 0eece817eb CGE2: Fix releasePocket().
Now the inventory system is working as intended.
2014-06-23 13:11:54 +02:00