Commit Graph

60 Commits

Author SHA1 Message Date
Paul Gilbert
f33ac85e79 CGE: Bugfixes for some crashes 2011-07-10 20:07:45 +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
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
817a52ed56 CGE: Created a HorizLine stub class to hold the HL sprite array 2011-07-10 09:57:19 +10:00
Strangerke
080d7cf7f0 CGE: Rename Mouse class 2011-07-08 08:22:25 +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
24fa551a71 CGE: Fix synchronising Sprite::_seqPtr to be a signed int16 2011-07-05 21:11:59 +10:00
Paul Gilbert
fe0ff3b2e9 CGE: Converted loadGame to use the ScummVM serialiser 2011-07-05 20:26:34 +10:00
Strangerke
c313d2cce8 CGE: Even more renaming (WIP) 2011-07-03 16:22:26 +02: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
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
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
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
Strangerke
8e531d0da3 CGE: Some more renaming (WIP) 2011-07-02 01:02:14 +02:00
Paul Gilbert
ac86efcd61 CGE: Palette fixes so that first screen shows correctly 2011-07-01 18:04:21 +10:00
Strangerke
0000a3139a CGE: Some more renaming (wip) 2011-07-01 08:37:40 +02:00
Strangerke
f59c910b8f CGE: Some more renaming (wip) 2011-06-30 08:30:23 +02:00
Strangerke
f2f3124246 CGE: Some more renaming (wip) 2011-06-29 16:13:17 +02:00
Strangerke
91dc5f424a CGE: Misc cleanup (provided by Digitall) 2011-06-29 14:29:49 +02:00
Paul Gilbert
e1b6bc0427 CGE: Removed Mouse from VGA::ShowQ to prevent crashes in the movie player 2011-06-29 21:17:07 +10:00
Strangerke
290305ad43 CGE: Cleanup : Start renaming. Add BMPLoad() function 2011-06-29 00:35:21 +02:00
Paul Gilbert
04a123a4ef CGE: Fix for displaying non full-screen bitmaps 2011-06-28 22:36:43 +10:00
Paul Gilbert
2fe6061d91 CGE: Bitmap now shows correctly 2011-06-28 21:58:03 +10:00
Paul Gilbert
571c3fc666 CGE: Getting closer to properly showing bitmap images 2011-06-27 21:29:18 +10:00
Paul Gilbert
af00b91111 Merge branch 'soltys_wip2' of github.com:Strangerke/scummvm into cge
Conflicts:
	engines/cge/cge_main.cpp
	engines/cge/general.cpp
	engines/cge/snail.cpp
	engines/cge/vga13h.cpp
2011-06-27 19:03:50 +10:00
Paul Gilbert
e13317baea CGE: Beginnings of work on graphics support 2011-06-27 18:57:58 +10:00
Strangerke
083d6ff612 CGE: remove some if(n)def DEMO by using a new flag. Added CGEEngine in several classes in order to do so. 2011-06-27 01:03:47 +02:00
Strangerke
a06a75b9a4 CGE: Implement ForceExt and RCrypt. Little style cleanup. 2011-06-26 12:07:42 +02:00
Strangerke
6dc29e4a04 CGE: Remove some statics 2011-06-20 23:40:22 +02:00
Strangerke
77d4dcade2 CGE: Remove static parts of HEART 2011-06-20 00:55:47 +02:00
Strangerke
40f95669ae CGE: As there's only one instance of VGA, suppress all the static keywords from it 2011-06-20 00:13:41 +02:00
eriktorbjorn
78e3f2a57b CGE: Get rid of some static initializing
ScummVM itself (not the engine; I haven't tried that) now starts
without crashing. It exits immediately, but as far as I can tell
it does not crash. It still produces lots of Valgrind warnings,
though...
2011-06-19 11:17:54 +02:00
eriktorbjorn
3871c71f0e CGE: Fix compilation under GCC
Unfortunately, I had to stub a few things but this all looks like
code that will have to be rewritten later anyway.
2011-06-19 07:59:37 +02:00
Strangerke
77d5c25472 CGE: Suppress some defines, fix semi-columns in template definitions 2011-06-18 08:54:22 +02:00
Strangerke
9918344cdc CGE: Fix several issues reported by CPPCHECK 2011-06-13 13:44:52 +02:00
Strangerke
64f2ccca9b CGE: Cleanup: remove trailing spaces 2011-06-13 13:07:45 +02:00
Strangerke
ffc2aa4e4f CGE: Format code 2011-06-13 11:57:24 +02:00
Strangerke
ccd934e4bf CGE: Add a couple of STUB warnings 2011-06-13 00:40:19 +02:00