58 Commits

Author SHA1 Message Date
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
Filippos Karapetis
1aa4e0e8d0 Changed several #ifdef _DEBUG code parts in Mickey with #if 0 (and commented them as debug). For some reason, _DEBUG seems to be set, causing all those code parts to be ran (which lead to all sorts of unexpected behavior)
svn-id: r28861
2007-09-05 22:38:08 +00:00
Filippos Karapetis
8ccd247a74 Only change the cursor palette when the mouse hovers over a hotspot in Mickey, not the whole cursor. This is a much faster operation, which also gives better results
svn-id: r28860
2007-09-05 21:57:57 +00:00
Matthew Hoops
94a96881ae clear the screen after using printStory() so the text does not remain on in the background
svn-id: r28857
2007-09-05 19:47:32 +00:00
Eugene Sandulenko
677947ed39 Make blinking lights work
svn-id: r28856
2007-09-05 19:36:13 +00:00
Filippos Karapetis
5a97b3d9be Some updates for Mickey:
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding

svn-id: r28853
2007-09-05 15:43:56 +00:00
Filippos Karapetis
7389396a7f The mouse cursor is now visible in Mickey. Also, the enter key on the keypad works now. Some cleanup
svn-id: r28849
2007-09-04 06:54:40 +00:00
Filippos Karapetis
b555a15697 Some updates for Mickey: objects are shown now (though still incorrectly), implemented some incomplete code for the ship's blinking lights, implemented the scene animation function
svn-id: r28848
2007-09-03 15:03:50 +00:00
Filippos Karapetis
5e1a10c070 Some more updates to Mickey's sound system
svn-id: r28845
2007-09-03 10:25:48 +00:00
Filippos Karapetis
51554b6f20 Some updates to preagi's sound system and code cleanup
svn-id: r28844
2007-09-03 09:39:15 +00:00
Matthew Hoops
5a5e994e4f make Mickey use the SaveFileManager for saving/loading
svn-id: r28843
2007-09-03 01:55:56 +00:00
Matthew Hoops
d2d8ab7d18 fix warning
svn-id: r28841
2007-09-03 01:36:55 +00:00
Filippos Karapetis
7faa389525 Some updates to Mickey's sound system and code cleanup
svn-id: r28840
2007-09-03 01:33:17 +00:00
Matthew Hoops
339e9cf173 fix flashScreen
svn-id: r28839
2007-09-03 01:29:10 +00:00
Filippos Karapetis
39de6091e2 Implemented clearRow for preagi games. Mickey save games should work now. Some code cleanup
svn-id: r28838
2007-09-03 00:47:51 +00:00
Filippos Karapetis
314d7c1736 Implemented clearScreen() for preagi games
svn-id: r28837
2007-09-02 23:25:39 +00:00
Matthew Hoops
957e421bfa fix more warnings
svn-id: r28822
2007-09-02 13:50:26 +00:00
Filippos Karapetis
7c92d3b02b Slight update on Mickey's drawPic
svn-id: r28821
2007-09-02 13:44:37 +00:00