Commit Graph

84 Commits

Author SHA1 Message Date
Paul Gilbert
e1df646ace CGE: Set up a separate variable for the game tick speed, independent from frame rate 2011-07-16 22:28:49 +10:00
Paul Gilbert
00061bc5dd CGE: Added support for GMM save/load and launcher loading 2011-07-16 21:12:19 +10:00
Paul Gilbert
ce070cdd3c CGE: Implemented basic savegame support
I've slightly modified the behaviour of the original - rather than prompting each time the user starts for a name, it now only prompts the first time, and uses the entered name as a save description for a slot 0 savegame
2011-07-16 18:33:20 +10:00
Paul Gilbert
50d313a547 CGE: Implement monochrome view mode button 2011-07-16 15:44:17 +10:00
Paul Gilbert
c3f3120194 CGE: Cleaned up room preview handling code and fixed memory leak 2011-07-16 15:17:18 +10:00
Paul Gilbert
453fbb7454 CGE: Bugfixes for loading the room preview shapes list 2011-07-15 22:56:49 +10:00
Paul Gilbert
f0d10b62b3 CGE: In progress work on pathfinder 2011-07-14 22:36:18 +10:00
Paul Gilbert
324ccb1760 CGE: Split pathfinding related code into walk.cpp 2011-07-13 21:04:44 +10:00
Paul Gilbert
6c97190092 CGE: Fixed initialising of _shadow that was crashing the intro sequence 2011-07-13 19:18:23 +10:00
Strangerke
4d0f83babb CGE: Rename some constants 2011-07-13 08:44:58 +02:00
Strangerke
5148f80fa5 CGE: add a new SNPOST to fix the function pointer issue 2011-07-13 00:29:10 +02:00
Paul Gilbert
4d96ec7034 CGE: Fixed a previously commented adding of mouse object to show queue 2011-07-12 22:44:04 +10:00
Paul Gilbert
11c9e64885 CGE: More bugfixes for memory leaks 2011-07-12 22:02:00 +10:00
Paul Gilbert
e2b19ad9b0 CGE: Fixed several memory leaks of main objects 2011-07-12 21:53:07 +10:00
Paul Gilbert
daae033e01 CGE: Converted SprExt::_Seq to use dynamically allocated data 2011-07-12 21:16:23 +10:00
Paul Gilbert
9ba5e2b304 CGE: Reverted last commit due to extra memory leaks 2011-07-11 20:56:32 +10:00
Paul Gilbert
18077762d7 CGE: Standardised Sprite::seq on always allocating/freeing data 2011-07-11 20:37:37 +10:00
Paul Gilbert
10ca53a00c CGE: Fix cursor to show on-screen once the game starts 2011-07-10 21:07:57 +10:00
Paul Gilbert
c3a4ba8b05 CGE: More fixes for free/delete[] mismatches 2011-07-10 20:28:22 +10:00
Paul Gilbert
1870f09d31 CGE: Fix several allocation mismatches and Valgrind issues 2011-07-10 14:51:22 +10:00
Paul Gilbert
ef83c248d3 CGE: Added extra event processing call to fix non-responsiveness when running under Valgrind 2011-07-10 11:45:17 +10:00
Paul Gilbert
6039e8a245 CGE: Removed the definition of the now unused SavTab structure 2011-07-10 10:12:46 +10:00
Paul Gilbert
0bbefbef90 CGE: Created PocLight class to encapsulate the LI sprite array 2011-07-10 10:10:51 +10:00
Paul Gilbert
47b17cd1ce CGE: Create Spike class to encapsulate the SP spite array 2011-07-10 10:07:35 +10:00
Paul Gilbert
622dc2d503 CGE: Created a CavLight class to encapsulate the PR sprite array 2011-07-10 10:04:41 +10:00
Paul Gilbert
9d40a1ba9d CGE: Mouse MC sprite array into the Mouse class 2011-07-10 10:00:57 +10:00
Paul Gilbert
817a52ed56 CGE: Created a HorizLine stub class to hold the HL sprite array 2011-07-10 09:57:19 +10:00
Paul Gilbert
1e83e27925 CGE: Moved MB sprite array into Square class 2011-07-10 09:51:18 +10:00
Paul Gilbert
989e071bb9 CGE: Implemented code for saving games, removing the need for the SavTab array 2011-07-10 09:44:46 +10:00
Strangerke
080d7cf7f0 CGE: Rename Mouse class 2011-07-08 08:22:25 +02:00
eriktorbjorn
dd77866709 CGE: Remove unused variable 2011-07-07 20:51:31 +02:00
Strangerke
affaa1f4d6 CGE: Some cleanup: Move some static functions to CGEEngine, remove parameters to GetText, rename members of SavTab 2011-07-07 09:24:08 +02:00
Strangerke
c86c62b288 CGE: Cleanup and renaming. Also move some static and global functions to CGEEngine. 2011-07-07 09:23:09 +02:00
Paul Gilbert
2997db0040 CGE: Minor bugfixes for game loading 2011-07-05 22:06:26 +10:00
Paul Gilbert
fe0ff3b2e9 CGE: Converted loadGame to use the ScummVM serialiser 2011-07-05 20:26:34 +10:00
Strangerke
fae1d7efd8 CGE: This ends the first renaming pass. Also move some functions to CGEEngine 2011-07-04 08:15:56 +02:00
Strangerke
c313d2cce8 CGE: Even more renaming (WIP) 2011-07-03 16:22:26 +02:00
Paul Gilbert
665b12ff8d CGE: Compilation fix after merge 2011-07-03 20:23:19 +10:00
Paul Gilbert
ecad39e246 CGE: Implemented code for game tick 2011-07-03 20:21:37 +10:00
Strangerke
4116189395 CGE: Some more renaming (WIP) 2011-07-03 11:28:22 +02:00
Paul Gilbert
156c2d020f CGE: Fix GCC compiler warnings 2011-07-03 14:55:49 +10:00
Paul Gilbert
334de9626a CGE: Removed C standard library includes 2011-07-03 12:30:27 +10:00
Paul Gilbert
bf6a5256fe CGE: Removed code for boot sector based copy protection check 2011-07-03 12:05:58 +10:00
eriktorbjorn
ada4556b9a CGE: Simplify error() calls
This also silences a few GCC warnings.
2011-07-02 20:25:39 +02:00
Strangerke
bdc213846e CGE: Some more renaming (WIP) 2011-07-02 18:20:41 +02:00
Paul Gilbert
adb2701629 CGE: Graceful exit rather than an error 2011-07-02 20:38:27 +10:00
Paul Gilbert
72ae475c97 CGE: Fix naming of touch() virtual methods, and fixed keyboard handling 2011-07-02 20:04:30 +10:00
Paul Gilbert
bb3d61b137 CGE: Created an EventManager class and hooked it up to the Keyboard class 2011-07-02 18:38:25 +10:00
Paul Gilbert
d55401c2e1 CGE: Changed MOUSE class from using static fields to an instantiated class 2011-07-02 16:46:31 +10:00
Paul Gilbert
ec28ef04c4 CGE: Merged mouse.* and keybd.* files to centralise event handling 2011-07-02 16:19:36 +10:00