Commit Graph

75 Commits

Author SHA1 Message Date
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
42a5aa567b Merging more of the GSoC 2008 RTL branch: AGI
svn-id: r34242
2008-09-01 17:46:05 +00:00
Filippos Karapetis
cd3a904f78 Correct fix for bug #2073159 - "MICKEY: Incomplete computer message"
svn-id: r34186
2008-08-26 12:34:05 +00:00
Christopher Page
21cd277f13 Fixed some GCC warnings
svn-id: r33647
2008-08-05 21:38:59 +00:00
Christopher Page
7f480ac571 Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
3ac3e84ecf Removed an exit() call in PreAGI
svn-id: r33049
2008-07-13 22:41:32 +00:00
Christopher Page
30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
3beccaf115 PreAGI works with the new GMM implementation
svn-id: r32956
2008-07-08 01:33:57 +00:00
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Kari Salminen
a493647076 Indentation
svn-id: r30478
2008-01-13 23:43:17 +00:00
Filippos Karapetis
05b28340bf Cleanup and simplification
svn-id: r30405
2008-01-11 10:59:43 +00:00
Filippos Karapetis
85b3a4a59e Added a debug command, did some cleanup
svn-id: r30351
2008-01-09 10:31:52 +00:00
Filippos Karapetis
b0f2e823e0 Cleanup of the debugger commands, added some more commands, removed now obsolete debug code
svn-id: r30350
2008-01-09 09:46:26 +00:00
Filippos Karapetis
c14d420141 Added a debug console for Mickey's Space Adventures
svn-id: r30349
2008-01-09 09:19:17 +00:00
Filippos Karapetis
f1a1254581 Renamed SAVEGAME_VERSION to MSA_SAVEGAME_VERSION
svn-id: r29770
2007-12-08 18:19:09 +00:00
Filippos Karapetis
b24f10dde0 The variables nFrame and iItem can also have negative values
svn-id: r29769
2007-12-08 18:16:30 +00:00
Filippos Karapetis
621f798241 Saving and loading in Mickey's Space Adventure should now be endian and alignment safe. Note that this breaks older saved games
svn-id: r29768
2007-12-08 17:51:23 +00:00
Filippos Karapetis
01f32b60b0 Removed some unnecessary code which was common for two cases
svn-id: r29622
2007-11-24 00:47:29 +00:00
Filippos Karapetis
e9c0276072 Minimized screen updates for Mickey's Space Adventure, and correctly set the hint for Uranus
svn-id: r29619
2007-11-23 18:28:40 +00:00
Filippos Karapetis
cd3f548407 Objects in Mickey's Space Adventure are shown correctly now
svn-id: r29612
2007-11-22 20:54:46 +00:00
Filippos Karapetis
e17acaa1c6 Fix regression with the menus
svn-id: r29588
2007-11-20 23:42:45 +00:00
Filippos Karapetis
3cb597a046 Cleanup and simplification
svn-id: r29585
2007-11-20 20:25:37 +00:00
Sven Hesse
045d5f5c08 Muting the compiler :P
svn-id: r29581
2007-11-20 19:15:11 +00:00
Filippos Karapetis
338f8aa99e Slight fix for the sound in Mickey's Space Adventure
svn-id: r29579
2007-11-20 16:44:16 +00:00
Filippos Karapetis
ea569b48d0 Implemented music in Mickey's Space Adventure, thanks to the now common softsynth square wave generator
svn-id: r29575
2007-11-20 00:26:36 +00:00
Eugene Sandulenko
173eb059db Rename class variables to conform our code conventions
svn-id: r29058
2007-09-23 16:52:53 +00:00
Filippos Karapetis
63f4e23ffa Code cleanup and simplification
svn-id: r29022
2007-09-22 13:27:10 +00:00
Filippos Karapetis
2f412c17e0 Code simplification
svn-id: r29020
2007-09-22 11:31:46 +00:00
Filippos Karapetis
dfb6080e1a Simplified item handling code in Mickey
svn-id: r29019
2007-09-22 10:53:53 +00:00
Filippos Karapetis
00298204e7 Replaced room indexes with their corresponding enums
svn-id: r29018
2007-09-22 10:36:20 +00:00
Filippos Karapetis
366b65486f Code simplification. Removed IDI_MSA_MAX_STR and fRmTxt - oRmTxt is used instead, as the two arrays contained non-null values for the same rooms. Also, room object indices are no longer read from the original executable
svn-id: r29016
2007-09-22 10:10:01 +00:00
Filippos Karapetis
47b8dbbf52 Fix regression caused by the latest cleanups
svn-id: r29011
2007-09-21 20:19:12 +00:00
Filippos Karapetis
e35221f4ca Oops
svn-id: r29010
2007-09-21 20:08:42 +00:00
Filippos Karapetis
8663e5a39f Cleanup
svn-id: r29009
2007-09-21 20:06:57 +00:00
Filippos Karapetis
2310d1f62a Simplified Mickey::randomize()
svn-id: r29008
2007-09-21 19:35:26 +00:00
Filippos Karapetis
dc4c06e954 Several bug fixes for Mickey's Space Adventure:
- Fixed a logic bug, where it was possible that the planets were not initialized properly when flipping XL30's switch without holding any crystal. Note that this breaks older Mickey saved games
- Fixed a bug with the initialization of the planet data, where the random number assigned to each planet could go out of logical bounds
- Save games are saved with the correct extension now (e.g. mickey.s01 instead of mickey.s 1)
- Some save game messages which were not shown are shown now
- Disabled two problematic objects (the scale in Mickey's house and the rock in Jupiter) so they are not shown for now, as our current picture showing algorithm crashes when trying to display them

svn-id: r29007
2007-09-21 19:12:53 +00:00
Eugene Sandulenko
14b89bcf46 Implement inventory in Troll's Tale
svn-id: r28987
2007-09-20 18:18:10 +00:00
Filippos Karapetis
0fc3ee26f9 Some updates to Mickey's BCG logo drawing function
svn-id: r28977
2007-09-20 01:38:07 +00:00
Eugene Sandulenko
2254028365 Merge several choice-related functions
svn-id: r28967
2007-09-19 09:54:42 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Eugene Sandulenko
13a73a70b6 WIP for Troll's Tale
svn-id: r28939
2007-09-18 16:20:44 +00:00
Matthew Hoops
f4414ac084 remove the rest of the PreAGI loader
svn-id: r28895
2007-09-11 21:39:16 +00:00
Max Horn
a8767a421d Fix compilation / warnings
svn-id: r28885
2007-09-10 13:15:40 +00:00
Filippos Karapetis
2b643875ae Some updates for the BCG Disney logo in Mickey
svn-id: r28884
2007-09-09 23:14:29 +00:00
Max Horn
127900b33c Fixed various warnings
svn-id: r28879
2007-09-08 11:17:13 +00:00
Filippos Karapetis
6964db4592 Some updates for decoding Disney's BCG logo in Mickey
svn-id: r28869
2007-09-06 21:58:57 +00:00
Filippos Karapetis
2d974a22d4 Objects in Mickey are shown correctly now. Also, reduced the places where the screen gets updated
svn-id: r28862
2007-09-06 01:18:13 +00:00