Commit Graph

4288 Commits

Author SHA1 Message Date
Filippos Karapetis
178bf76aae The p2_a.iaf file should now be played correctly with the English DOS CD and Floppy versions of ITE. Should fix bug #1751344 - "ITE: p2_a.iaf not played correctly"
svn-id: r28229
2007-07-27 01:59:23 +00:00
Sven Hesse
d6b08fc751 - AJWorld has Adlib
- Fixing languages for one version of Woodruff

svn-id: r28228
2007-07-27 01:41:58 +00:00
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
Filippos Karapetis
6dd6ea5fc7 Fixed some MSVC8 warnings
svn-id: r28225
2007-07-27 00:25:06 +00:00
Filippos Karapetis
f04c56fb69 The meta resource table is now properly initialized for the IHNM demo. The starting chapter is also set correctly
svn-id: r28222
2007-07-27 00:11:36 +00:00
Nicola Mettifogo
2b219db314 Merged archive.cpp into disk.cpp.
svn-id: r28221
2007-07-26 20:22:51 +00:00
Paweł Kołodziejski
f89e907998 added more drascula code (it still NOT WORKING)
svn-id: r28220
2007-07-26 19:52:18 +00:00
Nicola Mettifogo
236634662c Made screen size parameters properties of engine instead of compile-time constants.
svn-id: r28219
2007-07-26 18:30:27 +00:00
Nicola Mettifogo
d3e7e81c8a Dos full version of Big Red Adventure is detected now. The engine crashes immediately afterwards.
svn-id: r28218
2007-07-26 18:23:09 +00:00
Filippos Karapetis
75517ae813 Only queue the IHNM company and title videos in the full version of IHNM, not the demo
svn-id: r28217
2007-07-26 17:13:29 +00:00
Filippos Karapetis
da7d87e410 The demo version of IHNM has 3 font types (like ITE), not 6 (like the full version of IHNM)
svn-id: r28215
2007-07-26 14:39:05 +00:00
Filippos Karapetis
4785ae9cfc Removed some unnecessary file existence checks
svn-id: r28214
2007-07-26 13:26:34 +00:00
Paul Gilbert
cfff436ca7 Added proper room change fading effect
svn-id: r28212
2007-07-26 10:11:31 +00:00
Sven Hesse
872a1ea369 Fixed o1_fillRect() again
svn-id: r28209
2007-07-26 03:29:45 +00:00
Sven Hesse
b644e460aa Corrected Woodruff's hotspot text positions.
svn-id: r28208
2007-07-26 03:17:54 +00:00
Sven Hesse
459868da77 sub0x18 is o2_addCollision().
It already existed in Gob2 (alongside with sub0x19 - o2_freeCollision()), but wasn't used there.
Hotspots and menus work now (in a way)

svn-id: r28207
2007-07-26 01:01:00 +00:00
Sven Hesse
88f265d584 Renamed Inter_Woodruff to Inter_v4
svn-id: r28206
2007-07-25 22:55:00 +00:00
Sven Hesse
3d2c1c5ab8 - Added Inter_Woodruff, alongside with the first Stub (OpcodeFunc 0x18)
- Yet another safety check
- Removed another hard-coded screen height

svn-id: r28205
2007-07-25 21:48:47 +00:00
Sven Hesse
e151167dd8 Some more safety checks and the first room's background can be seen
svn-id: r28204
2007-07-25 21:02:30 +00:00
Sven Hesse
99a707d89e Added a few safety checks. Now Woodruff shows the loading image (closely followed by a crash).
svn-id: r28203
2007-07-25 20:36:14 +00:00
Gregory Montoir
d88354a853 renamed wrongly named parameter
svn-id: r28201
2007-07-25 20:05:35 +00:00
Gregory Montoir
12bec1c494 workaround for bug #1751149 (original game issue).
svn-id: r28200
2007-07-25 20:03:31 +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
Eugene Sandulenko
4f403f4dd3 Use default to 1x scaler for 640x480 games to avoid superbig resolutions.
svn-id: r28197
2007-07-25 16:12:19 +00:00
Eugene Sandulenko
3bafb8cd61 Add A.J's World of Discovery. Compatibility is perfect.
svn-id: r28191
2007-07-25 16:00:23 +00:00
Sven Hesse
3b92867848 Added one (commented out) "The Last Dynasty" MD5
svn-id: r28190
2007-07-25 15:46:13 +00:00
Travis Howell
cf3719d613 Add eriktorbjorn's patch for bug #1498158 - AOGS: Itemheap overflow on 64bit systems.
svn-id: r28189
2007-07-25 11:29:47 +00:00
Sven Hesse
5c588e1f5e Updated loadExtData() for Woodruff. Now the Sierra logo is shown (then it crashes / freezes)
svn-id: r28188
2007-07-25 04:52:12 +00:00
Sven Hesse
7490b935c5 - Removed Adlib from Woodruff's freatures
- Added a fallback for Woodruff

svn-id: r28187
2007-07-25 00:01:31 +00:00
Sven Hesse
e0ead7947d Oops, forgot I've modified the entries for testing
svn-id: r28186
2007-07-24 23:42:07 +00:00
Sven Hesse
09c2ea82de - Separated game type and features
- Added feature constants for a 640x480 resolution and adlib
- Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults

svn-id: r28185
2007-07-24 23:24:40 +00:00
Gregory Montoir
38b282b313 renamed some fields for clarification
svn-id: r28184
2007-07-24 09:53:28 +00:00
Gregory Montoir
9bb903ee6b fixed some issues in pathfinding code
svn-id: r28183
2007-07-24 09:50:24 +00:00
Sven Hesse
d95056ce78 Fixing bug #1749688 ("GOB3: Objects Disappear")
svn-id: r28181
2007-07-24 06:11:38 +00:00
Travis Howell
f4fb06845c Fix regression, the incorrect key was been used for highlighting items in Simon the Sorcerer 1/2.
svn-id: r28179
2007-07-23 12:32:08 +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
Torbjörn Andersson
b16d398eb1 The mixer no longer allows unpausing channels that aren't paused. So don't.
svn-id: r28155
2007-07-21 14:39:12 +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
Filippos Karapetis
a50b03a9fc Some small updates on the IHNM demo
svn-id: r28146
2007-07-19 10:24:34 +00:00
Filippos Karapetis
3ffd5dea2a Some more resource mappings for the IHNM demo
svn-id: r28144
2007-07-19 02:51:36 +00:00
Filippos Karapetis
470dac5f8b IHNM: Correct mapping of the arrow and save reminder sprites for the IHNM demo
svn-id: r28143
2007-07-19 01:28:41 +00:00
Filippos Karapetis
d9932d110a Fix for bug #1754613 - ITE: crashes using compressed audio. The digital music information was missing from the ITE versions that did not originally include digital music
svn-id: r28141
2007-07-19 00:40:11 +00:00
Filippos Karapetis
32c87556de The SFX resource for the IHNM demo is different
svn-id: r28138
2007-07-18 16:14:40 +00:00
Paweł Kołodziejski
40e7b7555b added english and spanish version of drascula detection
svn-id: r28132
2007-07-17 22:29:09 +00:00
Paweł Kołodziejski
d04b653378 added engine stubs code for Drascula game
svn-id: r28130
2007-07-17 21:35:01 +00:00
Filippos Karapetis
a5e6b75edb Re-enabled the 3 entries that can't have menus (KQ3 ST, KQ3 DOS 1.01, SQ1 DOS 1.0X). The ESC key will pause the game in those 3 games
svn-id: r28129
2007-07-17 20:17:28 +00:00
Filippos Karapetis
332f74486e Possible fix for bug 1754613, part 2: changed the way compressed digital music is detected
svn-id: r28127
2007-07-17 18:18:50 +00:00
Filippos Karapetis
5b7df04da9 Possible fix for bug 1754613. It's now possible to have an uncompressed music.rsc file when the rest of the data files are compressed
svn-id: r28126
2007-07-17 18:04:30 +00:00
Neil Millstone
91426f82c6 Porting DS word completion keyboard changes from branch0-10-0.
svn-id: r28125
2007-07-16 22:55:44 +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
Kari Salminen
16529e58e6 Added 3 different Amiga AGI palettes (From oldest to newest). Changed initPalette so its easier to enable the usage of those palettes later.
svn-id: r28114
2007-07-15 21:33:28 +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
11b2806741 Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway)
svn-id: r28110
2007-07-15 18:29:05 +00:00
Max Horn
e07e5eeb1d Added new Mac SCUMM MD5, tracker #1749232
svn-id: r28108
2007-07-15 18:26:21 +00:00
Nicola Mettifogo
2f7f5271ac Refactored selectCharacter so that menu code doesn't need auxiliary buffer kBit2 anymore.
svn-id: r28106
2007-07-15 16:04:34 +00:00
Filippos Karapetis
4594202aaf To loop a music track forever, the number of loops is set to 0
svn-id: r28105
2007-07-15 15:27:42 +00:00
Filippos Karapetis
5fc39e7a30 ITE: looping of compressed digital music is now done by the respective compressed streams themselves
svn-id: r28104
2007-07-15 15:12:24 +00:00
Nicola Mettifogo
9b4cfc5bbe Screen update is no more triggered automatically when performing full screen-size blits on Front buffer. Menu code has been changed accordingly to retain consistency.
svn-id: r28097
2007-07-15 10:10:48 +00:00
Filippos Karapetis
6376321e5a Enabled menus in some old AGI games (released in 1986) which did not have menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed
svn-id: r28095
2007-07-15 06:24:39 +00:00
Filippos Karapetis
198b6ac8e6 ITE: Music looping works now with compressed digital music. However, there's still a small pause when a track restarts
svn-id: r28082
2007-07-15 03:13:15 +00:00
Torbjörn Andersson
af21e132a2 Fixed compilation.
svn-id: r28078
2007-07-14 18:26:43 +00:00
Filippos Karapetis
5aba81d3e7 ITE: Fixed some more incorrect dots on dialog buttons
svn-id: r28077
2007-07-14 18:11:14 +00:00
Filippos Karapetis
a7adb5888c ITE: Fixed some of the incorrectly drawn dots of the menu buttons
svn-id: r28076
2007-07-14 17:39:47 +00:00
Filippos Karapetis
c8a8d806e2 Renamed a variable, so that it makes more sense
svn-id: r28072
2007-07-14 15:09:30 +00:00
Filippos Karapetis
ba3c55cd13 Some more updates for looping of compressed digital music. It's still not working, though
svn-id: r28071
2007-07-14 15:06:06 +00:00
Filippos Karapetis
101dc5cb20 Improved check for the patched sound file used in ITE intro
svn-id: r28070
2007-07-14 14:18:45 +00:00
Filippos Karapetis
009b100094 Cleanup of the digital music code. Now all kinds of music (uncompressed and compressed) are handled by the same class, DigitalMusicInputStream
svn-id: r28069
2007-07-14 13:41:03 +00:00
Filippos Karapetis
9efa640f9c Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"
svn-id: r28064
2007-07-14 03:44:47 +00:00
Nicola Mettifogo
5a85103374 Full screen updates aren't automatic after palette changes anymore now. Traded some code pollution with SPEED!
svn-id: r28061
2007-07-13 20:50:57 +00:00
Filippos Karapetis
355ac5db2f Oops, deactivated the actor debug flag again, which was incorrectly activated in commit #28058
svn-id: r28059
2007-07-13 16:45:11 +00:00
Filippos Karapetis
eedec897f8 Rewrote and greatly simplified the SAGA detector, removing many duplicate and unneeded entries
- Digital music will now always be enabled for all versions if the digital music file is present. The duplicate game entries with and without this file have been removed
- Changed the way compressed sound files are detected. All the duplicate compressed sound entries have been removed
- The Wyrmkeep Windows CD version is now properly distinguished from the DOS CD version
- Unified all the different patch file entries (apart from the Mac patch file entries, which are of a different type). If a patch file is not found, it's ignored

svn-id: r28058
2007-07-13 16:37:37 +00:00
Filippos Karapetis
52f4d0b7d9 Add TODO: music looping does not work with compressed digital music
svn-id: r28056
2007-07-13 16:20:32 +00:00
Johannes Schickel
3e652273cc Some more fixes for Italian fan translation.
svn-id: r28055
2007-07-13 14:22:11 +00:00
Filippos Karapetis
17a4539a65 Renamed a variable, so that it makes more sense
svn-id: r28042
2007-07-12 08:52:07 +00:00
Filippos Karapetis
ec742cb4fd Cleaned up comments
svn-id: r28034
2007-07-11 16:52:56 +00:00
Filippos Karapetis
1b17f2d6a7 Enable menus for Space Quest 1 (PC) 1.1A
svn-id: r28033
2007-07-11 16:49:44 +00:00
Johannes Schickel
24344fe6ce Should fix gui strings in Italian fan translation.
svn-id: r28028
2007-07-11 13:25:21 +00:00
Filippos Karapetis
61d4dda19a Fix for SQ1 Amiga (v 1.2 1986): menus are forced in this version too, like with KQ3 Amiga
svn-id: r28025
2007-07-11 12:28:07 +00:00
Filippos Karapetis
1dfc0614b7 Fix for bug #1751390 in LSL1. When choosing a menu option, an appropriate event is set. If that event is equal to 0x20, it was incorrectly triggered when the space bar key was pressed
svn-id: r28024
2007-07-11 11:46:02 +00:00
Eugene Sandulenko
3f2c527b0e Provide more language.tab file sizes
svn-id: r28023
2007-07-11 11:19:41 +00:00
Filippos Karapetis
994a191858 IHNM: Narrowed down the places where the actors stop being drawn when changing scenes
svn-id: r28022
2007-07-11 03:21:29 +00:00
Filippos Karapetis
0ed332acba Fix for bug #1751344 - "ITE: p2_a.iaf not played correctly"
svn-id: r28018
2007-07-10 23:22:44 +00:00
Torbjörn Andersson
7a7212b9c1 Fixed bug #1751385 ("LSL: Impossible to enter "Number 9""), which was
introduced when migrating to KEYCODE constants. Considering how silly the bug
was, I probably introduced it myself.

svn-id: r28017
2007-07-10 21:24:58 +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
Kari Salminen
6e77abc07f Add Amiga-style menus (FR #657645). Used in Amiga-rendering mode.
svn-id: r28015
2007-07-10 18:32:24 +00:00
Kari Salminen
969df42d01 Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
svn-id: r28014
2007-07-10 18:08:35 +00:00
Torbjörn Andersson
83e038de19 For some reason, AgiTextColor(amigaBlack, _olderAgi? amigaOrange : amigaPurple)
caused a linking error on my computer. Worked around that, and added curly
braces for (IMO) better readability.

svn-id: r28013
2007-07-10 17:41:40 +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
Kari Salminen
b2cae8fe15 Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
svn-id: r28011
2007-07-10 17:04:09 +00:00
Kari Salminen
be23a6e188 Change AgiTextColor's default color to black text on white background.
svn-id: r28010
2007-07-10 15:45:30 +00:00
Kari Salminen
80cdd532bc Add AgiButtonStyle and create correct style according to render mode (Supports PC and Amiga styles).
svn-id: r28009
2007-07-10 15:28:43 +00:00
Johannes Schickel
728fe1ff86 Add md5sum for Italian fan translation of CD version (see fr#1727941 "KYRA: add Italian CD Version to kyra.dat").
svn-id: r28007
2007-07-10 13:25:54 +00:00
Nicola Mettifogo
40905f7ca2 Removed leftover empty function.
svn-id: r28004
2007-07-10 09:30:56 +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
Nicola Mettifogo
945be6e5f2 Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.
svn-id: r27996
2007-07-09 19:19:56 +00:00
Filippos Karapetis
11b43f877d Fix for bug #1742432 - AGI: Engine crashes if no game is detected
svn-id: r27993
2007-07-09 17:39:47 +00:00
Filippos Karapetis
e10a6e6515 Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"
svn-id: r27989
2007-07-09 12:03:53 +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
Travis Howell
705c1e8403 Fix masking crash in Simon the Sorcerer 1 (Floppy DOS Demo), the address and pitch wasn't set for state->surf2.
svn-id: r27985
2007-07-09 02:27:38 +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
Filippos Karapetis
697f945e00 Reverted commit 27948. Cutaways in sfScriptGotoScene are cleared by calling clearcutaway directly again, as calling it using an event does not clear the cutaway when it should (which caused problems in the character selection screen)
svn-id: r27976
2007-07-08 20:46:21 +00:00
Nicola Mettifogo
a641ee4fbe Changed inventory graphics update from synchronous to lazy.
svn-id: r27975
2007-07-08 20:15:43 +00:00
Nicola Mettifogo
d1b9002bb0 Cleanup inventory code.
svn-id: r27974
2007-07-08 19:56:12 +00:00
Nicola Mettifogo
17da12ca07 Oops.
svn-id: r27968
2007-07-08 13:53:56 +00:00
Nicola Mettifogo
3036c37dd8 Yet another fix for broken parsing/displaying of strings. Now quotes are properly considered when they are needed, and ignored when they aren't.
svn-id: r27967
2007-07-08 13:39:23 +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
Johannes Schickel
41989652df Fix for disappearing text in FM-Towns end sequence.
svn-id: r27964
2007-07-08 12:59:00 +00:00
Johannes Schickel
c6c06a922e Little renaming.
svn-id: r27963
2007-07-08 12:50:24 +00:00
Nicola Mettifogo
373cadce5b Finally fixed parsing of labels.
svn-id: r27962
2007-07-08 12:39:39 +00:00
Nicola Mettifogo
a7a62d3c9d Made parseNextToken *really* work this time.
svn-id: r27960
2007-07-08 09:22:08 +00:00
Nicola Mettifogo
cdae0280be Parser is now able to deal with missing quotes at the end of instructions in location scripts.
svn-id: r27959
2007-07-08 08:34:19 +00:00
Nicola Mettifogo
674f2e93c2 Location background sound (different from music) now implemented.
svn-id: r27958
2007-07-08 08:13:32 +00:00
Travis Howell
7a2949dcfc The mouse cursor is shown during dialogues in the Amiga versions (Demo and Multi-lingual).
svn-id: r27955
2007-07-08 02:33:47 +00:00
Nicola Mettifogo
214cbc40f5 Moved SaveLoadChooser class to saveload.cpp and adjusted dependencies.
svn-id: r27954
2007-07-07 19:42:06 +00:00
Nicola Mettifogo
65ac39fb8b Oops. Crappy dump code doesn't belong to global repository.
svn-id: r27950
2007-07-07 15:12:01 +00:00
Nicola Mettifogo
d87e8c81aa DLTA tags in multi-frame images are now supported.
svn-id: r27949
2007-07-07 14:56:30 +00:00
Filippos Karapetis
a43eb567cc Clear the cutaway via an event in sfScriptGotoScene, instead of calling the function directly
svn-id: r27948
2007-07-07 01:11:43 +00:00
Filippos Karapetis
c72633b539 IHNM: Benny will no longer start walking backwards for a bit after talking with the child via the monitor. This glitch occurs with the original interpreter as well
svn-id: r27947
2007-07-07 00:53:16 +00:00
Filippos Karapetis
737216e52e When loading a scene, start showing actors only after the scene background has been shown. This prevents some cases where some actors are shown prematurely before the next scene is loaded (e.g. in IHNM, when entering a chapter, after AM finishes his speech)
svn-id: r27946
2007-07-07 00:36:10 +00:00
Torbjörn Andersson
8e7269a100 Only redraw the save/load dialog when something in it has changed.
svn-id: r27942
2007-07-06 17:50:27 +00:00
Kari Salminen
118181e848 Added data for an Amiga-style busy mouse cursor (An hourglass). Not used yet though.
svn-id: r27941
2007-07-06 16:50:44 +00:00
Filippos Karapetis
3efcdd7a43 Modified ticksToMSec in IHNM, so that it waits for the correct amount of time. Many animations which were not displayed quite right are fixed now, including some small syncing issues with video and sound in some places
svn-id: r27939
2007-07-06 13:21:43 +00:00
Kari Salminen
ceca6a82f1 Added Amiga-style mouse cursor. Used with Amiga-render mode.
svn-id: r27938
2007-07-06 12:53:58 +00:00
Kari Salminen
1332a69b07 Tidied up and simplified AGI mouse cursor management.
svn-id: r27937
2007-07-06 12:42:50 +00:00
Filippos Karapetis
38f3b09e58 IHNM: sf103 is sfQueueMusic. Now, when doing a good/bad deed in IHNM, the music changes correctly
svn-id: r27936
2007-07-06 12:39:00 +00:00
Filippos Karapetis
51458026fe The prisoners at the entrance of the prison in Nimdok's chapter are displayed correctly now
svn-id: r27931
2007-07-05 21:19:47 +00:00
Travis Howell
bb37b9b839 Skip DLTA frames for now, when loading character face data in the Amiga multi-lingual version. To prevent reading past the end of data.
svn-id: r27918
2007-07-05 07:39:53 +00:00
Travis Howell
be61cff6d1 Fix incorrect face frame been shown during dialogs, due to regression in revision 27834.
svn-id: r27917
2007-07-05 06:38:54 +00:00
Filippos Karapetis
8d81d720d3 Implemented the rest of the differences of the sfScriptGotoScene opcode in IHNM
svn-id: r27916
2007-07-05 03:37:23 +00:00
Travis Howell
3c94b096f6 Fix introduction in Amiga multi-lingual version. Specifically characters for the introduction are only available in disk1
svn-id: r27897
2007-07-04 11:17:37 +00:00
Travis Howell
f30142a55c Fix bug #1747154 - SIMON1: Another crash in dwarf cave. Another regression, caused by code cleanup.
svn-id: r27889
2007-07-04 00:58:26 +00:00
Nicola Mettifogo
87594aae73 Changed Dialogue from a typedef for an implicit n-tree of Questions to a plain-vanilla array. This greatly simplify management and doesn't require obscure flagging of tree leaves.
svn-id: r27887
2007-07-03 19:44:31 +00:00
Nicola Mettifogo
e8e2ddc8e6 Some cheap renaming and cleanup.
svn-id: r27886
2007-07-03 19:27:44 +00:00
Neil Millstone
0601dbd31b Optimisation for resource loading in Kyra engine
svn-id: r27875
2007-07-02 23:02:54 +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
Neil Millstone
91648d68e0 Adding hooks for word completion interface on DS port
svn-id: r27871
2007-07-02 22:45:21 +00:00
Neil Millstone
c43f68e554 Fix bug where an object was accessed after it was deleted in cine engine
svn-id: r27870
2007-07-02 22:42:35 +00:00
Neil Millstone
fddc9fb3f6 Memory block sizes for Simon 2 on DS port
svn-id: r27869
2007-07-02 22:41:29 +00:00
Filippos Karapetis
7782ac40b8 Renamed a variable, to avoid confusing it with another variable with the same name
svn-id: r27853
2007-07-02 13:44:29 +00:00
Nicola Mettifogo
99df4dd7e2 Removed special displayBalloonString routine.
svn-id: r27850
2007-07-02 07:32:06 +00:00
Nicola Mettifogo
3a0e0916d6 Fixed glitch: protection code appearing over prompt.
svn-id: r27848
2007-07-02 07:07:47 +00:00
Travis Howell
9a6bf869af Correct typos.
svn-id: r27846
2007-07-02 00:25:15 +00:00
Travis Howell
24b09cdc08 Use warning for that last work around.
svn-id: r27845
2007-07-02 00:22:03 +00:00
Travis Howell
3ef882041b Add work around for possible script bug in Elvira 2.
svn-id: r27844
2007-07-02 00:14:53 +00:00
Travis Howell
d768edcd3a Fix bug #1746107 - Elvira 2: Crash Catacombs lev2.
svn-id: r27842
2007-07-01 23:57:49 +00:00
Travis Howell
3f82a451ef Add cases for using '-' and '+' keys on the keypad too.
svn-id: r27841
2007-07-01 23:45:15 +00:00
Travis Howell
7e83dfd275 Fix bug ##1746094 - Elvira 2: Strange behavior a - counter of P.P.
svn-id: r27839
2007-07-01 23:42:34 +00:00
Max Horn
a14485da5f Fix for bug #1746112 (SCUMM: Crash when pressing SPACE (Pause))
svn-id: r27836
2007-07-01 20:16:24 +00:00
Nicola Mettifogo
89a7005148 Applied new flatBlitCnv and little refactoring to dialogue code.
svn-id: r27834
2007-07-01 19:29:09 +00:00
Nicola Mettifogo
675227e81f Introduced new flatBlitCnv to reduce code duplication.
svn-id: r27833
2007-07-01 19:28:32 +00:00
Max Horn
7bf493939b Fix for bug #1746059 (WEEN: The intro hangs, and sound is corrupted)
svn-id: r27832
2007-07-01 18:40:35 +00:00
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +00:00
Nicola Mettifogo
94fab1c151 Wrapped dialogue functions into a new DialogueManager, and some basic refactoring.
svn-id: r27827
2007-07-01 16:12:21 +00:00
Travis Howell
4f8f14d14e Correct md5 checksum for restart state file in the French DOS version of Elvira 2.
svn-id: r27821
2007-07-01 12:52:46 +00:00
Travis Howell
9353ee6356 Update comment.
svn-id: r27820
2007-07-01 12:47:36 +00:00
Max Horn
e2ad271bd8 Removing non-ASCII chars from source code
svn-id: r27818
2007-07-01 12:47:07 +00:00
Nicola Mettifogo
d2189e7111 Removed some paranoia screen updates. May cause some minor glitches.
svn-id: r27817
2007-07-01 10:07:59 +00:00
Sven Hesse
6a2bbea165 Applying agentq's screenshot loading fix to the trunk as well
svn-id: r27816
2007-07-01 02:01:19 +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
f445d8c800 Changed AGOS to use full KeyState, not just ascii value, in key events
svn-id: r27800
2007-06-30 22:21:29 +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
a6210289f5 AGOS code cleanup
svn-id: r27794
2007-06-30 17:34:49 +00:00
Max Horn
a5352e9a97 Also update menus.cpp with ChildType enum
svn-id: r27793
2007-06-30 16:29:14 +00:00
Max Horn
206d167457 AGOS: Introduced ChildType enum
svn-id: r27792
2007-06-30 16:25:59 +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
Torbjörn Andersson
dd77f8e153 Move the redrawing of dialog windows (options, save, load, ...) so that we do
not redraw it in the middle of changing to a different dialog. This should fix
bug #1745090 ("TOUCHE: Glitch in the menu").

svn-id: r27781
2007-06-30 08:24:36 +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
Kari Salminen
2ff0ffadb8 Oops. An extra comma in the enum list's end. Removed.
svn-id: r27775
2007-06-29 18:41:06 +00:00
Kari Salminen
3a03470caa Set AGI monitor type variable (vMonitor/v26) according to render mode.
svn-id: r27774
2007-06-29 15:58:48 +00:00
Travis Howell
49242a9e34 Fix display of experience in Elvira 2.
svn-id: r27772
2007-06-29 14:55:45 +00:00
Travis Howell
fc373c9544 Fix some scripts failing to start in Elvira 2, due code difference in isCalled opcode.
svn-id: r27770
2007-06-29 02:06:46 +00:00
Max Horn
d35861fc4a Changed GOB to use common/frac.h
svn-id: r27763
2007-06-28 20:09:58 +00:00
Max Horn
675fc8ab71 Whitespace fix
svn-id: r27762
2007-06-28 19:48:41 +00:00
Kari Salminen
1a7b91b7e2 Removed superfluous comment and converted an int to bool conversion to a more usual way.
svn-id: r27757
2007-06-28 14:33:17 +00:00
Filippos Karapetis
7a709b3c79 Added a workaround to prevent the making fire animation from breaking at the beehive scene in ITE
svn-id: r27756
2007-06-28 06:55:00 +00:00
Filippos Karapetis
535f08e022 Added a debug message for game loading
svn-id: r27755
2007-06-28 05:37:55 +00:00
Travis Howell
b939c15f9d Fix compiler warning.
svn-id: r27739
2007-06-27 02:24:19 +00:00
Travis Howell
23426fcea5 Clear any paused OmniTV video, when playing another video. To fix crashes in The Feeble Files, when another video is played between the pause and restart of an OmniTV video.
svn-id: r27737
2007-06-27 01:46:04 +00:00