Filippos Karapetis
00dac8c10f
Implemented the sfScriptFade opcode
...
svn-id: r27142
2007-06-06 18:04:25 +00:00
Filippos Karapetis
a6c476b292
Added palette fading in playCutaway()
...
svn-id: r27141
2007-06-06 18:02:33 +00:00
Filippos Karapetis
a265844351
Added sanity checks for hitzones in SAGA, after discussing with h00ligan and sev. Removed a hack for IHNM which is not needed anymore and removed a redundant check for zero object types
...
svn-id: r27140
2007-06-06 16:37:10 +00:00
Filippos Karapetis
735530bdc8
Implemented differences in Actor::calcScreenPosition for IHNM. Now the stitching on the second floor of the zeppelin and the whiskey in the honky-tonk are shown correctly
...
svn-id: r27124
2007-06-06 00:56:29 +00:00
Filippos Karapetis
b82e88638b
Properly implemented the converse panel in IHNM (though the colors are still wrong)
...
svn-id: r27123
2007-06-06 00:52:46 +00:00
Filippos Karapetis
55607e9c99
Fix regression caused by commit #27108
...
svn-id: r27122
2007-06-06 00:51:07 +00:00
Travis Howell
248d527a56
Avoid compiler warnings.
...
svn-id: r27118
2007-06-05 22:38:43 +00:00
Filippos Karapetis
ab6fb8e9c3
Filtering specific verbs is used in ITE, but not in IHNM. It's now possible to use the jukebox in the honky-tonk in IHNM
...
svn-id: r27110
2007-06-05 16:31:58 +00:00
Filippos Karapetis
158193fe51
Add the hack for the staircase in the zeppelin in IHNM once more, apparently the cause for it is different than what I thought
...
svn-id: r27109
2007-06-05 16:29:15 +00:00
Filippos Karapetis
2f033e7a4c
Check if a zone type is NULL for both ITE and IHNM, as it's done in the original. This fixes the crash in IHNM when entering the second floor of the zeppelin and the crash in ITE when interacting with the bowl in the tunnel, outside the prison. Removed the two relevant hacks
...
svn-id: r27108
2007-06-05 15:04:25 +00:00
Filippos Karapetis
95821c97ee
Inventory and conversation arrows are working correctly now in IHNM
...
svn-id: r27107
2007-06-05 13:19:47 +00:00
Filippos Karapetis
2b593f30a1
IHNM: Add a temporary hack for the crash that occurs when climbing the staircase to the second floor of the zeppelin in chapter 1
...
svn-id: r27094
2007-06-04 23:10:59 +00:00
Filippos Karapetis
abc879f2d8
Fixed incorrect placing of converse information for IHNM. Dialog options should work in IHNM now, although they're still not placed properly
...
svn-id: r27084
2007-06-04 19:29:28 +00:00
Filippos Karapetis
1fe7b427dd
Properly define max text width in IHNM
...
svn-id: r27082
2007-06-04 18:08:44 +00:00
Filippos Karapetis
f6b8c98c13
SAGA: When trying to access a wrong hitzone, adjust it to a valid one and continue with a warning instead of exiting with an error . We don't normally get invalid hitzones in ITE, but we do in IHNM, so this is used for now to bypass the places where IHNM crashes. It's now possible to climb the steps to the second floor of the zeppelin with Gorrister
...
svn-id: r27072
2007-06-03 22:00:18 +00:00
Filippos Karapetis
7201437206
The animation frame counter is updated correctly now, so all animations in IHNM where the engine is waiting are displayed fully. Big thanks to sev, once again :)
...
svn-id: r27070
2007-06-03 19:15:59 +00:00
Filippos Karapetis
66f9032d01
Simplified check for scene height in IHNM
...
svn-id: r27067
2007-06-03 16:14:57 +00:00
Filippos Karapetis
89b80a3f8b
Opcode 11 is sfLockUser. Also updated Scene::getHeight() for this change. Now, the interface is locked when the scripts lock it. This prevents erroneous actor movement when skipping speech by left clicking, and other incorrect behavior. Special thanks to h00ligan for all his help
...
svn-id: r27064
2007-06-03 15:50:25 +00:00
Filippos Karapetis
3ba184b21f
Moved the updating of framecount to a more appropriate place
...
svn-id: r27060
2007-06-03 02:39:44 +00:00
Filippos Karapetis
f4299e81c1
Implemented the sfWaitFrames script function for IHNM. Many animations should display more correctly now (e.g. actor "zapping" animations, Ben falling off the stairs). They're still not correct, as frameCount is not updated properly
...
svn-id: r27055
2007-06-02 15:26:05 +00:00
Filippos Karapetis
9896ce253e
Moved a sanity check before some relevant asserts
...
svn-id: r27054
2007-06-02 15:21:42 +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
c739b43bc7
Color 0 should always be black in IHNM. The panel backgrounds don't erroneously change color now when moving between rooms
...
svn-id: r27004
2007-05-29 16:21:09 +00:00
Filippos Karapetis
438ba78387
Corrected actor walk speed in IHNM
...
svn-id: r27003
2007-05-29 12:55:17 +00:00
Eugene Sandulenko
baea10979c
Partial fix for walking speed in IHNM.
...
svn-id: r26999
2007-05-28 16:36:18 +00:00
Filippos Karapetis
572a4b3191
Changed the frameOffset sanity check in Script::sfPlaceActor to throw a warning instead of an error. In IHNM, it's now possible to use the knife with the rats when playing with Garrister
...
svn-id: r26985
2007-05-28 00:36:11 +00:00
Filippos Karapetis
233971ed31
Made verbs "push" and "swallow" work in IHNM. It's now possible to choose a monitor with Ted
...
svn-id: r26983
2007-05-27 23:30:21 +00:00
Filippos Karapetis
13541d3e96
Verb actions are working correctly now in IHNM. Some verbs are still non-functional
...
svn-id: r26970
2007-05-27 11:49:08 +00:00
Filippos Karapetis
ff7d48f582
Changed the check for the status bar in IHNM to match the original, removed a relevant hack
...
svn-id: r26802
2007-05-11 13:10:13 +00:00
Filippos Karapetis
1880c8739b
Disable the status text in IHNM when the main panel is not shown. Fixes a crash when hovering over a character in the character selection screen
...
svn-id: r26801
2007-05-11 10:35:12 +00:00
Torbjörn Andersson
a6095b93d9
Removed unused variable.
...
svn-id: r26797
2007-05-10 03:02:00 +00:00
Andrew Kurushin
85082dc8a0
speedup SAGA::Actor::pathLine & SAGA::Actor::scanPathLine calculation
...
svn-id: r26791
2007-05-09 13:25:14 +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
Andrew Kurushin
21412b821c
small pathfind speedup: validate coords only with debug definition
...
svn-id: r26788
2007-05-08 16:09:47 +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
b9cdca27ee
Added (non-functional) save and load buttons in the options panel of IHNM
...
svn-id: r26767
2007-05-06 17:18:11 +00:00
Filippos Karapetis
463c5fcec8
More IHNM options panel improvements: added text and working widgets for read speed, music and sound, matched the font and the coordinates of the options panel and the widgets with the ones of the original interpreter
...
svn-id: r26738
2007-05-02 23:27:25 +00:00
Filippos Karapetis
7e16ca13c6
SAGA: Modified a workaround made for ITE to work in ITE only
...
svn-id: r26737
2007-05-02 21:39:56 +00:00
Filippos Karapetis
74f839d6c8
IHNM: Added the options dialog and quit dialog with very basic functionality (continue and exit game).
...
The buttons are still wrong and not all the options are implemented yet, but at least the game doesn't freeze when the user tries to open the options dialog and it's now possible to exit normally
svn-id: r26735
2007-05-02 17:12:30 +00:00
Filippos Karapetis
6ca558f0ff
Fix for verbs in IHNM
...
svn-id: r26732
2007-05-01 21:48:18 +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
Max Horn
60aec5b9f1
SAGA: Moved displayinfo stuff into its own header file
...
svn-id: r26635
2007-04-27 23:11:12 +00:00
Max Horn
030cd2c02a
Some tweaks to saga/detection_tables.h
...
svn-id: r26633
2007-04-27 22:39:31 +00:00
Max Horn
3924a2587f
Renamed sagagame.cpp -> detection_tables.h; merged sagagame.h into saga.h
...
svn-id: r26632
2007-04-27 22:35:05 +00:00
Max Horn
fbc2f89b08
Renamed some game.cpp files to detection.cpp
...
svn-id: r26623
2007-04-27 20:26:54 +00:00
Eugene Sandulenko
28e721836a
Slighty modified patch #1704979 : "Fix for #1690045 : ITE: Item description missing"
...
svn-id: r26558
2007-04-21 21:29:52 +00:00
Eugene Sandulenko
b1e79b9253
More meaningful error message
...
svn-id: r26557
2007-04-21 21:23:26 +00:00
Max Horn
624b57db3a
oops, openStreamFile of course uses milliseconds, not frames, for the playback offsets/durations
...
svn-id: r26475
2007-04-14 18:44:15 +00:00