245 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +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
Filippos Karapetis
137862b00b Add support for compressed digital music in ITE
svn-id: r27734
2007-06-26 23:40:22 +00:00
Filippos Karapetis
9263d7cd6c Remove some unneeded includes
svn-id: r27733
2007-06-26 23:38:21 +00:00
Filippos Karapetis
bf24bff17e Move to the correct file offset when using compressed sounds in ITE
svn-id: r27729
2007-06-26 13:38:24 +00:00
Filippos Karapetis
2c3cbf444a Improvements to the SAGA compressed sound support
svn-id: r27717
2007-06-25 20:20:59 +00:00
Filippos Karapetis
78addd0d66 Put a comment in its correct location
svn-id: r27716
2007-06-25 19:10:50 +00:00
Filippos Karapetis
23c8240048 Add support for compressed sound effects, digital music and speech to the SAGA engine
svn-id: r27713
2007-06-25 18:23:01 +00:00
Filippos Karapetis
057d26e2f3 Added entries for ITE compressed files to the detector. IHNM is not added yet, as it needs more testing
svn-id: r27712
2007-06-25 18:21:40 +00:00
Filippos Karapetis
b85320fa69 Fix MSVC8 warning
svn-id: r27633
2007-06-22 22:14:35 +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
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
Filippos Karapetis
6689a6607b Fix crashes with some savegames in IHNM
svn-id: r27553
2007-06-20 01:45:38 +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
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
Filippos Karapetis
3f5202ea38 Change some regular integers to short integers
svn-id: r27538
2007-06-18 19:56:36 +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
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
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
Eugene Sandulenko
d9abc85fbd An attempt to fix restoring from cutaway. Still not perfect.
svn-id: r27465
2007-06-16 14:06:17 +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
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
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