Commit graph

185 commits

Author SHA1 Message Date
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
Max Horn
71bbdbfae4 Removed CharsetRenderer::_mask (this was used to optimize charset mask handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others
svn-id: r13464
2004-04-04 20:20:09 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
faa12496e4 Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-)
svn-id: r13325
2004-03-17 01:50:15 +00:00
Paweł Kołodziejski
41e6bba009 synced local imuse. many bug fixes, and few new bugs :)
svn-id: r13153
2004-03-02 20:35:48 +00:00
Travis Howell
244d19523f Correct extra slow subtitles in zak/maniac with old saves.
svn-id: r12991
2004-02-22 16:15:49 +00:00
Travis Howell
42028e984f Enable and use VAR_VOICE_MODE
svn-id: r12979
2004-02-22 03:08:18 +00:00
Travis Howell
fe667a67be Correct VAR_CHARINC in old saves.
svn-id: r12955
2004-02-21 08:21:11 +00:00
Travis Howell
83935dd920 Revert recent change that breaks temporary saves (No music or even crashes)
svn-id: r12938
2004-02-20 01:31:29 +00:00
Max Horn
eefbe23801 delete certain unused non-perma resources when loading
svn-id: r12923
2004-02-17 17:43:27 +00:00
Max Horn
41154fb613 save talkVolume
svn-id: r12919
2004-02-17 00:40:52 +00:00
Max Horn
9fe1aaa921 renamed _saveLoadCompatible to _saveTemporaryState; make use of requestLoad/requestSave
svn-id: r12691
2004-01-31 22:12:35 +00:00
James Brown
9b2e69fe2f Patch #886058 - Don't stop music when loading certain temporary states.
svn-id: r12686
2004-01-31 16:07:11 +00:00
Max Horn
ac8243d229 use Rect in struct VerbSlot
svn-id: r12413
2004-01-15 19:25:17 +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
04b002bbaa move the charset mask to the charset renderer class; some other related changes
svn-id: r12263
2004-01-08 21:21:40 +00:00