Paul Gilbert
01bfaaa765
Split up the interruptableDelay method into two methods, making the version in events.cpp more generic
...
svn-id: r29070
2007-09-23 22:14:45 +00:00
Paul Gilbert
155d85b3b6
Removed some old redundant code and moved some string constants to the resource file
...
svn-id: r29069
2007-09-23 22:13:41 +00:00
Paul Gilbert
532ae68aa2
Tweaked the colour fading code so that room 4 will display correctly
...
svn-id: r29068
2007-09-23 22:12:37 +00:00
Paul Gilbert
59e9e25a5f
Added support for original copy protection, in any anyone ever wants to see it
...
svn-id: r29067
2007-09-23 22:11:14 +00:00
Paul Gilbert
9d07c3a4c5
Shifted string decoder list to a resource, since it varies from language to language
...
svn-id: r29066
2007-09-23 22:10:29 +00:00
Paul Gilbert
f0f813b824
Added support for original copy protection, in any anyone ever wants to see it
...
svn-id: r29065
2007-09-23 22:09:25 +00:00
Nicola Mettifogo
19e9161a20
Oops. Some debug code was committed.
...
svn-id: r29061
2007-09-23 20:23:49 +00:00
Nicola Mettifogo
05abbf49a2
Moved most of inventory-related code inside classes Inventory and InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code).
...
svn-id: r29060
2007-09-23 20:17:50 +00:00
Eugene Sandulenko
7da28f6129
Rename class variables to conform our coding guidelines.
...
svn-id: r29059
2007-09-23 17:00:35 +00:00
Eugene Sandulenko
173eb059db
Rename class variables to conform our code conventions
...
svn-id: r29058
2007-09-23 16:52:53 +00:00
Torbjörn Andersson
f4507e71d3
Indentation.
...
svn-id: r29057
2007-09-23 16:48:33 +00:00
Eugene Sandulenko
38d8105e4e
Add support for Russian versions of AGI games
...
svn-id: r29056
2007-09-23 16:43:43 +00:00
Filippos Karapetis
4a8dc7aa68
Cleanup. Also, changed isBigEndian to be a boolean
...
svn-id: r29054
2007-09-23 16:32:03 +00:00
Andrew Kurushin
f50e162c25
remove _saveMarks from SAGA load and save implementation
...
svn-id: r29053
2007-09-23 15:53:49 +00:00
Eugene Sandulenko
c4ad96b91e
Add Tigger and Mist events implementation
...
svn-id: r29052
2007-09-23 15:09:48 +00:00
Matthew Hoops
35a3f9c9ac
objects now work in Winnie Amiga
...
svn-id: r29051
2007-09-23 13:47:50 +00:00
Eugene Sandulenko
9d26f30929
Fix regression
...
svn-id: r29050
2007-09-23 13:40:28 +00:00
Matthew Hoops
4e0913b19f
changes for Winnie Amiga (now playable) and C64
...
svn-id: r29049
2007-09-23 12:31:21 +00:00
Eugene Sandulenko
fe2f83efce
More endianness and alignment fixes
...
svn-id: r29048
2007-09-23 12:25:44 +00:00
Max Horn
f7590de0aa
Fix endian bug
...
svn-id: r29047
2007-09-23 12:11:05 +00:00
Eugene Sandulenko
67d728a258
Make readRoom() truly alignment- and endian-safe
...
svn-id: r29046
2007-09-23 12:02:34 +00:00
Eugene Sandulenko
f260e47512
Portability fix
...
svn-id: r29045
2007-09-23 11:54:26 +00:00
Filippos Karapetis
d82fa2a65b
Fixed some platform checks
...
svn-id: r29044
2007-09-23 11:20:44 +00:00
Max Horn
d19624d3f6
Fix 64 bit issue
...
svn-id: r29042
2007-09-23 10:33:30 +00:00
Eugene Sandulenko
9a9e9d21a8
Moved MemoryStreamEndian from Saga to Common.
...
svn-id: r29038
2007-09-23 09:59:10 +00:00
Matthew Hoops
352566ee64
allow Winnie C64 to start, although there are problems with the images (probably wrong offset) and logo.pic/intro.pic are not working, so the intro is skipped
...
svn-id: r29037
2007-09-23 02:15:48 +00:00
Matthew Hoops
f45cf700d8
randomize() can no longer create "object 41" -- there is no object 41, and when we attempt to draw it, it can cause crashes
...
svn-id: r29036
2007-09-23 00:27:36 +00:00
Matthew Hoops
110da1b1cf
readRoom is now Endian-safe
...
svn-id: r29035
2007-09-23 00:12:07 +00:00
Filippos Karapetis
cee2a60569
Make sure that picture fill doesn't go out of the picture's bounds, since pre-AGI pictures have different dimensions
...
svn-id: r29034
2007-09-22 23:56:08 +00:00
Matthew Hoops
62f69cff8a
fix possible Endian issue
...
svn-id: r29033
2007-09-22 23:39:47 +00:00
Matthew Hoops
998d43df30
allow Winnie Amiga to show room images, still not playable
...
svn-id: r29032
2007-09-22 23:36:00 +00:00
Filippos Karapetis
4333fafe76
Fix for bug #1800276 - "IHNM: Problem in saving". A bug in the logic of the save slot allocation algorithm became apparent with the FS node merge. It should be working correctly now
...
svn-id: r29031
2007-09-22 22:37:20 +00:00
Eugene Sandulenko
04feab1689
Switch Troll's Tale to booter image
...
svn-id: r29028
2007-09-22 20:19:55 +00:00
Matthew Hoops
b4ed831666
some cleanup involving Winnie Amiga, however it still only shows the intro
...
svn-id: r29027
2007-09-22 20:16:24 +00:00
Nicola Mettifogo
50fb8b2734
Fixed broken compile on MSVC.
...
svn-id: r29026
2007-09-22 19:31:24 +00:00
Nicola Mettifogo
d7ae40b65d
Refactored a lot of Character-related code and put it into the Character class.
...
svn-id: r29025
2007-09-22 18:45:43 +00:00
Filippos Karapetis
7524244581
Added a workaround for a bug with Gorrister's heart, which exists in the original game scripts of IHNM
...
svn-id: r29024
2007-09-22 17:57:45 +00:00
Matthew Hoops
f371e98f98
allow Winnie Amiga to show the intro
...
svn-id: r29023
2007-09-22 17:56:23 +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
Sven Hesse
fd1dbd8668
Small font-related correction
...
svn-id: r29006
2007-09-21 18:50:53 +00:00
Filippos Karapetis
7212d00454
Removed an unnecessary picture update when drawing crystal objects in Mickey
...
svn-id: r29004
2007-09-21 08:55:26 +00:00