Commit Graph

76 Commits

Author SHA1 Message Date
Filippos Karapetis
a8d3967f63 Fix for bug #1861126 - "IHNM: Crash when Gorrister cuts sheet in the mooring ring"
svn-id: r30109
2007-12-31 22:45:30 +00:00
Filippos Karapetis
c84d9c1588 Fix to prevent having an incorrect sprite assigned to some objects in IHNM when those objects are dropped in the scene
svn-id: r29796
2007-12-09 15:43:08 +00:00
Filippos Karapetis
bf75630b42 Fixed the font height of the text in the help screens of the IHNM demo. Clean-up of some opcodes
svn-id: r28940
2007-09-18 16:46:32 +00:00
Max Horn
80386fbb02 Turn off unused code (fixing a compiler warning)
svn-id: r28925
2007-09-16 12:16:28 +00:00
Eugene Sandulenko
9778bec419 Fix bug when some animations were playing too fast.
svn-id: r28924
2007-09-16 11:37:14 +00:00
Filippos Karapetis
5fa2b1a3c5 Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
1fa1b64984 Some more opcode simplifications
svn-id: r28902
2007-09-14 12:49:09 +00:00
Filippos Karapetis
c84ff65720 Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non needed check
svn-id: r28901
2007-09-14 12:42:47 +00:00
Filippos Karapetis
9d85371aa0 Cleanup and simplification of several of the script opcodes used in ITE and IHNM
svn-id: r28899
2007-09-13 17:55:00 +00:00
Filippos Karapetis
84393ab95e The early ITE demos were not interactive
svn-id: r28897
2007-09-13 11:21:23 +00:00
Filippos Karapetis
a8149227bf The actors in Nimdok's part of the IHNM demo are shown correctly now
svn-id: r28758
2007-08-27 14:22:24 +00:00
Filippos Karapetis
b39c4cbdba Added some skeleton code for the IHNM credits movie. Also, changed the location of the RF_DISABLE_ACTORS is set from loadScene to endScene
svn-id: r28757
2007-08-27 13:04:35 +00:00
Filippos Karapetis
4e5d819732 IHNM's ending is shown correctly now (but the credits still aren't). Slight update on the music of chapter 6
svn-id: r28753
2007-08-27 09:30:23 +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
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
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
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
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
ef7c66893a Updated some comments
svn-id: r28706
2007-08-24 11:44:18 +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
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
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
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
b58d259f7e The psychic profile background is displayed correctly again
svn-id: r28380
2007-08-01 02:37:29 +00:00
Travis Howell
d5e10d1d56 Fix compiler warnings.
svn-id: r28378
2007-08-01 01:21:03 +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
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
a09a95c99a sf92 is not null in the demo version of IHNM
svn-id: r28343
2007-07-30 23:30:08 +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
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
bb22e22050 Inventory icons in the IHNM demo are displayed correctly now
svn-id: r28313
2007-07-29 19:06:17 +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
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
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
8d81d720d3 Implemented the rest of the differences of the sfScriptGotoScene opcode in IHNM
svn-id: r27916
2007-07-05 03:37:23 +00:00