395 Commits

Author SHA1 Message Date
Paul Gilbert
5aba6b5a0c CGE: Removed redundant _sprite creation in engine setup 2011-08-06 18:23:53 +10:00
Paul Gilbert
1f6c27480d CGE: Fix memory leak with _sprite global sprite 2011-08-06 17:22:04 +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
fc05b8cf1b CGE: Fix memory leak with savegame thumbnails 2011-08-06 16:08:47 +10:00
Paul Gilbert
c961597988 CGE: Fixed non-portability in loading _heroXY array 2011-08-06 15:29:49 +10:00
Paul Gilbert
f5d38d82d0 CGE: Fix mismatched delete in Bitmap::_v 2011-08-06 14:01:00 +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
33c4226486 CGE: Fix another shadowed variable warning 2011-08-06 13:34:33 +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
Paul Gilbert
3ce71737b5 CGE: Fix mismatched memory free. 2011-08-05 21:54:21 +10:00
Paul Gilbert
b7a548f3c7 CGE: Fixed compiler warning of shadowed variable 2011-08-05 21:23:41 +10:00
Paul Gilbert
d229c92879 CGE: Built an English version game archive
This combines the base game resources with the files of cge_work\dusa and work\ins\usa. This makes both action descriptions and hotspots appear in English, although the introduction credits still appear in Polish. I don't know if this was the case for the original 'official' English release; but I consider it a minor issue.
2011-08-05 21:09:03 +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
6f92cdd0d0 CGE: Rename some more defines 2011-08-02 21:47:56 +02:00
Strangerke
88f6cc9b23 CGE: Clean eventManager 2011-08-01 09:53:15 +02:00
Strangerke
c053762c63 CGE: Replace magic values by defines, rename some defines 2011-07-31 19:56:14 +02:00
Strangerke
f898da53a4 CGE: Improve keyboard behavior for non-US layouts 2011-07-31 09:38:08 +02:00
Strangerke
55df4d0635 CGE: Rename some class members, various clean up 2011-07-31 00:52:35 +02:00
Strangerke
b53ffa8f2c CGE: Move some conditional defines to variables 2011-07-30 15:43:49 +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
316b73ee00 CGE: Remove Startup class, set _fx and _sound as dynamic 2011-07-29 10:02:32 +02:00
Strangerke
7d5eb1ee63 CGE: Janitorial: remove trailing spaces 2011-07-28 15:35:12 +02:00
Strangerke
df7d771feb CGE: Remove summa variable, formerly used for the protection check 2011-07-28 11:08:56 +02:00
Strangerke
dad302b640 CGE: Remove _core from Startup class 2011-07-25 19:09:12 +02:00
Strangerke
2e5a041046 CGE: Remove EMM and EMS classes 2011-07-25 17:50:58 +02:00
Strangerke
cf61919648 CGE: Replace 'no core' checks by asserts 2011-07-25 16:04:45 +02:00
Strangerke
82adc025ea CGE: Remove DrvInfo, rename some enums 2011-07-24 23:42:03 +02:00
Strangerke
c728a53148 CGE: Rename IOMode and SnCom enums 2011-07-23 14:31:39 +02:00
Strangerke
3ef0558aa9 CGE: Rename some more constants, some cleanup 2011-07-22 11:54:46 +02:00
Strangerke
5d41ab8b5f CGE: Rename some more constants, remove some useless ones 2011-07-21 01:56:40 +02:00
Strangerke
9576e415e2 CGE: Clean up Square class 2011-07-20 14:27:36 +02:00
Strangerke
420516b45e CGE: Rename Debug channel constants 2011-07-20 14:22:56 +02:00
Strangerke
3289006458 CGE: Rename constants in btfile and cfile 2011-07-19 13:24:09 +02:00
Strangerke
dc28d9debb CGE: rename constants in bitmap 2011-07-19 08:42:58 +02:00
Strangerke
2e6e7d81da CGE: cleanup in jbw.h 2011-07-19 08:24:06 +02:00
Strangerke
9a148a27cc CGE: Remove macro farnew 2011-07-19 08:09:16 +02:00
Strangerke
a073e78ba1 CGE: Rename constants (WIP) 2011-07-19 07:50:07 +02:00
Strangerke
5190bbb7be CGE: Finish adding debugc to CGEEngine class members 2011-07-19 07:13:41 +02:00
Strangerke
17003d0e90 CGE: Fix name of showBak() 2011-07-18 23:14:22 +02:00
Strangerke
b3f0e72e25 CGE: Remove useless fields in DebugText, add some more debugC 2011-07-18 23:09:57 +02:00
Strangerke
f884e57866 CGE: Remove a bunch of useless sound related menus 2011-07-18 21:47:57 +02:00
Strangerke
8aa4f739af CGE: Add debug channels (WIP) 2011-07-18 18:05:57 +02:00
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
10627dccfa CGE: Fix the selection of menu items to call appropriate dispatch method 2011-07-16 16:23:34 +10:00