129 Commits

Author SHA1 Message Date
Johannes Schickel
c874721109 CGE: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +02:00
Johannes Schickel
1f0832b4f2 CGE: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Strangerke
0aa028c3f1 CGE: Add safeguard in expand() 2013-04-18 07:57:26 +02:00
Strangerke
8b30750f82 CGE: Remove dead code used to display copyright in DOS prompt 2012-06-27 01:15:31 +02:00
Johannes Schickel
d4a5615a8b CGE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:56 +02:00
Strangerke
5954b8bfeb CGE: Remove useless debugging traces 2011-11-28 18:55:13 +01:00
Strangerke
b3c9b51e46 CGE: Add to the console a function to display boundaries 2011-11-28 18:54:01 +01:00
Torbjörn Andersson
da626f786d CGE: Remove unused functions, moveVmap() and moveShapes(). 2011-11-27 08:34:47 +01:00
Strangerke
d2027b0290 CGE: Rename a structure member using double-underscore (reserved)
Also removed a useless comment
2011-11-14 18:24:46 +01:00
Strangerke
2d882fdf18 CGE: Rename Snail into CommandHandler, plus some associated renamings 2011-09-18 11:25:34 +02:00
Strangerke
17802f8903 CGE: Fix a potential bug in insertCommand(), some renaming 2011-09-17 23:04:12 +02:00
Strangerke
9c5415b6ae CGE: Remove useless function
Thanks fuzzie for noticing it
2011-09-17 19:11:40 +02:00
Strangerke
4778ff720c CGE: Move some more globals to CGEEngine 2011-09-17 10:54:50 +02:00
Strangerke
0668a56f69 CGE: Move _vga to CGEEngine 2011-09-16 23:54:08 +02:00
Strangerke
70c5b695df CGE: move two global functions to Vga 2011-09-16 07:55:50 +02:00
Strangerke
15bf8050b8 CGE: Move two globals functions to CGEEngine 2011-09-16 06:45:53 +02:00
Strangerke
c993108207 CGE: Transform some static and globals into class members 2011-09-15 08:00:54 +02:00
Strangerke
d28ac81a12 CGE: Rename cave into scene 2011-09-14 08:15:30 +02:00
Strangerke
82e0b6fc4b CGE: Rewrite fileIO 2011-09-14 00:10:59 +02:00
Alyssa Milburn
a029bb8656 CGE: Build fixes for WinCE.
Rename 'near' to 'nearList' (and the same for 'take' to be
consistent). Also, replace a silly cast with memset to squish
a warning.
2011-09-12 09:13:19 +02:00
Strangerke
85a19d61ad CGE: Remove debug messages, fix a warning 2011-09-12 07:01:21 +02:00
Strangerke
5c256f9689 CGE: Remove some more VFiles 2011-09-11 22:13:00 +02:00
Strangerke
4848683e56 CGE: Remove some static variables from fileIO 2011-09-09 18:24:11 +02:00
Strangerke
5bad1a7c7f CGE: Take into account some of LordHoto's comments 2011-09-06 00:43:40 +02:00
Strangerke
31d4173136 CGE: Fix thumbnails display when a game is loaded. 2011-09-01 00:22:20 +02:00
Strangerke
4cb6c739a4 CGE: Change a couple of static members to non static in Vga class 2011-08-27 19:09:13 +02:00
Strangerke
7144076030 CGE: Move IO classes to a separated source file 2011-08-27 09:05:32 +02:00
Strangerke
bb591b5415 CGE: Some clean up in Vga class 2011-08-21 11:15:28 +02:00
Alyssa Milburn
01b4ac7219 CGE: More cleanup. 2011-08-19 23:54:24 +02:00
Alyssa Milburn
bda1afdbfb Merge branch 'soltys_wip2' of https://github.com/Strangerke/scummvm into soltys_wip2
Conflicts:
	engines/cge/bitmap.cpp
2011-08-19 20:14:40 +02:00
Strangerke
8ff904c6b5 CGE: clean up bitmap class. Suppress useless methods, functions, defines... 2011-08-19 19:48:49 +02:00
Alyssa Milburn
4e4062806b CGE: Portability fix for syncing sprite flags. 2011-08-19 15:55:27 +02:00
Paul Gilbert
372d488b3b CGE: Revert previous commit of flags synchronisation 2011-08-19 20:36:43 +10:00
Paul Gilbert
0d730b85e3 CGE: Changed the Sprite bit-flags into a union, to fix savegame endian issues 2011-08-19 19:49:05 +10:00
Strangerke
40ea6d788b CGE: Suppress some dead code 2011-08-19 07:25:58 +02:00
Alyssa Milburn
23689cac23 CGE: Remove unused Rgb/Trgb/mkRgb. 2011-08-17 10:55:49 +02:00
Paul Gilbert
161a39e9fe CGE: Got rid of stub warnings for things that don't need to be implemented in ScummVM 2011-08-13 11:04:10 +10:00
Paul Gilbert
7ae8f8ce69 CGE: Decrease delay amounts to give better precision for frame execution 2011-08-10 18:38:06 +10:00
Paul Gilbert
9f8eb5a740 CGE: Re-added an explicit check in Sprite destructor against _sprite variable
The trouble is that the _sprite variable can currently be pointing to any registered sprite, and should only be freed in the destructor if it hasn't already been freed. Currently, this is best done by keeping track of whether the pointed to sprite has been already freed or not.
2011-08-06 16:55:39 +10:00
Paul Gilbert
63d49d3e1a CGE: Fix uninitialised value Valgrind warnings when saving sprite data 2011-08-06 13:46:44 +10:00
Paul Gilbert
0cb8b15cdf CGE: Fixed warning of shadowed variable 2011-08-06 13:30:36 +10:00
Paul Gilbert
388dadd56f CGE: Changed sprite shape list loading to exceed size specified by _shpCnt
This fixes the problem that was happening with the new English archive, which had a bigger shape list for one of the items in the first scene.
2011-08-06 13:16:18 +10:00
Strangerke
bbc51fa443 Merge branch 'soltys_wip2' of github.com:Strangerke/scummvm into soltys_wip2 2011-08-06 02:42:47 +02:00
Paul Gilbert
c1294b772f CGE: Added an assert to test out of bounds sprite shape access
The English version seems to expect a different number of shapes for some sprites, so it will need further work to determine how best to handle the differences.
2011-08-05 22:51:32 +10:00
Strangerke
7ea1f74759 CGE: Fix display of info text at the beginning of the game 2011-08-03 16:31:32 +02:00
Strangerke
55df4d0635 CGE: Rename some class members, various clean up 2011-07-31 00:52:35 +02:00
Strangerke
8b53899ca7 CGE: Remove Heart 2011-07-30 15:28:57 +02:00
Strangerke
5c7eb9a768 CGE: un-static-fy several variables, clean Heart class 2011-07-30 12:52:04 +02:00
Strangerke
7d5eb1ee63 CGE: Janitorial: remove trailing spaces 2011-07-28 15:35:12 +02:00
Strangerke
cf61919648 CGE: Replace 'no core' checks by asserts 2011-07-25 16:04:45 +02:00