30 Commits

Author SHA1 Message Date
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
71ce45faa0 Reset the protagonist's portrait when a chapter ends
svn-id: r28732
2007-08-25 19:33:25 +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
84d2dda5ed Code cleanup for the IHNM demo
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
c50c20b2c2 Cleanup: Removed obsolete TODOs
svn-id: r28682
2007-08-20 20:00:40 +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
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
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
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
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
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
6c108f552c The IHNM demo uses the NULL panel
svn-id: r28253
2007-07-28 01:03:54 +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
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
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
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
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
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
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
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Filippos Karapetis
a8ab2c7cff Moved functions getDoorState, setDoorState, getBGMaskType and validBGMaskPoint to scene.h and disabled some sanity checks to improve the speed of the pathfinding algorithm, after discussing with h00ligan
svn-id: r26789
2007-05-08 17:32:31 +00:00
Eugene Sandulenko
22e022cdcb Simplify cursor events management.
svn-id: r26772
2007-05-07 06:18:08 +00:00
Filippos Karapetis
c4c9ff5533 The cursor in IHNM changes to an hourglass now while loading scenes, like in the original interpreter
svn-id: r26768
2007-05-06 22:18:31 +00:00
Filippos Karapetis
d08eeff700 Renamed decodeILBM to decodePBM, removed a TODO
svn-id: r26731
2007-05-01 21:40:56 +00:00
Nicola Mettifogo
008042ac25 Implemented a IFF (Interchange File Format) parser and added subclasses to parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code.
svn-id: r26719
2007-05-01 15:39:40 +00:00
Andrew Kurushin
64c3407500 extract GameDescriptions to separate files (this will help compress_saga tool to detect sound resource)
svn-id: r22433
2006-05-13 10:30:38 +00:00
Max Horn
d9a9fac937 Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00