138 Commits

Author SHA1 Message Date
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
Max Horn
c2b7531c56 cleanup
svn-id: r12258
2004-01-08 17:30:36 +00:00
Max Horn
467861917d various fixes for vertical scrolling rooms: fixed, screen updates (and made them more efficient), fixed transitionEffect() for 'high' rooms, documented drawStripToScreen() params a little (we really should start documenting for each function which takes coordinates in which coordinate system they are). Please test all vertical scrolling rooms (and others, too) for regressions
svn-id: r12228
2004-01-08 00:48:37 +00:00
Paweł Kołodziejski
8fd123992d synced imuse digital with local tree
svn-id: r12187
2004-01-06 17:28: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
1081c789a2 cleanup
svn-id: r12139
2004-01-04 14:49:14 +00:00
Max Horn
b9292bafe1 cleanup (mostly moved stuff around, and replaced the fadeOut call)
svn-id: r12123
2004-01-04 00:44:40 +00:00
Max Horn
105895da46 cleanup
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
22248a548f removed unused param in initScreens
svn-id: r12119
2004-01-03 21:26:44 +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
1e5496b2c8 Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
2003-12-22 08:22:04 +00:00
Travis Howell
bee21ec3f8 Add extra color table entry for v1 games, for inventory/sentence color.
svn-id: r11653
2003-12-15 14:54:35 +00:00
Travis Howell
09495a7fc9 Small color table correction for demo mode of v1 maniac
svn-id: r11650
2003-12-15 11:06:41 +00:00
Jamieson Christian
9e1cac4caa Changed notation involving more than one set of double colons ::
MSVC6 can't handle such notation, so simplification or
notation tricks must be employed to keep it happy.

svn-id: r11539
2003-12-09 08:55:32 +00:00
Max Horn
9cca17b3be don't see why we shouldn't just always call Sound::stopAllSounds just before loading... if anybody knows more, if you observe regressions, please document this in the source code (and/or file bug reports)
svn-id: r11426
2003-11-29 14:37:47 +00:00
Max Horn
6882f2886a startCDTimer() is already being invoked by pauseSounds(false)
svn-id: r11424
2003-11-29 13:59:33 +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
0bcc7ce80e made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup
svn-id: r11257
2003-11-11 00:40:35 +00:00
Jonathan Gray
513fdae261 check name we are trying to save with isn't null, still needs to be looked at at a higher level however
svn-id: r11150
2003-11-05 11:37:04 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
fafb90ddb5 code simplification
svn-id: r10762
2003-10-12 17:33:29 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +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
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +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
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +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
Max Horn
1dbab0237f cleanup/refactoring
svn-id: r10070
2003-09-07 19:28:45 +00:00
Travis Howell
3187b565dd Add atarist and macintosh options, since there seem to be no way to detect version been used.
svn-id: r9999
2003-09-05 07:36:05 +00:00
Jamieson Christian
cf3de3784b Fixed bad AND operator. May invalidate savegames from the last 24 hours
svn-id: r9914
2003-08-30 02:38:39 +00:00
Travis Howell
f1d9afc56a Only needed for versions 1 - 4
svn-id: r9902
2003-08-29 04:08:48 +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
18bd921440 Fixed
svn-id: r9718
2003-08-16 09:12:26 +00:00
Marcus Comstedt
a5aa5c0d73 Harmonized SaveFile API with File API a bit.
svn-id: r9626
2003-08-10 20:49:13 +00:00
Chris Apers
d910e7b066 In fact, Nicolas, this is no more needed :)
svn-id: r9584
2003-08-07 14:33:38 +00:00
Nicolas Bacca
1c1fd05a72 Remove old tweak that can break the music when restoring now ... Chris, you should check it too :p
svn-id: r9582
2003-08-06 21:07:59 +00:00
James Brown
173e3c5db3 V1 preposition support, but broken.
svn-id: r9502
2003-08-05 16:43:33 +00:00
Torbjörn Andersson
e0ee9d3688 Fix for bug #778060 ("DOTT: Subtitle drawing glitch").
svn-id: r9249
2003-07-28 15:47:46 +00:00
Jamieson Christian
44bda652ee Fix for Bug [766851] ALL: MIDI fragment repeats after close ups
Adjusted default _saveSound value used by S&M (whose
value is assumed by pre-S&M games). Corrected save/load
music behavior for non-temporary saves. (Until this default
value change, the incorrect behavior would almost never
manifest itself, so existing savegames should be fine.)

svn-id: r9035
2003-07-15 10:16:45 +00:00
Travis Howell
085d14a8c8 Redraw screen when loading v1 saved game
svn-id: r9000
2003-07-14 07:26:57 +00:00
Travis Howell
73365aa2c7 Split the v1 palette, since there is a minor difference.
svn-id: r8999
2003-07-14 06:44:47 +00:00
Travis Howell
fca9309305 Missed one section
svn-id: r8909
2003-07-11 14:27:55 +00:00
Torbjörn Andersson
327b63ee96 Cleanup.
svn-id: r8533
2003-06-17 15:32:45 +00:00
Max Horn
f1fc68773d made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
svn-id: r8493
2003-06-15 00:54:14 +00:00
Max Horn
f7a8cbf7c7 Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
2003-06-14 18:52:30 +00:00