Commit Graph

4026 Commits

Author SHA1 Message Date
Paul Gilbert
707e62e669 Implemented remaining script methods
svn-id: r27605
2007-06-22 12:31:27 +00:00
Paul Gilbert
5e92ea378f Initial commit
svn-id: r27604
2007-06-22 12:30:18 +00:00
Paul Gilbert
b923618844 Added extra information to some methods, and a new method to show an animation sequence
svn-id: r27603
2007-06-22 12:26:10 +00:00
Torbjörn Andersson
e42da8f24c Use KEYCODE constants.
svn-id: r27600
2007-06-22 09:27:13 +00:00
Torbjörn Andersson
2db2fbfc51 Use KEYCODE constants.
svn-id: r27599
2007-06-22 07:52:53 +00:00
Torbjörn Andersson
245c997260 Use KEYCODE constants.
svn-id: r27597
2007-06-22 07:34:07 +00:00
Torbjörn Andersson
6f655ddbe5 Use KEYCODE constants.
svn-id: r27596
2007-06-21 20:04:10 +00:00
Torbjörn Andersson
b61738b270 Use KEYCODE constants. (Except for '~' which doesn't seem to have one.)
svn-id: r27595
2007-06-21 19:55:22 +00:00
Torbjörn Andersson
db8e5332fc Use the KEYCODE constants.
svn-id: r27593
2007-06-21 19:33:05 +00:00
Torbjörn Andersson
8e2fd2ee73 Fixed freeing of invalid pointer, which would cause Operation Stealth to crash.
I don't know if the loadSet() / loadSetAbs() functions are every used in Future
Wars. If so, we should commit this to the branch as well.

svn-id: r27590
2007-06-21 17:24:27 +00:00
Travis Howell
c42dada465 Revert debug output.
svn-id: r27583
2007-06-21 07:34:54 +00:00
Travis Howell
b4041c450f Add font table for Spanish version of Elvira 2.
svn-id: r27582
2007-06-21 07:34:06 +00:00
Travis Howell
00829f15c8 Minor cleanup.
svn-id: r27580
2007-06-21 06:37:00 +00:00
Travis Howell
d2e7058b59 Fix regressions, due to zoneNum changes.
svn-id: r27579
2007-06-21 05:26:47 +00:00
Travis Howell
64cafa0270 Fix regressions, due to buffer changes and cleanup.
svn-id: r27578
2007-06-21 05:10:42 +00:00
Travis Howell
89b2cf75e2 Use frameBuffer directly, in order to drop extra buffer (frontBuffer) and cleanup code.
svn-id: r27577
2007-06-21 03:14:20 +00:00
Travis Howell
3f5eb0f976 Add Italian DOS version of Elvira 2.
svn-id: r27573
2007-06-21 01:47:00 +00:00
Kari Salminen
c8bbb6140f Add AGI256-2 support (On top of already present AGI256 support).
AGI256-2 means handling 256 color views/sprites (AGI256 means handling 256 color picture resources).
The code can now handle both 16 color and 256 color views/sprites in the same game.
FIXME: Background in AGI256-2 demo may be incorrect.

svn-id: r27572
2007-06-20 23:56:08 +00:00
Kari Salminen
0ebf986a1f Make putPixelsA-function use correct mask (0x0f normally for 16 colors, 0xff for 256 colors in AGI256 mode).
svn-id: r27571
2007-06-20 23:42:38 +00:00
Kari Salminen
dbac0054c1 Make drawing & blitting always use the correct screen
(Always 16 color screen for vector stuff, 256 color screen for everything else in AGI256 mode).

svn-id: r27570
2007-06-20 23:36:59 +00:00
Kari Salminen
d5822afe9e Add AGI256 picture resource loading using AGI command unknown170. Uses parts of patch #1728713.
svn-id: r27569
2007-06-20 23:18:24 +00:00
Kari Salminen
582fa4cdf0 Add AGI256 picture resource decoding support to PictureMgr::decodePicture.
svn-id: r27568
2007-06-20 23:12:38 +00:00
Kari Salminen
ae74b06756 Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
svn-id: r27564
2007-06-20 22:54:51 +00:00
Kari Salminen
9f1ec5cb7a Add AGI256 and AGI256-2 game feature flags to games that use them.
svn-id: r27562
2007-06-20 22:39:14 +00:00
Kari Salminen
8b4b8a95a0 svn-id: r27561 2007-06-20 22:16:18 +00:00
Filippos Karapetis
5624ba23d0 Added a workaround in IHNM for the compact disk in Ellen's chapter
svn-id: r27557
2007-06-20 16:36:29 +00:00
Travis Howell
8f2714cc77 Fix regressions, due to playSpeech() no longer been virtual match.
svn-id: r27556
2007-06-20 14:41:19 +00:00
Filippos Karapetis
6689a6607b Fix crashes with some savegames in IHNM
svn-id: r27553
2007-06-20 01:45:38 +00:00
Travis Howell
61c91cafb9 Cleanup.
svn-id: r27552
2007-06-20 01:01:29 +00:00
Max Horn
b51f2f3212 Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
svn-id: r27548
2007-06-19 22:39:59 +00:00
Travis Howell
ab9b9a1bf3 Cleanup, could cause regressions.
svn-id: r27547
2007-06-19 11:50:22 +00:00
Filippos Karapetis
aeb9668d66 When loading a game from the same chapter as the current chapter in IHNM, the game will now be loaded correctly
svn-id: r27546
2007-06-19 11:41:06 +00:00
Filippos Karapetis
4ffd38a199 When saving the game in IHNM after a chapter point change, the chapter point change music will no longer be incorrectly saved, and the normal chapter music will be saved instead
svn-id: r27545
2007-06-19 11:23:20 +00:00
Travis Howell
fc19079902 Fix masking regressions, caused by dirtyClips code.
svn-id: r27544
2007-06-19 11:12:56 +00:00
Filippos Karapetis
e654381717 IHNM: In chained cutaways, clear the previous cutaway immediately
svn-id: r27543
2007-06-19 10:13:41 +00:00
Filippos Karapetis
8bc226b0e5 The correct music track is now played when loading a game in IHNM. The save/load mechanism in IHNM seems to be working correctly now (although it needs testing), however there are still some graphical glitches with the save/load dialogs. Also, moved some unfinished code for returning to the chapter selection screen to a more appropriate place
svn-id: r27542
2007-06-19 02:42:59 +00:00
Filippos Karapetis
3c424d98cd Removed obsolete comment
svn-id: r27541
2007-06-19 01:41:10 +00:00
Filippos Karapetis
153f325004 More updates for the save/load system in IHNM
svn-id: r27540
2007-06-19 01:37:48 +00:00
Nicola Mettifogo
f6e2c67cbb Mouse is now properly hidden during dialogues, and is restored after load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning.
svn-id: r27539
2007-06-18 20:11:49 +00:00
Filippos Karapetis
3f5202ea38 Change some regular integers to short integers
svn-id: r27538
2007-06-18 19:56:36 +00:00
Travis Howell
f95c8450cb Fix line wrapping of text in Elvira 2.
svn-id: r27522
2007-06-18 10:57:50 +00:00
Travis Howell
71f2f4f6bd Fix bug #1738870 - Elvira1: Glitch after opening a sarcophagus.
svn-id: r27520
2007-06-18 09:07:03 +00:00
Travis Howell
f0581bab4a Fix bugs #1738867 and #1738872, the code for clearing the effects of fire wall and ice wall spells was always enabled.
svn-id: r27516
2007-06-18 06:12:54 +00:00
Eugene Sandulenko
e477ca37b3 Normalize event names.
svn-id: r27513
2007-06-17 16:21:05 +00:00
Filippos Karapetis
6dc0a1b234 Some more updates for saving/loading in IHNM
svn-id: r27512
2007-06-17 15:45:09 +00:00
Torbjörn Andersson
2a7c76d4e4 Added support for FLAC encoded music in Broken Sword 1. (The compression tool
knows nothing about this, and since they're being rewritten as part of the SoC,
I'm not going to do anything about that.)

svn-id: r27511
2007-06-17 14:50:49 +00:00
Filippos Karapetis
65a39ab0d0 Some updates on the save/load system in IHNM. It still needs work, though
svn-id: r27505
2007-06-17 02:59:56 +00:00
Filippos Karapetis
3c24b118b4 Fixed the remaining glitch with fading after a cutaway is shown
svn-id: r27504
2007-06-17 01:50:49 +00:00
Eugene Sandulenko
f7b28b95ad More efforts to implement proper fade after cutaway. One little glitch is left.
svn-id: r27502
2007-06-17 01:00:06 +00:00
Chris Apers
546fcc6195 Fixed invalid read from odd address in some cases (Gob1 EGA on PalmOS)
svn-id: r27487
2007-06-16 20:30:32 +00:00
Torbjörn Andersson
fe8a7163cd Try to be more robust/paranoid when reading the SAVEGAME.INF file. Apart from
being a sensible precaution, it should work around some bugs like #1737801,
where the file is obviously corrupted. (Possibly mutilated by some file
transfer program.)

svn-id: r27484
2007-06-16 19:27:05 +00:00
Filippos Karapetis
e080f49397 Options button is now working in the character selection screen in IHNM
svn-id: r27480
2007-06-16 19:11:55 +00:00
Filippos Karapetis
77acf1bd38 Silence MSVC8 warning
svn-id: r27475
2007-06-16 17:55:45 +00:00
Max Horn
c7c2cb498c Simplified LURE detection code a little bit
svn-id: r27466
2007-06-16 16:44:33 +00:00
Eugene Sandulenko
d9abc85fbd An attempt to fix restoring from cutaway. Still not perfect.
svn-id: r27465
2007-06-16 14:06:17 +00:00
Travis Howell
f4518cd344 The codes difference when selecting character, only applies to the Amiga multi-lingual version.
svn-id: r27464
2007-06-16 11:45:40 +00:00
Nicola Mettifogo
9b62d2a6ea Fixed - embarrassing - broken password check.
svn-id: r27463
2007-06-16 11:43:07 +00:00
Travis Howell
5b7d2d2f10 Add code difference in Amiga versions, when selecting character.
svn-id: r27462
2007-06-16 11:35:29 +00:00
Nicola Mettifogo
860f9613b5 Made language selection screen policy clearer.
svn-id: r27461
2007-06-16 11:28:07 +00:00
Nicola Mettifogo
d3ced30c81 Fixed regression: crash when loading objects on Amiga.
svn-id: r27460
2007-06-16 11:22:23 +00:00
Travis Howell
987aaa6d81 Reduce code duplication.
svn-id: r27459
2007-06-16 11:13:36 +00:00
Travis Howell
ae3a2b70fb Fix quit command failing in certain locations (ie character/language selection) for now.
svn-id: r27458
2007-06-16 10:47:27 +00:00
Travis Howell
e8b89bcca1 Update comment.
svn-id: r27446
2007-06-16 08:56:50 +00:00
Filippos Karapetis
332a2e23d8 IHNM: Implemented cutaway fadeout
svn-id: r27445
2007-06-16 08:53:46 +00:00
Filippos Karapetis
fb1a6fcbc2 Enable the options panel during chapter selection in IHNM. The icon is not yet functional during chapter selection, but the keyboard shortcuts work
svn-id: r27443
2007-06-16 08:27:53 +00:00
Travis Howell
ab1b2e04a9 Remove code to skip frames in the Amiga demo again, as it fixes Honest Chan not appearing correctly.
svn-id: r27442
2007-06-16 06:36:16 +00:00
Travis Howell
4362692684 Add GF_LANG_MULT game flag, for detecting differences between the two Amiga versions.
svn-id: r27441
2007-06-16 02:43:31 +00:00
Filippos Karapetis
ce8a015c1c Rewrote the cutaway initialization part
svn-id: r27440
2007-06-16 02:38:17 +00:00
Filippos Karapetis
edce894414 Fixed chained cutaways in IHNM. Ben's chapter is completable now
svn-id: r27439
2007-06-16 01:59:04 +00:00
Filippos Karapetis
b37161bafd IHNM: Added a temporary workaround for the nightfall scene in Ben's chapter
svn-id: r27438
2007-06-16 01:58:03 +00:00
Nicola Mettifogo
85ce1d85ca All known versions of Nippon Safes are now enabled with all features except for half-brite effects. Please keep an eye out for regression.
svn-id: r27437
2007-06-15 21:40:02 +00:00
Chris Apers
26a6c42b8f Fixed wrong file included
svn-id: r27433
2007-06-15 20:38:55 +00:00
Filippos Karapetis
5e587fde8e Clear the forced text flag if it's set when a speech with forced text finishes. Now, ScummVM won't wait forever when talking to an actor after using the computer screen in the elder's screen at Ben's chapter in IHNM
svn-id: r27428
2007-06-15 18:28:44 +00:00
Max Horn
fdafdbbe9c Made Engine_SCUMM_gameIDList use the convenient GameList(PlainGameDescriptor *) constructor
svn-id: r27427
2007-06-15 17:44:06 +00:00
Max Horn
a0983ff7bb Changed SCUMM engine to use findDescriptionFromGameID, Common::ADObsoleteGameID and Common::AdvancedDetector::findGameID
svn-id: r27426
2007-06-15 17:40:59 +00:00
Max Horn
d6e47d5fd3 ADV detector: Refactored findGameID() a bit, making it possible to use it outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs
svn-id: r27424
2007-06-15 17:36:41 +00:00
Filippos Karapetis
e6fe560ad1 IHNM no longer crashes during character selection if the mouse cursor is over a character before AM finishes his speech
svn-id: r27418
2007-06-15 16:26:14 +00:00
Travis Howell
021a66a0ab More adjustments for Amiga version.
svn-id: r27417
2007-06-15 14:39:57 +00:00
Travis Howell
6c3a81cd4e More adjustments for Amiga version.
svn-id: r27416
2007-06-15 14:28:14 +00:00
Travis Howell
f8b030991d When selecting language, ignore request for language that doesn't exist.
svn-id: r27414
2007-06-15 06:30:44 +00:00
Travis Howell
ef14ab45df Another adjustment for Amiga version.
svn-id: r27413
2007-06-15 04:22:21 +00:00
Travis Howell
e5c1149cde Enable language screen in Amiga version.
svn-id: r27412
2007-06-15 04:15:41 +00:00
Travis Howell
388b8689a6 Add basic support for Amiga version.
svn-id: r27411
2007-06-15 04:05:57 +00:00
Filippos Karapetis
4f8f854ee6 Forced text is now handled correctly. It's now possible to interact with the video screen in the elder's cave
svn-id: r27410
2007-06-15 03:58:21 +00:00
Filippos Karapetis
3b78d79ec0 The frame count should be updated when the background frame is shown in a cutaway
svn-id: r27409
2007-06-15 03:16:06 +00:00
Filippos Karapetis
cb15724147 It's normal for cutaways to only have 1 frame
svn-id: r27408
2007-06-15 02:29:08 +00:00
Filippos Karapetis
708e006059 Added another console command for IHNM
svn-id: r27405
2007-06-14 23:42:39 +00:00
Filippos Karapetis
16a6dc45c0 Added several console commands for SAGA. Also, fixed a regression in the IHNM introduction caused by commit #27357. Finally, animation IDs are checked for validity now, so ScummVM won't try to play invalid animations
svn-id: r27404
2007-06-14 23:28:30 +00:00
Max Horn
ac1eea6265 Fixed warning about signedness issues
svn-id: r27402
2007-06-14 17:11:09 +00:00
Eugene Sandulenko
4d4cd489f5 Patch #1735773: "WAG file parsing patch to AGI's fallback detector".
Slightly modified, split into separate files.

svn-id: r27401
2007-06-14 12:06:12 +00:00
Nicola Mettifogo
24daa86bdd oops wrong platform.
svn-id: r27398
2007-06-14 10:12:25 +00:00
Filippos Karapetis
585e0781dd SAGA: Added sanity checks for speech box coordinates, like the original. Now, there won't be missing subtitles in certain scenes
svn-id: r27397
2007-06-14 04:22:23 +00:00
Filippos Karapetis
99c65ce24d IHNM: Button texts are read from the game data files, instead of the hardcoded ITE strings. The IHNM-specific strings have been removed from the ITE hardcoded strings. Also did some cleanup
svn-id: r27396
2007-06-13 22:23:12 +00:00
Max Horn
8103903935 Removed redundant code
svn-id: r27393
2007-06-13 20:41:47 +00:00
Filippos Karapetis
5b395c7397 Moved a check for game type after engine initialization
svn-id: r27390
2007-06-13 20:13:06 +00:00
Nicola Mettifogo
607b2f3476 Added full version of Nippon Safes for Amiga (EN/FR/DE) to detector.
svn-id: r27389
2007-06-13 20:00:39 +00:00
Filippos Karapetis
0d4a3c28d9 IHNM: Button textures are loaded correctly now for buttons in the option and quit panel. Also, implemented the voices/subtitles toggle functionality and fixed widget placement a bit
svn-id: r27388
2007-06-13 19:41:27 +00:00
Filippos Karapetis
7af7e3f192 Fix the quit panel in IHNM
svn-id: r27387
2007-06-13 15:31:45 +00:00
Max Horn
cbb378de1f Some cleanup to the pred.dic AGI code
svn-id: r27386
2007-06-13 13:26:46 +00:00
Filippos Karapetis
8565809552 IHNM: Fixed sfSetSpeechBox, now the dialog of Nimdok and Mengele will show up correctly. Also, done some preliminary work on sfScriptGotoScene and changeScene to return to the character selection screen, but it's not right yet
svn-id: r27385
2007-06-13 13:00:25 +00:00
Kostas Nakos
a0cd025a16 implement predictive dictionary using ascii based operations, replacing the 10ary tree
svn-id: r27383
2007-06-13 12:48:14 +00:00
Filippos Karapetis
ee78a7427b Fixed several colors and fonts in IHNM
svn-id: r27382
2007-06-12 22:47:12 +00:00
Filippos Karapetis
5db4ab48bc Corrected actor walk speed when exiting from zones in IHNM
svn-id: r27379
2007-06-12 20:36:08 +00:00
Filippos Karapetis
110db592c0 Make keys 5-9 work during dialogs in IHNM
svn-id: r27378
2007-06-12 19:45:39 +00:00
Filippos Karapetis
5dc568e7a7 Fix for #1733238 - FW: crash in copier room
svn-id: r27376
2007-06-12 12:49:07 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +00:00
Travis Howell
12c9fb0382 Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble Files.
svn-id: r27371
2007-06-12 06:08:47 +00:00
Filippos Karapetis
9c07235a93 Auto-use no-walk hitzones in IHNM, like the original. This fixes the pathfinding problems in Benny's chapter
svn-id: r27370
2007-06-12 01:30:15 +00:00
Travis Howell
138d4335d7 Fix crash regressions in The Feeble Files, due to _currentTable not been set.
svn-id: r27369
2007-06-12 00:52:13 +00:00
Travis Howell
860f13e4e4 Fix restoring screen, after spell wall effects in Elvira 1/2.
svn-id: r27359
2007-06-11 13:26:32 +00:00
Filippos Karapetis
5e49fb7bc7 Make sure the waiting thread stops waiting after an animation in IHNM. Ellen's path is completable now
svn-id: r27358
2007-06-11 12:39:44 +00:00
Filippos Karapetis
daff536420 The waiting thread will no longer wait forever for some videos to finish in IHNM
svn-id: r27357
2007-06-11 12:14:06 +00:00
Filippos Karapetis
2084bd4610 When using some items in IHNM, it was possible that the verb would incorrectly change from "use" to "use with" (e.g. the jukebox in the honky-tonk). This has been fixed
svn-id: r27356
2007-06-11 12:12:59 +00:00
Travis Howell
c9f1dea6b0 Restrict workaround, to prevent regression when inverting conversation responses in scrolling locations.
svn-id: r27340
2007-06-11 06:19:33 +00:00
Filippos Karapetis
7ab15fa3c9 Implemented Scene::RestoreScene and fixed some animation bugs. Animations and videos in IHNM should display correctly now
svn-id: r27338
2007-06-11 02:30:04 +00:00
Filippos Karapetis
7522d4ea51 Fix for stacked objects in IHNM. It is now possible to interact with the chalk in Ted's chapter
svn-id: r27337
2007-06-11 01:22:45 +00:00
Eugene Sandulenko
1cbcf395a6 Move hardcoded predictive dictionary name to config manager.
svn-id: r27315
2007-06-10 15:21:19 +00:00
Filippos Karapetis
0da6062bb2 Remove obsolete testing code
svn-id: r27306
2007-06-10 11:51:33 +00:00
Travis Howell
79c30552ca Don't call getNextItemPtr(), when the result is simply ignored.
svn-id: r27305
2007-06-10 11:08:12 +00:00
Travis Howell
82cf767d97 An OmniTV cutscene pack, with be provided for Amiga and Macintosh versions of The Feeble Files.
svn-id: r27300
2007-06-10 09:07:23 +00:00
Torbjörn Andersson
08379fb74b Fixed the opcode number for opp_iconifyWindow(). Regression from cleanup?
svn-id: r27295
2007-06-10 08:48:17 +00:00
Travis Howell
0a11c241d5 Fix muting music on startup in games, when using non-MIDI music.
svn-id: r27284
2007-06-10 06:08:59 +00:00
Travis Howell
3cd6c3c275 Fix toggling music on/off in games, when using non-MIDI music.
svn-id: r27282
2007-06-10 05:43:56 +00:00
Travis Howell
60a8c969f7 Restore DIMP specific timer code.
svn-id: r27277
2007-06-10 04:36:44 +00:00
Travis Howell
2d2bda501e Fix timer code in Puzzle Pack, to match original speed.
svn-id: r27275
2007-06-10 04:14:53 +00:00
Filippos Karapetis
a121e4ce05 Fixed an incorrect check in Script::finishDialog
svn-id: r27274
2007-06-10 03:21:16 +00:00
Travis Howell
55addca7ff Fix load/save regression in Puzzle Pack.
svn-id: r27272
2007-06-10 02:23:13 +00:00
Travis Howell
741aed5047 Fix crash via assert, when string for subtitles exists, but is only set to zero.
svn-id: r27270
2007-06-10 01:16:29 +00:00
Travis Howell
574f687c85 Fix adjusting music volume in Puzzle Pack games.
svn-id: r27269
2007-06-10 01:08:15 +00:00
Travis Howell
8dc7accf2d Fix single sound effect, failing to play multiple times regression, caused by changes for PP in the past.
svn-id: r27267
2007-06-10 01:05:55 +00:00
Filippos Karapetis
3fd5347421 Fixed conversations in IHNM. Now, when a dialog option is selected, the protagonist will say it out properly before we hear the other character's reply. Also, added some more code for sfScriptFade and made it a stub for now, as it still needs work
svn-id: r27264
2007-06-10 00:36:01 +00:00
Andrew Kurushin
86f6aaf206 fix IHNM protagonist state loading routine. now Ellen's animations are showing well
svn-id: r27263
2007-06-09 22:45:03 +00:00
Max Horn
a7e0fbe1a8 Fix for bug #1734064 (FOA: Speech volume can not be set) -- we played speech as SFX, not speech, in many SCUMM games
svn-id: r27253
2007-06-09 18:09:12 +00:00
Sven Hesse
ac0c380268 Fixing scrolling issue in "IDOL"-screen (bug #1734007)
svn-id: r27248
2007-06-09 13:32:31 +00:00
Kostas Nakos
1243fc1145 oops
svn-id: r27246
2007-06-09 11:07:23 +00:00
Nicola Mettifogo
bc727771a6 Silenced warning on WinCE.
svn-id: r27236
2007-06-09 09:25:18 +00:00
Travis Howell
80bf4126a1 Fix position of name text in Hebrew versions.
svn-id: r27234
2007-06-09 08:58:18 +00:00
Travis Howell
037e545dc1 Fix gltich when listing saved games in Hebrew versions.
svn-id: r27229
2007-06-09 07:48:27 +00:00
Travis Howell
48601a4e70 Clarify purpose of the endRepeat opcude, used by video script.
svn-id: r27228
2007-06-09 06:17:04 +00:00
Travis Howell
14aa27c477 Add dirtyClips code for Simon the Sorcerer 1/2.
svn-id: r27227
2007-06-09 05:30:20 +00:00
Filippos Karapetis
4ae78ea22d Silence some unneeded warnings, remove some unneeded test code from Actor::getActorFrameRange, as the function is the same in both ITE and IHNM
svn-id: r27226
2007-06-09 01:33:58 +00:00
Andrew Kurushin
78cf024351 fix IHNM pathfinding engine. now TED(Chapter 5) interacts with the books properly
svn-id: r27225
2007-06-08 23:33:35 +00:00
Johannes Schickel
b9d77d2d40 Fix crash when closing Kyrandia demo.
svn-id: r27223
2007-06-08 23:04:13 +00:00
Torbjörn Andersson
059ba7326c Fixed some Valgrind warnings (overlapping source and destination in strcpy()).
svn-id: r27207
2007-06-08 19:29:48 +00:00
Lars Persson
a3e8f765a6 Updated Symbian OS Prediction handling
Updated AGI to only enable predictive input after dictionary was found.

svn-id: r27206
2007-06-08 18:09:24 +00:00
Filippos Karapetis
1255681d0d IHNM never sets scriptModuleNumber to 0 in Script::doVerb(). Now, all items will have the correct script assigned to them (e.g. the fruit at the fruit tree screen in Benny's chapter, the icon in the chapel in Ted's chapter etc)
svn-id: r27203
2007-06-08 14:45:25 +00:00
Travis Howell
de1da3af5d Add details for Hebrew Windows versions of Freddi Fish 3 and Pajama Sam 2 demos.
svn-id: r27199
2007-06-08 10:52:42 +00:00
Travis Howell
a816397cd1 Add prefixes used by Hebrew Windows verison of Freddi Fish 3 and Pajama Sam 2 demos.
svn-id: r27198
2007-06-08 10:46:40 +00:00
Travis Howell
95fe36a828 Don't save game, when no saved game name is given in earlier games.
svn-id: r27195
2007-06-08 08:40:23 +00:00
Kostas Nakos
b59f4be4d1 adding navigation with arrow keys and enter; did away with some ugly gotos
svn-id: r27193
2007-06-08 08:12:18 +00:00
Travis Howell
fff80bc489 Fix load/save interface in Elvira 1.
svn-id: r27191
2007-06-08 07:50:28 +00:00
Travis Howell
c03fe8e8cf Fix window scrolling in earlier games.
svn-id: r27183
2007-06-08 02:18:22 +00:00
Travis Howell
56a7a29c42 Fix inventory arrows still been shown in Elvira 1, when inventory is removed.
svn-id: r27181
2007-06-08 01:47:29 +00:00
Filippos Karapetis
a9b81750cf Also include this file for the last commit
svn-id: r27180
2007-06-07 23:39:31 +00:00
Filippos Karapetis
90d840de45 Implement more Actor::calcScreenPosition differences for IHNM
svn-id: r27179
2007-06-07 23:37:32 +00:00
Filippos Karapetis
d52cb6c62b Fixed video display and removed a hack for it
svn-id: r27173
2007-06-07 15:49:12 +00:00
Filippos Karapetis
ed8bd9494a Fixed regression: panel mode should be set to video at the beginning of IHNM
svn-id: r27172
2007-06-07 15:47:47 +00:00
Travis Howell
bb476586b7 Fix inventory arrows in Elvira 1.
svn-id: r27170
2007-06-07 15:42:59 +00:00
Filippos Karapetis
7e29cf35de Limited frame count hack to apply to videos only
svn-id: r27167
2007-06-07 12:39:38 +00:00
Filippos Karapetis
7bd240ea8f Implemented video playing for IHNM (still needs work). Also, updated a comment regarding the intro
svn-id: r27166
2007-06-07 12:11:33 +00:00
Travis Howell
3f819b9085 Add details for French and German Amiga versions of Elvira 1. Remove restart state from Elvira 1 detection, due to two byte difference in the restart state on each disk of Amiga versions.
svn-id: r27164
2007-06-07 09:37:22 +00:00
Travis Howell
6db23fa056 Fix invalid writes in the Amiga demo of Elvira 1, caused by video window 20 using larger height.
svn-id: r27162
2007-06-07 04:08:55 +00:00
Travis Howell
a18357580b Fix memory leaks on when quiting game.
svn-id: r27160
2007-06-07 02:51:09 +00:00
Travis Howell
f0acfc0a28 Limit MIDI driver, to games using MIDI music only.
svn-id: r27158
2007-06-07 02:43:03 +00:00
Travis Howell
8bcf073444 Fix non-MIDI music still playing, when the game is paused.
svn-id: r27156
2007-06-07 01:54:35 +00:00
Travis Howell
bcd4dfb86a Fix incorrect position of characters in Elvira 2, caused by column offset difference in clearWindow.
svn-id: r27154
2007-06-07 00:54:17 +00:00
Travis Howell
cd73da05cc Add case for font data in Italian versions of earlier games too.
svn-id: r27152
2007-06-07 00:24:23 +00:00
Travis Howell
06aa0fb25e Fix pausing sound effects in earlier games.
svn-id: r27150
2007-06-06 23:48:07 +00:00
Travis Howell
2fd518ff73 Add Italian Amiga version of Elvira 2.
svn-id: r27148
2007-06-06 23:39:18 +00:00
Travis Howell
0eb630d989 Fix glitches when highlighting saved game names in Elvira 2 and Waxworks, caused by incorrect position of characters.
svn-id: r27146
2007-06-06 23:33:31 +00:00
Filippos Karapetis
9b14f5faed Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes
svn-id: r27145
2007-06-06 19:46:10 +00:00
Filippos Karapetis
5d46606bb0 Fixed the parameter order in sfScriptFade
svn-id: r27143
2007-06-06 18:09:52 +00:00
Filippos Karapetis
00dac8c10f Implemented the sfScriptFade opcode
svn-id: r27142
2007-06-06 18:04:25 +00:00
Filippos Karapetis
a6c476b292 Added palette fading in playCutaway()
svn-id: r27141
2007-06-06 18:02:33 +00:00
Filippos Karapetis
a265844351 Added sanity checks for hitzones in SAGA, after discussing with h00ligan and sev. Removed a hack for IHNM which is not needed anymore and removed a redundant check for zero object types
svn-id: r27140
2007-06-06 16:37:10 +00:00
Travis Howell
44d98de023 Fix glitches when highlighting words in Elvira 2, the characters were drawn at the incorrect location, due to difference in column offset used for new lines.
svn-id: r27138
2007-06-06 13:59:04 +00:00
Eugene Sandulenko
7151050fc0 oops. MAX -> MIN to prevent memory overwrite.
svn-id: r27137
2007-06-06 13:35:41 +00:00
Eugene Sandulenko
603ef86894 Fix potential memory overwrite here too.
svn-id: r27134
2007-06-06 13:29:27 +00:00
Eugene Sandulenko
99d2736c9d Fix potential memory overwrite
svn-id: r27132
2007-06-06 13:25:48 +00:00
Travis Howell
5e62538708 Fix the Unholy Barrier spell effect in Elvira 2.
svn-id: r27130
2007-06-06 10:41:27 +00:00
Travis Howell
0a7c2b66b3 Fix crash, when the hitarea array overflows in the Amiga demo of Elvira 1.
svn-id: r27128
2007-06-06 05:54:03 +00:00
Travis Howell
c8259673b7 Fix possible crash issue, if music volume was set by 3DO versions of HE games.
svn-id: r27125
2007-06-06 03:38:45 +00:00
Filippos Karapetis
735530bdc8 Implemented differences in Actor::calcScreenPosition for IHNM. Now the stitching on the second floor of the zeppelin and the whiskey in the honky-tonk are shown correctly
svn-id: r27124
2007-06-06 00:56:29 +00:00
Filippos Karapetis
b82e88638b Properly implemented the converse panel in IHNM (though the colors are still wrong)
svn-id: r27123
2007-06-06 00:52:46 +00:00
Filippos Karapetis
55607e9c99 Fix regression caused by commit #27108
svn-id: r27122
2007-06-06 00:51:07 +00:00
Travis Howell
248d527a56 Avoid compiler warnings.
svn-id: r27118
2007-06-05 22:38:43 +00:00
David Corrales
3b96c7fad5 Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.

svn-id: r27113
2007-06-05 21:02:35 +00:00
Filippos Karapetis
ab6fb8e9c3 Filtering specific verbs is used in ITE, but not in IHNM. It's now possible to use the jukebox in the honky-tonk in IHNM
svn-id: r27110
2007-06-05 16:31:58 +00:00
Filippos Karapetis
158193fe51 Add the hack for the staircase in the zeppelin in IHNM once more, apparently the cause for it is different than what I thought
svn-id: r27109
2007-06-05 16:29:15 +00:00
Filippos Karapetis
2f033e7a4c Check if a zone type is NULL for both ITE and IHNM, as it's done in the original. This fixes the crash in IHNM when entering the second floor of the zeppelin and the crash in ITE when interacting with the bowl in the tunnel, outside the prison. Removed the two relevant hacks
svn-id: r27108
2007-06-05 15:04:25 +00:00
Filippos Karapetis
95821c97ee Inventory and conversation arrows are working correctly now in IHNM
svn-id: r27107
2007-06-05 13:19:47 +00:00
Travis Howell
f11c51f487 Fix background of pause options in Amiga and AtariST of Elvira 1.
svn-id: r27106
2007-06-05 12:32:43 +00:00
Nicola Mettifogo
df324b90d8 Fixed crash on exit (bug #1726185).
svn-id: r27105
2007-06-05 11:49:01 +00:00
Travis Howell
ce903d557a Add option to dump all subrountines in a game, to help with bug reports.
svn-id: r27104
2007-06-05 11:46:39 +00:00
Travis Howell
56cde56d4b Fix input issues in earlier games, and split handleMouseMoved() due to difference in earlier games.
svn-id: r27103
2007-06-05 11:38:26 +00:00
Travis Howell
3547c13e49 Updates, to keep Amiga demo of Elvira 1 working.
svn-id: r27102
2007-06-05 09:14:59 +00:00
Travis Howell
de82682071 Update sound ranges in debugger, for earlier games.
svn-id: r27101
2007-06-05 09:13:42 +00:00
Travis Howell
06d9b8ea39 Fix palette glitches on printScroll background, during many scenes in Eivira 1.
svn-id: r27100
2007-06-05 08:48:30 +00:00
Travis Howell
1304f53af1 Add workaround for the scrolling glitch in The Feeble Files, the occurs when the repair man comes to fix the car.
svn-id: r27099
2007-06-05 06:43:53 +00:00
Travis Howell
83797aa33a Trigger palette update, when setting the mouse palette in Elvira 2 and Waxworks.
svn-id: r27098
2007-06-05 06:05:28 +00:00