Commit Graph

54845 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
89a330cb5d DREAMWEB: Add some debugging output to emergencyPurge 2012-11-30 23:22:51 +01:00
Willem Jan Palenstijn
f2fe1b775a DREAMWEB: Make frame fixups more specific and add sanity checks
This should detect (and trigger asserts on) the kind of ex frame
data corruption in bug #3591088.
2012-11-30 20:06:41 +01:00
Willem Jan Palenstijn
f5dbd23bab DREAMWEB: Fix emergencyPurge checks
It could re-delete previously deleted objects, causing
ex data (frame/text) corruption. This is the likely cause of bug #3591088.

Asm conversion error from eaf87bdfa7.
2012-11-30 20:06:36 +01:00
Johannes Schickel
6fd5f650bc KYRA: Allow user to cancel saving in EoB via ESC. 2012-11-30 18:10:51 +01:00
Johannes Schickel
f96011511b CONFIGURE: Enable EoB by default. 2012-11-30 15:32:01 +01:00
D G Turner
e2948313f3 KYRA: Change loop variable to uint, rather than size_t. 2012-11-30 13:08:52 +00:00
D G Turner
541c43992f DRASCULA: Change loop variable to uint, rather than size_t. 2012-11-30 12:45:26 +00:00
D G Turner
617f6179c1 DREAMWEB: Change various loop variables to uint, rather than size_t.
This is partly for readability and partly to avoid any possible
portability issues i.e. though they should be the same, size_t is
defined by system headers, whereas uint is defined within our build
system.

Also, replaced a array size calculation with our ARRAYSIZE macro.
2012-11-30 12:08:55 +00:00
D G Turner
9dc4542f3c DREAMWEB: Migrate object/inventory related functions out of stubs. 2012-11-30 11:21:31 +00:00
D G Turner
06cc3b051a DREAMWEB: Further migration to screen size constants. 2012-11-30 10:49:25 +00:00
D G Turner
396f45f551 DREAMWEB: Fix usage of defines, rather than values for screen size. 2012-11-30 08:49:23 +00:00
D G Turner
bf876a13c6 DREAMWEB: Remove dead code functions and minor formatting cleanup. 2012-11-30 04:35:54 +00:00
D G Turner
6df53857f9 DREAMWEB: Add debugging output for keyboard input. 2012-11-29 04:07:05 +00:00
D G Turner
863bbf2cc5 DREAMWEB: Correction of minor conversion mistake. 2012-11-29 03:26:37 +00:00
D G Turner
a6f2703ec2 DREAMWEB: Further cleanup to keyboard input buffer code.
Removed the buffer from being a global non-const variable. Also, the
code changes should allow the buffer size to be increased by just
changing the size of _keyBuffer if needed.
2012-11-29 03:00:17 +00:00
D G Turner
bcee44793f DREAMWEB: Simplify _lastHardKey usage and migrate to Common::KeyCode.
This improves readability and should help with dealing with changes
to fix bug #3590814 ("DREAMWEB: M key does not work in Network").
2012-11-29 01:39:08 +00:00
D G Turner
6d4b0a2c9f PS2: Fix three compiler warnings and minor code formatting fixes. 2012-11-27 03:55:06 +00:00
Einar Johan Trøan Sømåen
cf87fcba85 VIDEO: Include surface.h in bink_decoder.h 2012-11-27 01:54:59 +01:00
Matthew Hoops
836a942f0f PEGASUS: Improve descriptions for the keymap 2012-11-26 18:44:15 -05:00
Matthew Hoops
121faeaa94 VIDEO: Add preliminary API functions for seeking to a frame 2012-11-26 17:44:36 -05:00
D G Turner
77a9f01454 SCI: Amended fix for palette related compiler warnings. 2012-11-26 21:08:39 +00:00
Filippos Karapetis
9c510c1b52 SCI: Fix warnings 2012-11-26 11:27:02 +02:00
Matthew Hoops
23cc4e89f3 BACKENDS: Remove excess space from warnings 2012-11-24 18:19:05 -05:00
Matthew Hoops
3399b5662f AUDIO: Fix AIFF comment about supporting IMA ADPCM 2012-11-24 17:25:39 -05:00
athrxx
8769022032 KYRA: fix bug #3589442 (LOL Floppy - No speech during intro) 2012-11-24 20:28:36 +01:00
Torbjörn Andersson
220fb66364 TINSEL: Add scrollwheel support to save/load and inventory 2012-11-24 11:06:42 +01:00
Matthew Hoops
5cf0bfaab9 PEGASUS: Use the new VideoDecoder::setRate code
The filling station now plays at the proper speed
2012-11-24 01:04:13 -05:00
Matthew Hoops
db908fcdc4 VIDEO: Add support for playing videos at a modified speed
Currently this only works for positive (forward) playback, but will eventually work for negative (backward).
2012-11-24 01:03:36 -05:00
Torbjörn Andersson
d3cf4d10f2 SCUMM: Handle note value 1 as "hold current note" in MI1 Mac
After listening to the original music in a Mac emulator (which
unfortunately doesn't handle the music very well), I can only
conclude that note value 1 means the note should continue playing.
At first I thought maybe it was supposed to fade the current note,
or perhaps change its volume, but I can't hear any traces of
either. So I'm going to assume it just means "hold the current
note", though for the life of me I cannot think of any valid
reason for such a command. So it may be wrong, but it sounds
closer to the emulator than it did before.
2012-11-24 01:39:16 +01:00
D G Turner
4d75aa5319 COMPOSER: Fix order of directoryGlobs qualifiers.
Some compilers throw a warning on the "const static" ordering, so
the more standard "static const" should be used instead.
2012-11-23 20:44:17 +00:00
D G Turner
d654057a98 AUDIO: Fix spurious compiler warnings about use-before-set variable. 2012-11-23 19:01:38 +00:00
D G Turner
8a8ab23c03 WII: Remove remaining signed-unsigned compiler warning. 2012-11-23 18:46:47 +00:00
D G Turner
21a8166922 N64: Remove remaining signed-unsigned compiler warning. 2012-11-23 18:37:07 +00:00
Johannes Schickel
ae1403713c KYRA: Some slight cleanup. 2012-11-23 17:56:28 +01:00
Johannes Schickel
415334fbe5 KYRA: Fix bug #3589441 "KYRA: LOL DOS is broken".
In fact it affected all DOS versions of the game.
This is a regression from 93e69aa4da.
2012-11-23 17:56:22 +01:00
Torbjörn Andersson
076bcbc5c6 SCUMM: Added TODO comment about Mac MI1 music
Some notes in the main theme are very staccato, and this could
possibly explain why.
2012-11-23 06:54:25 +01:00
Torbjörn Andersson
d06f69f94b SCUMM: Fix memory leak when loading old MI1 Mac savegames
I completely forgot to delete the dummy iMUSE object after using it
to skip over the old music save information. Thanks to Lordhoto for
pointing this out.
2012-11-23 06:01:30 +01:00
Johannes Schickel
c11ab39e78 KYRA: Remove unnecessary forward declaration. 2012-11-23 03:03:19 +01:00
Johannes Schickel
10c4baad5f KYRA: Move SoundDigital declaration to its own header. 2012-11-23 03:01:48 +01:00
Johannes Schickel
5a352da437 KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError. 2012-11-23 02:56:26 +01:00
Johannes Schickel
138db7f39d KYRA: Get rid of pointless SoundDigital::init method. 2012-11-23 02:54:28 +01:00
Johannes Schickel
f361a7d624 KYRA: Make Sound::hasSoundFile const again. 2012-11-23 02:50:20 +01:00
Johannes Schickel
f5a3260ee8 KYRA: Properly mark digital sfx as sfx in HoF and LoL again.
This is a regression from e016e7dfc2.
2012-11-23 02:43:38 +01:00
Johannes Schickel
7c2f5e2d0e Merge pull request #283 from lordhoto/scumm-opl3
SCUMM: Support OPL3 in Sam&Max
2012-11-22 17:28:31 -08:00
Torbjörn Andersson
0da424efb6 TINSEL: Fix typo in comment 2012-11-22 23:11:27 +01:00
Torbjörn Andersson
29afdabb6b TINSEL: Fix inventory scrollbar handle position
The scrollbar handle was one pixel too far to the left, and the
topmost position was off by one as well. I've verified this to the
best of my ability. I've compared it visually in DOSBox (which is
a bit tricky for Discworld 2, but I think it's right now), and
against the initial Tinsel v1 source code that was added to
ScummVM. I don't know what the initial Tinsel v2 source code
looked like, though.
2012-11-22 23:04:12 +01:00
Torbjörn Andersson
c16de405d7 TINSEL: Fix inventory scrolling
Adjusted NM_SLIDE_INSET and NM_SLIDE_THICKNESS to make the inventory
scrollbar work as it did before Tinsel v1 and v2 were combined. The
scrollbar worked before, but you had to click a bit to the left of
it to operate it. It's the only place in the code where these
constants are used, so it should not break anything else.
2012-11-22 22:12:51 +01:00
Matthew Hoops
7f8b7e0916 PEGASUS: Add a keymap 2012-11-21 23:18:08 -05:00
Johannes Schickel
1f69192f7d AUDIO: Remove two extra commas. 2012-11-22 02:29:57 +01:00
Johannes Schickel
761a98997c AUDIO: Disallow custom percussion instruments in MIDI->AdLib code. 2012-11-22 02:22:25 +01:00