1010 Commits

Author SHA1 Message Date
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
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
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
Filippos Karapetis
0da6062bb2 Remove obsolete testing code
svn-id: r27306
2007-06-10 11:51:33 +00:00
Filippos Karapetis
a121e4ce05 Fixed an incorrect check in Script::finishDialog
svn-id: r27274
2007-06-10 03:21:16 +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
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
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
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
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
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