Commit Graph

117 Commits

Author SHA1 Message Date
Paul Gilbert
c3a4ba8b05 CGE: More fixes for free/delete[] mismatches 2011-07-10 20:28:22 +10:00
Paul Gilbert
9b5b88274e CGE: Bugfix for correctly flagging key release 2011-07-10 20:13:11 +10:00
Paul Gilbert
f33ac85e79 CGE: Bugfixes for some crashes 2011-07-10 20:07:45 +10:00
Paul Gilbert
9efefdbced CGE: Fixed the display of text in the name entry dialog
Whilst the 'melting' effect of entered text was very amusing, it did need to be fixed.
2011-07-10 20:02:17 +10:00
Paul Gilbert
a693ff2ecf CGE: A few more fixes for memory leaks identified by Valgrind 2011-07-10 19:23:14 +10:00
Paul Gilbert
66c7777dfe CGE: Fix Valgrind identified errors 2011-07-10 18:17:40 +10:00
Paul Gilbert
32c8962d62 CGE: Removed some accidentally added debugging statements 2011-07-10 17:58:39 +10:00
Paul Gilbert
88c7b25e5b CGE: Fixed more free/delete[] mismatches identified by Valgrind 2011-07-10 17:56:29 +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
8628b154a7 CGE: Fixed compiler warning 2011-07-10 11:40:06 +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
319ff2ca49 CGE: Changed Sprite::contract to always destroy the sprite array 2011-07-10 10:11:50 +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
cf1a45f8a8 CGE: replace the 2 memcpy previously used by a memmove
(thanks eriktorbjorn for pointing that out)
2011-07-09 09:39:02 +02:00
Strangerke
6ed9dd0d04 CGE: Cleanup: rename a couple of forgotten class members 2011-07-09 00:41:47 +02:00
Strangerke
0b27de942b CGE: replace some 'tricky replicate lines' memcpy by two, in order to avoid overlapping 2011-07-09 00:25:09 +02: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
fe2e1bb2fd CGE: Remove "bitmaps" files 2011-07-07 20:43:09 +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
c676f88da0 CGE: Rearrange engine setup so sprite arrays are setup before they're needed 2011-07-05 21:39:14 +10:00
Paul Gilbert
24fa551a71 CGE: Fix synchronising Sprite::_seqPtr to be a signed int16 2011-07-05 21:11:59 +10:00
Paul Gilbert
44490c378d CGE: _hero isn't meant to be instantiated during the engine setup 2011-07-05 21:07:14 +10:00
Paul Gilbert
41c7482a52 CGE: Implement random number source 2011-07-05 20:51:29 +10:00
Paul Gilbert
a1f177317c CGE: Bugfix for ProgName method 2011-07-05 20:40:24 +10:00
Paul Gilbert
fe0ff3b2e9 CGE: Converted loadGame to use the ScummVM serialiser 2011-07-05 20:26:34 +10:00
Paul Gilbert
dbf9e4679c CGE: Started work on endifying savegame loading 2011-07-05 20:22:51 +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
d1ef4021bc CGE: Bugfix for keyboard entry 2011-07-03 20:21:40 +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
dff8bd5474 CGE: Fix some memory leaks 2011-07-03 17:14:47 +10:00
Paul Gilbert
d53142d95e CGE: Fixed code using memory overruns to do duplication 2011-07-03 15:41:07 +10:00
Paul Gilbert
900e8cbf5b CGE: Fixed GCC compiler warnings 2011-07-03 15:32:27 +10: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
Paul Gilbert
ac0caf7579 CGE: Implemented BITMAP::Hide method 2011-07-03 11:43:59 +10:00
eriktorbjorn
5f64f3ff47 CGE: Removed unused NumStr() function.
It was used, until my previous commit. :-)
2011-07-02 20:28:11 +02:00