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
Travis Howell
c7d28132b4
Save game changes for HE80+ games.
...
svn-id: r14985
2004-09-10 01:03:01 +00:00
Max Horn
152a5e97fe
Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
...
svn-id: r14612
2004-08-14 19:42:00 +00:00
Travis Howell
36846f537a
Limit to old saved game only.
...
svn-id: r14532
2004-08-10 02:19:16 +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
b486e15959
Ooops
...
svn-id: r14356
2004-07-28 12:05:30 +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
f28adf7a6c
Keep compatbility with older saved games.
...
svn-id: r14339
2004-07-26 15:14:10 +00:00
Travis Howell
3a8f518b02
VAR_ROOM_FLAG should always be set after load of saved game.
...
Other VAR_ROOM_FLAG setting in scumm5 specific.
svn-id: r14332
2004-07-26 04:03:11 +00:00
Travis Howell
4105fdd4f6
Merge palette functions.
...
svn-id: r14324
2004-07-25 11:29:38 +00:00
Travis Howell
9563fb9c6e
Revert small part of scumm/saveload.cpp revision 1.129.
...
Fixes bug #884171 - DOTT: Transition effect glitch (regression)
svn-id: r14240
2004-07-18 05:04:30 +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
Travis Howell
17802b8035
Rename var
...
Add some changes ready for next save game version (Commented out)
svn-id: r14189
2004-07-11 09:15:14 +00:00
Max Horn
6b722ff11b
Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
...
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
de7c36f063
cleanup
...
svn-id: r14055
2004-06-25 21:48:12 +00:00
Paweł Kołodziejski
cdc7324951
stub for digital imuse save/load
...
svn-id: r13734
2004-05-02 10:07:59 +00:00
Torbjörn Andersson
dfe25fbfd8
Added note that the previous commit probably fixed bug #933610 as well.
...
svn-id: r13599
2004-04-20 07:21:25 +00:00
Torbjörn Andersson
ac967bde63
Increased _numNewNames from 50 to 100 to prevent overflow in MI2 endgame.
...
This should fix bug #936323 . (There are still some game versions that use
50, but that can be fixed later, if the need arises.)
svn-id: r13598
2004-04-20 07:10:13 +00:00
Max Horn
17fe0497f5
Renamed StringTab::backup to StringTab::_default, as that describes better what it does
...
svn-id: r13476
2004-04-05 23:54:58 +00:00