Travis Howell
a6b445b531
Broke HE70 saved games too, due to activity.
...
svn-id: r18052
2005-05-11 14:34:19 +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
fc016e8e8a
Added a few more comments
...
svn-id: r17829
2005-04-26 16:43:20 +00:00
Max Horn
ab53558315
Fixed incorrect use of kMainVirtScreen
...
svn-id: r17826
2005-04-26 15:41:15 +00:00
Travis Howell
e88ed2908e
Save _hePalettes in HE99+ games.
...
svn-id: r17825
2005-04-26 15:31:51 +00:00
Travis Howell
26ace23092
Save addtion HE opcodes specific variables.
...
svn-id: r17824
2005-04-26 15:13:04 +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
9d07432375
Comment corrections
...
svn-id: r17820
2005-04-26 13:47:47 +00:00
Max Horn
0ca7d3a61e
Added/corrected some comments; moved NES costume init code to a more appropriate place, and cleaned it up
...
svn-id: r17819
2005-04-26 13:43:01 +00:00
Max Horn
c9cdee2d97
Removed the ugly saveOrLoadCursorImages hack and instead properly overload ScummEngine::saveOrLoad; did the same for the V7 IMuseDigital save/load code
...
svn-id: r17818
2005-04-26 13:33:17 +00:00
Max Horn
9421c2a9b9
Call setupVolumes in a more appropriate part of the save/load code
...
svn-id: r17817
2005-04-26 13:22:46 +00:00
Max Horn
5586ce3243
Use an intermediate variable, to ease debugging
...
svn-id: r17815
2005-04-26 13:16:18 +00:00
Max Horn
c46ea8bc40
Replaced the platform specific GF_FOO switches (using _platform instead now)
...
svn-id: r17716
2005-04-20 18:21:30 +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
Max Horn
3d5b5f2ad8
Moved createResource, resourceStats, expireResources to ResourceManager
...
svn-id: r17420
2005-04-06 17:31:35 +00:00
Torbjörn Andersson
23e4199699
Clear the text surface when loading a saved game, otherwise any text that
...
was displayed before loading the game will remain.
I hope this is the correct fix.
svn-id: r17382
2005-04-05 07:53:46 +00:00
Max Horn
ac247c9b94
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
...
svn-id: r17311
2005-03-31 21:39:31 +00:00
Max Horn
6d62b11af7
typo
...
svn-id: r17276
2005-03-28 20:17:21 +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
Max Horn
47ee0ce884
Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new method Gdi::roomChanged(); some more cleanup
...
svn-id: r17226
2005-03-25 01:52:20 +00:00
Max Horn
7ed1c19f6c
Cleanup: collect the C64 specific render data into a struct inside class Gdi
...
svn-id: r17224
2005-03-25 00:56:03 +00:00
Max Horn
deca135252
Use better variable names...
...
svn-id: r17160
2005-03-15 21:20:44 +00:00
Travis Howell
bf9bdd6c2e
Allow EGA option in Amiga/Atari ST games.
...
Restore correct palette after reloading saved game.
svn-id: r17020
2005-03-07 00:53:30 +00:00
Torbjörn Andersson
27bcd6e47a
When restoring older savegames, fill the script slot 'cycle' fields with
...
what I hope is a sensible value. This fixes a regression with a MonkeyVGA
savegame I had where none of the scripts that should have been running
were since all 'cycle' fields were 0.
svn-id: r16969
2005-03-02 07:11:58 +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
Max Horn
b6ea449335
Renamed _localScriptList to _localScriptOffsets for clarity
...
svn-id: r16691
2005-01-29 15:49:57 +00:00
Max Horn
cffd917165
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
...
svn-id: r16527
2005-01-10 22:06:49 +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
Travis Howell
3cd3ac5030
Missed line
...
svn-id: r16232
2004-12-21 05:24:36 +00:00
Travis Howell
4f044039e4
_HEV7ActorPalette doesn't need to be saved.
...
svn-id: r16231
2004-12-21 04:38:26 +00:00
Gregory Montoir
da874257a5
to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
...
svn-id: r16132
2004-12-19 12:30:40 +00:00
Max Horn
1ae87c0fbb
Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
...
svn-id: r15944
2004-11-28 21:24:02 +00:00
Gregory Montoir
27d0481597
fixed potiential problem in scumm save/load code
...
svn-id: r15922
2004-11-27 18:01:44 +00:00
Gregory Montoir
5e351b0c31
moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
...
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
876e738dce
Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
...
svn-id: r15901
2004-11-27 00:26:11 +00:00
Max Horn
ca41dba220
Use image header to detect presence of the V8 flags field; rewrote that flags field to load the ObjectData.flags field differently; added a comment in saveload.cpp since we are not yet saving ObjectData.flags
...
svn-id: r15479
2004-10-08 23:06:19 +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
Max Horn
a34efa68c2
Too many semicolons
...
svn-id: r15390
2004-10-03 10:02:32 +00:00
Travis Howell
3e4fd97f42
Number of local scripts is no longer constant
...
svn-id: r15352
2004-09-30 06:39:39 +00:00
Max Horn
899a64cbc9
cleanup
...
svn-id: r15222
2004-09-21 12:44:34 +00:00
Max Horn
768133d6e6
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
...
svn-id: r15175
2004-09-18 22:42:45 +00:00
Travis Howell
8e2af996be
Ooops, broken saving.
...
svn-id: r15166
2004-09-18 14:08:00 +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
e0b156387e
Be a Less Lazier Programmer (tm): Lesson 1.
...
Typing your code instead of copy/pasting it from a few lines down.
svn-id: r15035
2004-09-12 12:18:46 +00:00
James Brown
0f2f3c0072
Be a Better Programmer (tm)
...
svn-id: r15034
2004-09-12 12:15:19 +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