Commit Graph

1028 Commits

Author SHA1 Message Date
Travis Howell
de29c28483 Only set soundMode, if compressed segment exists.
svn-id: r28227
2007-07-27 01:33:05 +00:00
Filippos Karapetis
533ebe13d2 Fix for bug #1761530 - "COMI: iMUSE-related crash on startup"
svn-id: r28226
2007-07-27 00:59:12 +00:00
Torbjörn Andersson
0998a2440a The drawStripToScreen() does nothing if width <= 0. In bug #1759925 ("COMI:
100% crash in SVN (not in 0.X.0)"), height was a fairly large negative number,
so I've added a test for that condition as well. This seems to fix the bug.

svn-id: r28199
2007-07-25 19:56:43 +00:00
Travis Howell
e243dc8e36 Add support for FLAC compression of sound bundles in The Dig and COMI.
svn-id: r28173
2007-07-23 02:34:21 +00:00
Eugene Sandulenko
b6eedda885 - Fix wrong languages in Chinese COMI
- Fix credits rendering in Chinese COMI

svn-id: r28167
2007-07-22 22:59:08 +00:00
Eugene Sandulenko
8c21abc990 Fix Chinese character widths.
svn-id: r28166
2007-07-22 21:01:31 +00:00
Max Horn
425e6e278b cleanup (in particular, don't call something 'soundHandle' which is not a Mixer::SoundHandle)
svn-id: r28162
2007-07-22 09:17:23 +00:00
Eugene Sandulenko
cfb4b08efc Proper height for Chinese characters, also remove obsolete hack for computing
character base.

svn-id: r28160
2007-07-21 22:57:21 +00:00
Eugene Sandulenko
4fa5583af4 More support for Chinese COMI. Still some character conversions are
missing. Most notable in difficulty selection screen where 'q' characters
slip in.

svn-id: r28159
2007-07-21 22:40:02 +00:00
Max Horn
7a6f0b7460 SCUMM/iMuse Digital: Pause sounds after loading them
svn-id: r28158
2007-07-21 19:53:18 +00:00
Eugene Sandulenko
b01f07a548 Prevent crash in MI1 SegaCD Jap.
svn-id: r28152
2007-07-20 21:45:28 +00:00
Eugene Sandulenko
a88189b73d Add Japanese MI1 for SEGA CD
svn-id: r28151
2007-07-20 21:35:56 +00:00
Eugene Sandulenko
af0229d533 Add Bear Stormin'
svn-id: r28121
2007-07-16 14:10:36 +00:00
Travis Howell
e4950ea52f Add Japanese 3DO version of fbpack.
svn-id: r28119
2007-07-16 01:49:34 +00:00
Max Horn
86d015c055 Added FIXME comments regarding use of AudioStream::openStreamFile
svn-id: r28112
2007-07-15 19:26:00 +00:00
Max Horn
f4c0b853cc Fixed sound factory messup caused by my previous commit
svn-id: r28111
2007-07-15 19:24:00 +00:00
Max Horn
e07e5eeb1d Added new Mac SCUMM MD5, tracker #1749232
svn-id: r28108
2007-07-15 18:26:21 +00:00
Eugene Sandulenko
3f2c527b0e Provide more language.tab file sizes
svn-id: r28023
2007-07-11 11:19:41 +00:00
Robin Watts
b1feb9c65c This commit adds a new build define USE_ARM_GFX_ASM (and sets it for the WinCE
and DS builds). This causes the scumm engines graphics code to call ARM
routines to do drawStripToScreen and copy8col.

These routines were originally written for the DS port, and have now been made
available to any other ARM device out there that wants them. 

I've tested this change on WinCE, but can't test it on the DS as I don't have
one. We know that the routines work there though.

svn-id: r28016
2007-07-10 20:20:50 +00:00
Torbjörn Andersson
0a5654fefc Cast the pointer to long instead of int to possibly fix the amd64 compile
problem mentioned earlier on the channel. Neither seems like a particularly
nice thing to do, but this is how we do it in the SDL backend, and it has
apparently worked fine there...

svn-id: r28012
2007-07-10 17:28:48 +00:00
Eugene Sandulenko
3ac5498ec7 Reberting accidental changes.
svn-id: r28000
2007-07-10 01:26:12 +00:00
Eugene Sandulenko
1db83059b0 Preliminary (and buggy) Kanji support.
svn-id: r27998
2007-07-10 00:39:12 +00:00
Max Horn
aaa987201e SCUMM: more cleanup in ScummEngine::drawStripToScreen, added a big TODO comment explaining how to potentially speed up this code a lot
svn-id: r27997
2007-07-09 21:56:35 +00:00
Max Horn
9782c35eaf SCUMM: use the _compositeBuf, with 'natural' line pitch (implying linear memory access for potentially better performance)
svn-id: r27988
2007-07-09 09:21:25 +00:00
Max Horn
0a662bfb7e cleanup in ScummEngine::drawStripToScreen; in particular, the code is now more efficient for The Dig, FT and COMI
svn-id: r27980
2007-07-08 22:13:50 +00:00
Max Horn
14244685f3 SCUMM: hercules gfx code cleanup
svn-id: r27979
2007-07-08 21:42:39 +00:00
Max Horn
3762bcdfe1 correct typo
svn-id: r27978
2007-07-08 21:39:46 +00:00
Max Horn
dd40c72327 cleanup
svn-id: r27977
2007-07-08 21:25:09 +00:00
Max Horn
925f756369 SCUMM: Handle platform override a bit differently during startup; specifically, be more gentle if no perfect match against the specified platform value was found
svn-id: r27966
2007-07-08 13:26:55 +00:00
Max Horn
7b958d5665 Added Indy3EGA IBM 1.4 11/07/89 - English (US) 5.25" floppy version data from report #1746189; also added version data on various other game versions
svn-id: r27872
2007-07-02 22:46:17 +00:00
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +00:00
Max Horn
9027076e5d Split Engine::pauseEngine: It now does pauseLevel handling, while engines can provide a simpler pauseEngineIntern method; provided default implementation of the latter which simply (un)pauses the mixer
svn-id: r27801
2007-06-30 22:22:25 +00:00
Max Horn
fed38a794f Added Engine::pauseEngine method (allows outside code, like the backend, to pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine
svn-id: r27797
2007-06-30 18:22:21 +00:00
Max Horn
a826001176 Don't tracke time we take for loading (it should be less than a second anyway)
svn-id: r27795
2007-06-30 18:09:17 +00:00
Max Horn
c7fa7baf1f Added global support for the (so far undocumented) confirm_exit config key
svn-id: r27788
2007-06-30 12:43:53 +00:00
Max Horn
2243197f50 Changed GUI system to use Common::KeyState state
svn-id: r27786
2007-06-30 12:26:59 +00:00
Max Horn
9720742722 MI SegaCD related cleanup
svn-id: r27785
2007-06-30 12:07:51 +00:00
Max Horn
fc6da0b436 Removed/clarified various FIXME comments
svn-id: r27784
2007-06-30 12:01:27 +00:00
Max Horn
252d183291 SCUMM: Moved code which re-mapped arrow keys
svn-id: r27783
2007-06-30 11:57:50 +00:00
Max Horn
0723e3e24a Introduced ClickArea enum, some related cleanup in runInputScript and checkExecVerbs
svn-id: r27778
2007-06-29 23:08:15 +00:00
Max Horn
314ef72bb1 SCUMM: Handle all triggers for the debugger console in the same spot, to ensure uniform behavior
svn-id: r27777
2007-06-29 22:39:52 +00:00
Max Horn
328858d454 SCUMM: Moved code for handling KBD_ALT combos (well, really only one: Alt-W) in MI2 to processKeyboard; some cleanup
svn-id: r27776
2007-06-29 22:36:56 +00:00
Paweł Kołodziejski
c88567aa79 added arm assembly from patch #1742112 for codec47. (and really build arm code this time)
svn-id: r27685
2007-06-24 07:02:55 +00:00
Max Horn
1665d158f4 More cleanup
svn-id: r27678
2007-06-23 16:51:06 +00:00
Max Horn
24f080ab56 Cleanup; also fixed Alt-F5 (orig. saveload menu) in COMI
svn-id: r27677
2007-06-23 16:46:00 +00:00
Max Horn
1a07bfb221 Reworked the SCUMM input code even more: Merged various code paths and streamlined stuff; as a consequence, e.g. talkstop works in V0-V2 games, too; but also regressions may turn up. Also don't rely on Common::ASCII_F1 etc. values to compute SCUMM specific key codes
svn-id: r27675
2007-06-23 16:27:28 +00:00
Max Horn
558a28f69d Removing WinCE specific code in ScummEngine_v7::processKeyboard -- it made no sense at all. If this breaks something, please contact me so that we can properly fix it together
svn-id: r27674
2007-06-23 16:07:38 +00:00
Max Horn
f18132f5b8 Simplify code: Since processInput() always overwrite the value of lastKeyHit if KEY_ALL_SKIP is seen, we can never encounter KEY_ALL_SKIP at this spot
svn-id: r27673
2007-06-23 16:05:38 +00:00
Max Horn
4297ccc964 Revised SCUMM's input code. We now fix the keys F5, '.', space, escape for mainmenu, talkstop, pause, cutsceneExit; this simplifies and clarifies the code, and ensures consistent game behavior
svn-id: r27672
2007-06-23 16:02:50 +00:00
Max Horn
dcae6d14a4 Changed the way VAR_VERSION_KEY is handled
svn-id: r27665
2007-06-23 14:16:04 +00:00