Filippos Karapetis
3ce737eb2a
Cleanup
...
svn-id: r28748
2007-08-26 15:57:30 +00:00
Filippos Karapetis
d282f32604
Cleanup
...
svn-id: r28747
2007-08-26 15:08:44 +00:00
Filippos Karapetis
6358d6bb07
One more place where music for chapter 6 shouldn't be played for now
...
svn-id: r28745
2007-08-26 05:03:59 +00:00
Filippos Karapetis
a6048447fc
Don't play a music track when loading a saved game from chapter 6 in IHNM for now either, until the cause for the incorrect music table for that chapter is found
...
svn-id: r28744
2007-08-26 03:32:18 +00:00
Filippos Karapetis
c51fb71f05
The music table loaded for chapter 6 (final chapter) in IHNM is problematic, so don't load any music for that chapter until the cause is found
...
svn-id: r28743
2007-08-26 03:24:39 +00:00
Filippos Karapetis
5e8a4a1425
The character selection screen shown when all the 5 protagonist chapters are completed is now functional
...
svn-id: r28742
2007-08-26 03:22:52 +00:00
Filippos Karapetis
f7439d884e
Implemented some differences of IHNM in sfScriptDoAction. Now, some actions on objects (like using the sarcophagus in Ellen's chapter) are done correctly
...
svn-id: r28740
2007-08-26 01:29:35 +00:00
Filippos Karapetis
b7f7c8683f
Games saved in the character selection screen should work correctly now
...
svn-id: r28739
2007-08-26 00:45:07 +00:00
Filippos Karapetis
40ec12f64e
Added a temporary workaround for an issue with animations
...
svn-id: r28738
2007-08-25 23:46:04 +00:00
Filippos Karapetis
8493c06d1d
Always reset an animation when it's done playing
...
svn-id: r28737
2007-08-25 23:29:53 +00:00
Filippos Karapetis
7534944c83
Removed the showactors flag and substituted it with RF_DISABLE_ACTORS
...
svn-id: r28736
2007-08-25 23:19:55 +00:00
Filippos Karapetis
9f8b0884fa
Fixed a regression
...
svn-id: r28733
2007-08-25 19:59:07 +00:00
Filippos Karapetis
71ce45faa0
Reset the protagonist's portrait when a chapter ends
...
svn-id: r28732
2007-08-25 19:33:25 +00:00
Filippos Karapetis
30a82f1879
When sfMainMode is set, overwrite the stored panel mode
...
svn-id: r28731
2007-08-25 19:21:43 +00:00
Filippos Karapetis
79eb157fef
The palette is set correctly now when chapter points change and a cutaway is up
...
svn-id: r28730
2007-08-25 18:24:32 +00:00
Filippos Karapetis
3d823b250b
Properly limit the save title size in IHNM
...
svn-id: r28728
2007-08-25 17:10:31 +00:00
Filippos Karapetis
c6292050a5
Only close patch files for ITE, not IHNM
...
svn-id: r28726
2007-08-25 16:44:44 +00:00
Filippos Karapetis
57ee1e15be
Stop showing actors before a scene's background is shown. Removed a relevant hack
...
svn-id: r28725
2007-08-25 16:02:48 +00:00
Filippos Karapetis
5ec8ee1907
Added skeleton code for kActorEvent
...
svn-id: r28724
2007-08-25 16:01:42 +00:00
Filippos Karapetis
4afe739687
The intro of IHNM is shown correctly now
...
svn-id: r28723
2007-08-25 16:00:50 +00:00
Filippos Karapetis
433105141b
Some more fixes to Gfx::palFade. Benny's nightfall scene is shown correctly now
...
svn-id: r28722
2007-08-25 13:13:03 +00:00
Filippos Karapetis
05ba86577e
Added a note on mouse right button action for IHNM
...
svn-id: r28721
2007-08-25 13:01:22 +00:00
Filippos Karapetis
b68f2532c5
Converse arrows scroll the conversation options correctly now
...
svn-id: r28720
2007-08-25 12:49:03 +00:00
Filippos Karapetis
41ee693710
Inventory arrows scroll the inventory correctly now
...
svn-id: r28719
2007-08-25 12:38:35 +00:00
Filippos Karapetis
2bfc4466df
Some more fixes to Gfx::palFade
...
svn-id: r28710
2007-08-24 15:32:05 +00:00
Filippos Karapetis
e156f0ff87
The frame count needs to be updated for cutaways without an animation bit as well. Removed a hack for the nightfall scene in Benny's chapter
...
svn-id: r28709
2007-08-24 13:40:03 +00:00
Filippos Karapetis
3a761c8acd
Oops, fixed a regression introduced with the latest code cleanup
...
svn-id: r28708
2007-08-24 12:43:56 +00:00
Filippos Karapetis
84d2dda5ed
Code cleanup for the IHNM demo
...
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
ef7c66893a
Updated some comments
...
svn-id: r28706
2007-08-24 11:44:18 +00:00
Filippos Karapetis
f48ce0d821
Some more updates to Gfx::palFade (not finished yet, though)
...
svn-id: r28705
2007-08-24 11:37:58 +00:00
Filippos Karapetis
65c390cbfc
Clearcutaway now sets the scene's palette. Removed two workarounds for the IHNM demo
...
svn-id: r28704
2007-08-24 11:35:59 +00:00
Filippos Karapetis
3b276f0973
Clean-up of event ops
...
svn-id: r28703
2007-08-24 11:23:57 +00:00
Filippos Karapetis
1c065b1e14
Added skeleton code for sfScriptFade. Work is still needed in Gfx::palFade though, so it still doesn't work
...
svn-id: r28702
2007-08-23 13:56:25 +00:00
Filippos Karapetis
300ea0184a
The colors of the input text widgets are correct now in IHNM
...
svn-id: r28701
2007-08-23 13:34:28 +00:00
Filippos Karapetis
d4d255cd6d
Implemented music pause and resume
...
svn-id: r28698
2007-08-22 16:00:45 +00:00
Filippos Karapetis
cd3f8577c1
Mutexes are now used in the MIDI music playing code
...
svn-id: r28697
2007-08-22 15:28:31 +00:00
Filippos Karapetis
02e0d144e8
Implemented Music::stop
...
svn-id: r28695
2007-08-22 11:28:11 +00:00
Filippos Karapetis
9a9e42a1f6
Sprite priorities are now calculated correctly for IHNM
...
svn-id: r28694
2007-08-22 11:11:33 +00:00
Filippos Karapetis
bd4a289493
The height of the save file list slider is calculated correctly now for IHNM
...
svn-id: r28691
2007-08-21 18:23:48 +00:00
Filippos Karapetis
296080e44f
The button sprites of the warnings dialogs of IHNM are loaded correctly now. Also, the save file slider is shown correctly now (although it still needs some tweaking, as its virtual height is still the same as in ITE)
...
svn-id: r28690
2007-08-21 18:07:17 +00:00
Filippos Karapetis
bf1f23d378
Fixed the position of some widgets in the option dialogs of IHNM
...
svn-id: r28689
2007-08-21 18:04:47 +00:00
Filippos Karapetis
44f73a1b7c
Simplified blackToPal
...
svn-id: r28686
2007-08-21 14:59:02 +00:00
Filippos Karapetis
96e0eeb94d
Updated some comments
...
svn-id: r28685
2007-08-21 12:46:21 +00:00
Filippos Karapetis
c50c20b2c2
Cleanup: Removed obsolete TODOs
...
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis
a6171ec349
Fix for bug #1776993 - "ITE: Cannot exit a room (regression)"
...
svn-id: r28679
2007-08-20 19:14:22 +00:00
Filippos Karapetis
0566bef991
Corrected some of the colors in the save/load dialogs in IHNM
...
svn-id: r28648
2007-08-18 01:59:18 +00:00
Filippos Karapetis
769dd1d7a2
Several bugfixes:
...
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene
- sf92 is sfDemoSetInteractive
- It's now possible to use dashes and underscores in savegames
- Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black
- The interface mode is now correctly set in the non-interactive part of the IHNM demo
- sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed
svn-id: r28643
2007-08-17 06:08:18 +00:00
Filippos Karapetis
4722075da3
Removed an obsolete TODO
...
svn-id: r28642
2007-08-17 05:57:32 +00:00
Filippos Karapetis
d5b7a57536
Fix for some cases where the protagonist from some savegames in IHNM was not loaded correctly
...
svn-id: r28596
2007-08-13 15:57:04 +00:00
Filippos Karapetis
7a04b16d73
When restarting an animation, make sure that the animation's current frame is set to 0. This fixes issues where replaying the same animation would lead to a crash (e.g. with Gorrister at the animal cages)
...
svn-id: r28581
2007-08-13 08:51:40 +00:00
Filippos Karapetis
f3158075bb
The sprite set by sfSetObjImage is assigned correctly now for IHNM. This fixes several cases where objects with more than one frame were incorrectly displayed
...
svn-id: r28571
2007-08-13 01:20:42 +00:00
Filippos Karapetis
742d503b92
Removed an obsolete TODO
...
svn-id: r28570
2007-08-13 01:09:48 +00:00
David Corrales
6856535010
Merged fsnode with trunk: r27971:28460
...
svn-id: r28462
2007-08-05 19:34:20 +00:00
Filippos Karapetis
1c26274061
Undefined character 9 is no longer printed in the IHNM demo help screen
...
svn-id: r28409
2007-08-02 15:29:50 +00:00
Filippos Karapetis
ccc9359181
Text is cleared correctly in the IHNM demo help screen, when waiting for the game to change the page automatically
...
svn-id: r28407
2007-08-02 14:57:18 +00:00
Filippos Karapetis
3e9c4be280
The help screen in the IHNM demo is shown correctly now
...
svn-id: r28406
2007-08-02 14:43:10 +00:00
Filippos Karapetis
ec4a240b50
The help screens in the IHNM demo are shown a bit more correctly now, though they're still buggy
...
svn-id: r28399
2007-08-02 01:56:45 +00:00
Filippos Karapetis
63f3d5b253
Partially implemented opcodes 87, 88 and 89, used in the help system of the IHNM demo. It's still buggy, though
...
svn-id: r28398
2007-08-02 01:04:44 +00:00
Filippos Karapetis
6a82a3fbfc
The text of the psychic profile in IHNM is shown correctly now
...
svn-id: r28397
2007-08-01 23:38:31 +00:00
Filippos Karapetis
617a500ef2
IHNM and ITE: ScummVM will no longer crash when loading games from the command line
...
svn-id: r28394
2007-08-01 21:47:17 +00:00
Filippos Karapetis
e5bd393a89
Compressed sounds now work in IHNM
...
svn-id: r28384
2007-08-01 14:19:55 +00:00
Filippos Karapetis
5d7daad632
Re-enabled the problematic older ITE demos (with notes on their current problems)
...
svn-id: r28382
2007-08-01 09:08:27 +00:00
Filippos Karapetis
e68624e789
Patch files are no longer left open the whole time, but are only opened when needed. This fixes the strange bug where BBM files didn't appear in the ITE demos that have substitute scenes when using MSVC compiled executables, as too many files were open at the same time
...
svn-id: r28381
2007-08-01 09:02:28 +00:00
Filippos Karapetis
b58d259f7e
The psychic profile background is displayed correctly again
...
svn-id: r28380
2007-08-01 02:37:29 +00:00
Filippos Karapetis
4abcd58c76
Updated the ITE demo versions
...
svn-id: r28379
2007-08-01 02:19:05 +00:00
Travis Howell
d5e10d1d56
Fix compiler warnings.
...
svn-id: r28378
2007-08-01 01:21:03 +00:00
Travis Howell
c4829fe340
Fix compiler warning.
...
svn-id: r28376
2007-08-01 00:57:51 +00:00
Filippos Karapetis
e416cd0d83
Fix for the non-loading BBM files in the ITE demos with substitute scenes. This is a very strange bug, and it seems to be directly related to an issue with the Common::File class
...
svn-id: r28375
2007-08-01 00:38:28 +00:00
Filippos Karapetis
6b590bf4d1
Fixed incorrect file assignment for the ITE Windows demo
...
svn-id: r28372
2007-07-31 21:57:32 +00:00
Filippos Karapetis
cd20f09a9d
Cleanup: removed dead code, fixed some comments and did some layout changes
...
svn-id: r28362
2007-07-31 18:08:40 +00:00
Filippos Karapetis
03d7990a34
Some updates to the psychic profile in IHNM. sfPsychicProfileOff has been enabled again
...
svn-id: r28361
2007-07-31 17:41:10 +00:00
Filippos Karapetis
c596fba864
sfPsychicProfileOff is not used, therefore disable it to prevent it from trying to clear the psychic profile again
...
svn-id: r28359
2007-07-31 15:40:08 +00:00
Filippos Karapetis
89451cfa43
It's now possible to return to the chapter selection screen correctly in IHNM
...
svn-id: r28358
2007-07-31 15:36:38 +00:00
Filippos Karapetis
165f7fcf73
Implement some differences to the actor walking code in IHNM
...
svn-id: r28352
2007-07-31 04:19:23 +00:00
Filippos Karapetis
32d0070868
Play MIDI music at the volume specified in the options screen
...
svn-id: r28348
2007-07-31 01:21:25 +00:00
Filippos Karapetis
2707e3a7e8
Music should not be played after changing scene if it's disabled from the options
...
svn-id: r28347
2007-07-31 00:52:00 +00:00
Filippos Karapetis
9a125828b9
The mouse works correctly now in the options dialog when it's opened in the non-interactive part of the IHNM demo
...
svn-id: r28346
2007-07-31 00:18:45 +00:00
Filippos Karapetis
3ee5ee2c06
Loading saved games in the demo version of IHNM should work now
...
svn-id: r28345
2007-07-31 00:06:57 +00:00
Filippos Karapetis
889d1a4aee
The interactive part of the IHNM demo fully works now. Also, made the options screen work in the non-interactive part of the demo
...
svn-id: r28344
2007-07-30 23:37:18 +00:00
Filippos Karapetis
a09a95c99a
sf92 is not null in the demo version of IHNM
...
svn-id: r28343
2007-07-30 23:30:08 +00:00
Filippos Karapetis
6f1baac2cd
The interactive part of the IHNM demo loads music normally, like the full version, so only load music manually when songTableID is 0
...
svn-id: r28341
2007-07-30 21:17:15 +00:00
Filippos Karapetis
91c2aefc2a
Fixed some resources of the IHNM demo
...
svn-id: r28340
2007-07-30 21:14:57 +00:00
Filippos Karapetis
1856a0f11b
Correct the object sprites only in Ted's part of the IHNM demo
...
svn-id: r28339
2007-07-30 21:13:51 +00:00
Filippos Karapetis
2b2af8ab5e
Music works now in the IHNM demo
...
svn-id: r28332
2007-07-30 18:26:56 +00:00
Filippos Karapetis
60b41486ac
The disk icon is now shown in the IHNM demo (though it's not functional yet)
...
svn-id: r28329
2007-07-30 16:16:22 +00:00
Filippos Karapetis
78e8dadbe3
Verified some resources of the IHNM demo
...
svn-id: r28328
2007-07-30 16:12:40 +00:00
Filippos Karapetis
c8aae376a9
Process only mouse clicks in the psychic profile, not mouse movement
...
svn-id: r28326
2007-07-30 14:35:26 +00:00
Filippos Karapetis
7498c6b43e
It's now possible to exit from the psychic profile screen in IHNM
...
svn-id: r28325
2007-07-30 14:22:53 +00:00
Filippos Karapetis
ba44fcbf6b
Some corrections for the psychic profile screen in IHNM. The psychic profile background drawing has been turned into an event, so actors and animations will no longer be incorrectly shown. Also, the incorrect text color has been fixed. The text position is still wrong, though, and it's currently not possible to exit the psychic profile screen
...
svn-id: r28324
2007-07-30 13:19:46 +00:00
Filippos Karapetis
653cf4c971
Initial support of the psychic profile in IHNM (still buggy)
...
svn-id: r28323
2007-07-30 11:55:11 +00:00
Filippos Karapetis
36496dd467
The actors at the end of Benny's part in the IHNM demo are no longer incorrectly shown
...
svn-id: r28322
2007-07-30 10:33:17 +00:00
Filippos Karapetis
b888c08581
The credits of the IHNM demo are displayed correctly now
...
svn-id: r28320
2007-07-30 09:14:15 +00:00
Filippos Karapetis
976d39e2aa
Changed some comments so that they follow the same commenting style
...
svn-id: r28319
2007-07-29 22:47:06 +00:00
Filippos Karapetis
bb22e22050
Inventory icons in the IHNM demo are displayed correctly now
...
svn-id: r28313
2007-07-29 19:06:17 +00:00
Filippos Karapetis
2c40b302ab
The palette in Benny's part in the IHNM demo is correct now
...
svn-id: r28266
2007-07-28 13:28:25 +00:00
Filippos Karapetis
8c1fcc3c08
The main panel is now correctly shown in the IHNM demo. Some inventory items are still wrong, though
...
svn-id: r28264
2007-07-28 12:26:40 +00:00
Filippos Karapetis
3d434b1233
Fixed one of the incorrectly loaded palettes in Benny's part in the IHNM demo
...
svn-id: r28255
2007-07-28 02:25:09 +00:00
Filippos Karapetis
125872c90d
The demo version of IHNM has no options panel, therefore the options icon and the options panel shortcuts have been disabled for the IHNM demo
...
svn-id: r28254
2007-07-28 01:04:59 +00:00
Filippos Karapetis
6c108f552c
The IHNM demo uses the NULL panel
...
svn-id: r28253
2007-07-28 01:03:54 +00:00
Filippos Karapetis
cd9ade4af4
The mouse cursor is no longer incorrectly shown in the IHNM demo
...
svn-id: r28252
2007-07-28 00:40:04 +00:00
Filippos Karapetis
ac101f0d6a
Disable the status text in the IHNM demo
...
svn-id: r28251
2007-07-28 00:33:09 +00:00
Filippos Karapetis
ee485afa89
Don't allow setCursor to change the cursor to an hourglass in the IHNM demo. The IHNM demo no longer crashes now
...
svn-id: r28250
2007-07-28 00:20:26 +00:00
Filippos Karapetis
a32b81d126
Do not try to load music if the music resource id is 0. Also, the voice LUT resource ID and the voice bank are now set correctly for the IHNM demo.
...
The IHNM demo starts now, showing some scenes, but the main panel is not loaded correctly, the status line is shown incorrectly and the demo crashes after a cutaway is shown
svn-id: r28245
2007-07-27 18:36:50 +00:00
Filippos Karapetis
f9b66f8816
The IHNM demo only has one mouse cursor
...
svn-id: r28244
2007-07-27 18:32:00 +00:00
Filippos Karapetis
a0d956221c
Defined the starting scene for the IHNM demo
...
svn-id: r28239
2007-07-27 16:39:21 +00:00
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
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
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
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
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
Max Horn
f4c0b853cc
Fixed sound factory messup caused by my previous commit
...
svn-id: r28111
2007-07-15 19:24:00 +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
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
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
David Corrales
720c974faf
Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
...
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.
svn-id: r28046
2007-07-12 17:58:15 +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
David Corrales
9bfe5d5354
Merged the FSNode branch with trunk r27681:27969
...
svn-id: r27970
2007-07-08 16:58:54 +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
David Corrales
cacd7a28fd
Merged the FSNode branch with trunk r27031:27680
...
svn-id: r27681
2007-06-23 18:51:33 +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
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
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
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
Filippos Karapetis
5b395c7397
Moved a check for game type after engine initialization
...
svn-id: r27390
2007-06-13 20:13:06 +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
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
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
Eugene Sandulenko
6e5b70f5e9
Patch #1733764 : "Fallback detection patch". GSoC student.
...
svn-id: r27375
2007-06-12 12:22:25 +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
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