22915 Commits

Author SHA1 Message Date
Matthew Hoops
e37049cd2f ok, really get rid of "object 41" now -- didn't realize that the rnd function in preagi already adds 1... (DrMcCoy: I guess there was an object 42 before as well)
svn-id: r29083
2007-09-24 01:27:22 +00:00
Paul Gilbert
6107a9f824 Added missing endian wrappers from Room Exit structure loading
svn-id: r29082
2007-09-24 00:32:24 +00:00
Johannes Schickel
63d59b2ee6 Changes some code to use Common::set_to instead of loops. (as an example on how to use Common::set_to)
svn-id: r29081
2007-09-24 00:08:18 +00:00
Johannes Schickel
89edc3c7eb Adds Common::set_to which sets elements from the range [first, last) to value.
svn-id: r29080
2007-09-24 00:07:28 +00:00
Johannes Schickel
6ee45acf9e Fixed comment for grabPalette.
svn-id: r29079
2007-09-23 23:37:55 +00:00
Johannes Schickel
41e4a7b156 Added command to enable screen debug functionallity. (instead of the old compile time enabling)
svn-id: r29078
2007-09-23 23:37:01 +00:00
Johannes Schickel
3c5d8c4031 Added debugger command to list the birthstone gems.
svn-id: r29077
2007-09-23 23:00:54 +00:00
Johannes Schickel
a8112e3857 - mention kyra macintosh support
- some consistency fixes

svn-id: r29076
2007-09-23 22:47:49 +00:00
Johannes Schickel
df827970a1 Fix for kyra3 crashes while playing WSA files.
svn-id: r29075
2007-09-23 22:43:46 +00:00
Johannes Schickel
ef986e2222 Init _screen for kyra3. Menu + Intro should be working again.
svn-id: r29074
2007-09-23 22:29:05 +00:00
Paul Gilbert
b4cff6b9bd Converted fields in data that were originally offsets (such as tick proc offsets) to use indexes, allowing for more generic handling of different language versions
svn-id: r29073
2007-09-23 22:17:57 +00:00
Paul Gilbert
8685b1b456 Added vaildation of new lure.dat file, and added MD5 for Italian version of game
svn-id: r29072
2007-09-23 22:16:46 +00:00
Paul Gilbert
ffa264b9f7 Added support for the lure.dat file now containing multiple language versions
svn-id: r29071
2007-09-23 22:15:22 +00:00
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
Paul Gilbert
4d73619c8f Added support for multiple languages, with added resources for Italian version, added extra needed resources for internationalisation
svn-id: r29063
2007-09-23 22:05:50 +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
b138ff45fc Added Elvira 1, Elvira 2 and I Have no Mouth and moved Troll's Tale to the "New games" section
svn-id: r29055
2007-09-23 16:41:15 +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
Filippos Karapetis
474c3ef915 Updated the MSVC8 SAGA project file for commit #29038
svn-id: r29043
2007-09-23 11:10:11 +00:00
Max Horn
d19624d3f6 Fix 64 bit issue
svn-id: r29042
2007-09-23 10:33:30 +00:00
Eugene Sandulenko
eb96cdc6ad Troll's Tale support was added
svn-id: r29039
2007-09-23 10:05:50 +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
Johannes Schickel
b93e906285 oops.
svn-id: r29030
2007-09-22 20:51:34 +00:00