Commit Graph

51 Commits

Author SHA1 Message Date
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
Max Horn
07e8084eee replaced all use of scale items with scale slots. This allowed me to get rid of two big FIXME's, and might fix other scaling bugs in FT/DIG
svn-id: r10140
2003-09-09 17:29:22 +00:00
Jamieson Christian
5507d75228 Replaced VER_V* notation for savegames with
a simple number. So that it's still obvious
that the number refers to version, a VER()
macro does nothing to the number but makes
it obvious what the number is for. This
has the exact same effect as the enum that
was going to get more and more lengthy
as the savegame version evolved.

svn-id: r9901
2003-08-29 04:05:23 +00:00
Jamieson Christian
20aaf3c365 Added _roomPalette to savegame.
Savegame version now at 21.

svn-id: r9900
2003-08-29 03:54:47 +00:00
Chris Apers
0d71a7db1b This seems to be no more used
svn-id: r9585
2003-08-07 14:37:18 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
1374e7c6b1 Patch #743228: Storing mouse cursor info in savegames; Also, increased NUM_SCRIPT_SLOT to 80 (done at the same time so I only have to up the save game version once)
svn-id: r8050
2003-05-28 18:13:30 +00:00
Jamieson Christian
c6568530bd Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver".
Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser).

*** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! ***

This has been tested through the intros and a number of other scenes from MI2, FOA and S&M.

NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned....

svn-id: r7849
2003-05-23 04:19:47 +00:00
Max Horn
a0a096e2e8 added support in the save/load system for 2 dimensional arrays; used this for save/load of localvars -> this fixes many old save games, and allows us to be future compatible
svn-id: r7846
2003-05-23 02:58:34 +00:00
Jamieson Christian
2612a8f817 Added ParameterFader into savegame format.
Savegames are now version 17 (VER_V17).

svn-id: r7808
2003-05-21 21:38:03 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
James Brown
8d9b84b98e Patch 671701: SO_TALK_FREQUENCY
svn-id: r6547
2003-01-26 10:54:34 +00:00
Max Horn
defd1e7084 increased variable size from 16 to 32 bits
svn-id: r6469
2003-01-15 14:14:00 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
eb9726c497 added V8 scaling code
svn-id: r6440
2003-01-13 01:29:45 +00:00
Max Horn
c3657ff637 fixed the 'too many verbs' bug: verbid is 16 bits but was stored in save games as a byte. This means that existing savegames are still affected by the bug
svn-id: r6376
2003-01-09 22:53:21 +00:00
Jamieson Christian
f60bda7d5c Implemented new instrumentation save/load.
Save/load version is now VER_V11.
Adlib/MT-32 instrumentation is now saved and loaded.
BACK UP YOUR VER_V10 SAVEGAMES, JUST IN CASE!

svn-id: r6044
2002-12-21 20:10:47 +00:00
Marcus Comstedt
83da387eef New savefile backend system (bye bye NONSTANDARD_SAVE...)
svn-id: r6007
2002-12-17 01:15:13 +00:00
Max Horn
4ddecdad58 Patch #650085: Make saveload system extensible
svn-id: r5885
2002-12-08 16:14:29 +00:00
Max Horn
5d72701c06 fixed the non-POD warning for real this time
svn-id: r4999
2002-09-22 03:57:41 +00:00
Max Horn
fbe9c544de tied to fix 'non-POD type' warning in some GCC versions; moved some common code to saveload.h
svn-id: r4997
2002-09-22 02:53:15 +00:00
Max Horn
0cf920e040 some cleanup to the save/load code... I think some more wouldn't hurt :-)
svn-id: r4863
2002-08-26 16:47:14 +00:00