73 Commits

Author SHA1 Message Date
Travis Howell
82589655d0 Actor sounds need to be saved as uint16 for HE games, fixes bug #1367798.
svn-id: r19720
2005-11-27 23:48:14 +00:00
Gregory Montoir
c84d1ada32 To match the original v7/v8 interpreters, use BlastTexts to display the subtitles. This allows to fix the bug #1092993. As this is quite an important change, regressions may appear. You've been warned :)
svn-id: r19398
2005-11-02 21:47:44 +00:00
Gregory Montoir
8eaa89863a in v7/v8, remapPaletteColor() ignores color 255
in v7, remapPaletteColor() ignores colors setup by initCycle()

svn-id: r19380
2005-11-01 02:43:54 +00:00
Max Horn
899eb271c6 Got rid of 'ref' code (or rather: hack) in the save/load system
svn-id: r19246
2005-10-22 23:42:12 +00:00
Travis Howell
3374e399b5 Load/Save palette correctly in HE99 games.
Save actor shadows in HE games.

svn-id: r19231
2005-10-22 04:08:48 +00:00
Max Horn
ffc5e1718f Started to make the save/load system slightly more object oriented
svn-id: r19224
2005-10-21 23:01:13 +00:00
Travis Howell
159958dbc7 Actor layer in HE games uses an int32.
svn-id: r19212
2005-10-21 12:06:03 +00:00
Travis Howell
ba780d65df HE games require _arraysSlots and sound resource 1 to be saved.
Breaks all old saved games for HE games only.

svn-id: r19179
2005-10-19 12:15:36 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Max Horn
cc08602770 Patch #1259034 (Scumm Savegame Informations)
svn-id: r18920
2005-10-01 21:13:38 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
de52d556d4 Fix bad endian bug in thumbnails code
svn-id: r18256
2005-05-26 10:07:37 +00:00
Torbjörn Andersson
37d4e9499d Save the "Sam & Max" iMUSE triggers, otherwise we won't always be able to
restore the music state correctly. The one example I know of is when saving
between using the hair and the powder on Frog Rock, but there are probably
others as well.

svn-id: r18229
2005-05-23 07:05:42 +00:00
Travis Howell
0b1094ef04 Add patch from cyx for:
1094340 - COMI: Frightening the gravedigger, he goes white.
905833 - COMI: Palette in Theater controls

svn-id: r18211
2005-05-21 15:45:09 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
c33cc2ce85 Last part of patch #1163026 (Thumbnails for ScummEngine)
svn-id: r17982
2005-05-09 00:09:01 +00:00
Max Horn
973cb9a281 Make use of the new loadRoomSubBlocks (which only loads static room data now) in the save/load code; this also means we have to save a bit less data, and reduce code duplication
svn-id: r17822
2005-04-26 14:18:34 +00:00
Max Horn
aa330e827c Clean up HE save/load code, at the cost of savegame compatibility (v71he and upwards)
svn-id: r17821
2005-04-26 14:01:38 +00:00
Max Horn
f03e73c621 Added some comments
svn-id: r17813
2005-04-26 11:10:27 +00:00
Gregory Montoir
7c2e66df0e Got rid of scaleX and scaleY, previous code was relying on overflow and to get it right, we would have to introduce floating point numbers. Easier, yet less efficient, is just to get rid of those 2 temporary variables and do the multiplications and divisions when needed.
svn-id: r17605
2005-04-15 08:34:18 +00:00
Max Horn
e79c168d35 split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
svn-id: r17517
2005-04-10 15:13:40 +00:00
Travis Howell
dbc4d13b3d load/save sprite data in HE90+ games.
svn-id: r17459
2005-04-08 23:27:36 +00:00
Eugene Sandulenko
a9c2e6ecbf MM NES fixes:
o Fixed crash when in-game GUI was displayed
  o Support for save/load
  o Savegame version bumped

svn-id: r17232
2005-03-25 22:11:08 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Paweł Kołodziejski
065a27daab added support for compressed bun files
svn-id: r16639
2005-01-25 22:21:26 +00:00
Torbjörn Andersson
f974b48a41 Fixed bug #1093845 after discussing with Fingolfin.
svn-id: r16449
2005-01-06 15:57:12 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
f15f517bb4 Add 'speech' sound type to mixer; make use of that in iMuse Digital
svn-id: r16331
2004-12-27 01:32:40 +00:00
Max Horn
f488f4c15f Another attempt at a fix for bug #1032964 (INDY3-VGA: actors walking in wrong places), by making sure all actor walkdata is saved
svn-id: r15455
2004-10-07 21:23:29 +00:00
Travis Howell
e7cff906a9 Increase Actor animVariable for HE80+ games.
svn-id: r15382
2004-10-02 10:58:15 +00:00
Travis Howell
167f5d543f Save polygons
Move findObject changes to HE72

svn-id: r15118
2004-09-14 15:06:02 +00:00
James Brown
a427d72d04 Store SCUMM md5s in save game. Save format bump.
svn-id: r14996
2004-09-10 12:13:03 +00:00
Travis Howell
c7d28132b4 Save game changes for HE80+ games.
svn-id: r14985
2004-09-10 01:03:01 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Travis Howell
d63d23ed07 Add patch #999887 - Possible fix for bug #998276
Also saves _currentMusic

svn-id: r14525
2004-08-09 01:07:48 +00:00
Travis Howell
a50b6cf776 Add patch from madm00se for:
#869003 MIVGA: Guybrush shrinks & grows near end of game

svn-id: r14355
2004-07-28 11:56:14 +00:00
Travis Howell
619c21a318 Set new VARS for older save games.
svn-id: r14227
2004-07-16 14:41:05 +00:00
Travis Howell
032405d6f7 Bump save game version for HE 7.0 changes
Remove mention of talkspeed default, since it no longer applies.

svn-id: r14191
2004-07-11 11:59:18 +00:00
Paweł Kołodziejski
7da4eccb1d enabled save/load code for imuse digital
svn-id: r13746
2004-05-02 14:03:21 +00:00
Travis Howell
fe667a67be Correct VAR_CHARINC in old saves.
svn-id: r12955
2004-02-21 08:21:11 +00:00
Max Horn
41154fb613 save talkVolume
svn-id: r12919
2004-02-17 00:40:52 +00:00
Max Horn
6574feefb1 fix loading of old COMI savegames (which are based on the bad old camera var locations; note that COMI savegames made between this change and my previous change to vars.cpp may be 'lost' due to this, however that should be minor compared to loosing all previous COMI savegames ;-)
svn-id: r12324
2004-01-11 19:58:29 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
3b20850a89 no need to save information which we can (and do) recompute
svn-id: r12167
2004-01-06 11:45:28 +00:00
Max Horn
eeb5418504 more robust resource saving; also save resources with idx 0; renamed Serializer::saveWord/loadWord to saveUint16/loadUint16
svn-id: r11955
2003-12-27 00:10:20 +00:00
Max Horn
3959b96c9a Fix for bug #734154 (DIG: Savegame/Island names)
svn-id: r11928
2003-12-25 22:05:02 +00:00
Max Horn
eeb3cdebf1 new savegame version: store actor pan data; store Audio CD playback status (and when loading, resume playing of tracks which are meant to loop forever)
svn-id: r11423
2003-11-29 13:58:17 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
d9b0a79390 fixed some pointer cast warnings on systems with 64 bit pointers (like AMD64)
svn-id: r10315
2003-09-19 19:11:33 +00:00
Jamieson Christian
d91278198b Fix for Bug [805593] MI2: Music stops in LeChuck's fortress
Implemented _cmd_queue save/load. In addition to requiring
_cmd_queue information, this bug arises from a rare assumption
that sound resources are loaded in memory even though they
aren't currently playing. Therefore, a list of sound resources
loaded in memory is included in the savegame, so that all
relevant sound resources are reloaded when the savegame is
loaded. This also fixes an unreported music bug in S&M when
saving a game while outside the Bumpusville mansion.

As a result of savegame format modifications, we are now at
savegame version 23.

svn-id: r10254
2003-09-14 20:34:48 +00:00