368 Commits

Author SHA1 Message Date
Alyssa Milburn
23689cac23 CGE: Remove unused Rgb/Trgb/mkRgb. 2011-08-17 10:55:49 +02:00
Alyssa Milburn
a9f002897e CGE: Preserve const in cast. 2011-08-17 10:50:26 +02:00
Alyssa Milburn
9a94a239b8 CGE: Fix gcc shadowed member warning. 2011-08-17 10:12:37 +02:00
Strangerke
1d3f1830c8 CGE: Remove useless functions related to data file creation (unused) 2011-08-13 10:17:41 +02:00
Paul Gilbert
177da650dd CGE: Fix loading of vol.cat file to be endian safe 2011-08-13 18:06:09 +10:00
Strangerke
b02e34cade CGE: Implement sayTime() 2011-08-13 09:33:39 +02:00
Strangerke
58229750cc CGE: silent valgrind warnings 2011-08-13 09:16:15 +02:00
Paul Gilbert
ef7a17a64a CGE: Fix for HLINE not being available for demo
The HorizLine class is really only used for on-screen debugging information anyway, so it's not a problem.
2011-08-13 16:44:48 +10: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
Strangerke
6af5fffd36 CGE: Cleanup: remove useless classes 2011-08-12 19:11:17 +02:00
Paul Gilbert
91fdecbf68 CGE: Properly implemented MIDI music playback 2011-08-12 23:10:30 +10:00
Paul Gilbert
b76c0af2f4 CGE: Work on implementing MIDI music playback.
Music playback is now sort of working, but it seems like only a beat track of the MIDI is getting played
2011-08-12 21:33:45 +10:00
Paul Gilbert
f1f1d8bde0 CGE: Implemented sound effects 2011-08-12 19:48:51 +10:00
Paul Gilbert
0c33687de2 CGE: Further fixes to savegames. 2011-08-10 20:41:39 +10:00
Paul Gilbert
8cad6821bd CGE: Fixes for saving games 2011-08-10 19:33:08 +10:00
Paul Gilbert
621fa62e8b CGE: Save the game if the game is quit via closing the window 2011-08-10 19:02:13 +10:00
Paul Gilbert
7ae8f8ce69 CGE: Decrease delay amounts to give better precision for frame execution 2011-08-10 18:38:06 +10:00
Strangerke
de40ab5e0a CGE: Remove JBW flag (useless) 2011-08-07 11:36:49 +02:00
Strangerke
cbb828b337 CGE: Fix a couple of warnings reported by cppcheck 2011-08-07 11:34:03 +02:00
Paul Gilbert
04e09e530a CGE: Fix memory leaks in pocket list 2011-08-06 22:14:23 +10:00
Paul Gilbert
1208e7e5af CGE: Removed the _mini data block originally used to hold inventory shapes in high memory 2011-08-06 21:03:24 +10:00
Paul Gilbert
46e1f03585 CGE: Fixed up freeing of caveValues data 2011-08-06 20:03:42 +10:00
Paul Gilbert
db61f65b41 CGE: Fix uninitialised warning on event polling 2011-08-06 19:23:01 +10:00
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