Commit Graph
137148 Commits
Author SHA1 Message Date
Alexandre Fontoura bf2d5d7765 ASYLUM: Fixed wrong coordinate check in Actor canMoveCheckActors 2021-05-17 15:37:29 +02:00
Alexandre Fontoura de2ac3012c ASYLUM: Enable code to allow Actor to walk to a position 2021-05-17 15:37:29 +02:00
Alexandre Fontoura 1b6120e974 ASYLUM: Fixed Scene Update Coordinates with Motion 2021-05-17 15:37:29 +02:00
Alex Bevilacqua 7388be8824 ASYLUM: script debugging in actor code 2021-05-17 15:37:29 +02:00
Alex Bevilacqua 5db12fc55b ASYLUM: debugging helper to prevent printing running script line more than once 2021-05-17 15:37:28 +02:00
Alex Bevilacqua 5259f1e506 ASYLUM: added show_script and action commands 2021-05-17 15:37:28 +02:00
Alex Bevilacqua 6004f808dc ASYLUM: add name to debug out for object inspection 2021-05-17 15:37:28 +02:00
Alex Bevilacqua c1e47d473d ASYLUM: include the chapter number in the worldstats instance inspector 2021-05-17 15:37:28 +02:00
Alex Bevilacqua 34214332e9 ASYLUM: more script debug output 2021-05-17 15:37:28 +02:00
Alex Bevilacqua 926443d63f ASYLUM: fixed smacker video playing and added new debug level 2021-05-17 15:37:28 +02:00
Alex Bevilacqua 652e134c46 ASYLUM: fix compilation 2021-05-17 15:37:27 +02:00
Alex Bevilacqua c92af6b25f ASYLUM: update engine to new build system 2021-05-17 15:37:27 +02:00
Alex Bevilacqua baf4fa93cb ASYLUM: access surface pixels via getPixels() 2021-05-17 15:37:27 +02:00
Alex Bevilacqua 5b1bb1d145 ASYLUM: change kPlatformPC => kPlatformWindows 2021-05-17 15:37:27 +02:00
Alex Bevilacqua 6f7307bd60 ASYLUM: remove unnecessary include 2021-05-17 15:37:27 +02:00
Alex Bevilacqua 7bf4a85cb2 ASYLUM: fix compilation with latest master 2021-05-17 15:37:26 +02:00
Alex Bevilacqua 0c7b3038fe ASYLUM: replace isalnum() with Common::isAlNum() 2021-05-17 15:37:26 +02:00
Alex Bevilacqua bfe8276bc8 ASYLUM: update a comment 2021-05-17 15:37:26 +02:00
Alex Bevilacqua b6cce3a19f ASYLUM: add some debug output for sound queue events 2021-05-17 15:37:26 +02:00
xesf 0dc2ab3402 ASYLUM: Fixed various issues in Actor position calculations. Still missing something yet to make Max climb the first stairs. Anyway, this corrects a lot of incorrect script behaviors. 2021-05-17 15:37:26 +02:00
xesf e68598ff9f ASYLUM: Fixed JumpAndSetDirection incorrect parameter set. 2021-05-17 15:37:26 +02:00
xesf 0703dbfff4 ASYLUM: Fixed compilation with DEBUG definition 2021-05-17 15:37:26 +02:00
xesf c97fe2a6ca ASYLUM: Fixed script reset while changing scenes.
This prevents a lot of fault script actions.
2021-05-17 15:37:25 +02:00
Alex Bevilacqua 59cfa7ce66 ASYLUM: convert GUI options to sync with master 2021-05-17 15:37:25 +02:00
Alex Bevilacqua cdb9c748c0 ASYLUM: fix a logic error in Actor::update 2021-05-17 15:37:25 +02:00
Alex Bevilacqua e73059638a ASYLUM: enable debug channel for Actor objects 2021-05-17 15:37:25 +02:00
Alex Bevilacqua 5d0af78206 ASYLUM: remove accidentally committed debug code 2021-05-17 15:37:25 +02:00
Alex Bevilacqua 472a7252c4 ASYLUM: align enum assignments 2021-05-17 15:37:25 +02:00
Alex Bevilacqua 0ab8d0c858 ASYLUM: add a some debug output and rename ActorDirection
The ActorDirection rename here is to make the enum value for West
use an English value (W) as opposed to a French value (O).
2021-05-17 15:37:25 +02:00
Alex Bevilacqua 0553f5dfd8 ASYLUM: added a FIXME to Actor::update() for kActorStatusWalkingTo 2021-05-17 15:37:24 +02:00
Alex Bevilacqua 9277116e09 ASYLUM: identify more ActorStatus values 2021-05-17 15:37:24 +02:00
Alex Bevilacqua 68b9df5a4b ASYLUM: identify a couple ActorStatus values 2021-05-17 15:37:24 +02:00
Alexander 2c1b1d3cf4 ASYLUM: PuzzleBoard: fix checkSlots() 2021-05-17 15:37:24 +02:00
Alex Bevilacqua f7213d1af5 ASYLUM: silence an analysis warning by adding a virtual destructor to ActorData 2021-05-17 15:37:24 +02:00
Alexander d61d51f190 ASYLUM: HiveControl puzzle: fix minor glitch in updateScreen() 2021-05-17 15:37:24 +02:00
Alexander a67ea83e23 ASYLUM: HiveControl puzzle: fix a bug
_leverPosition - _prevLeverPosition should be signed.
2021-05-17 15:37:23 +02:00
Alexander 1fc9a8a837 ASYLUM: HiveControl puzzle: add completion checks 2021-05-17 15:37:23 +02:00
Alexander be21e4e028 ASYLUM: Writings puzzle: fix an infinite loop in drawBackground() 2021-05-17 15:37:23 +02:00
Alexander b82752e649 ASYLUM: Pipes puzzle: fix initialization 2021-05-17 15:37:23 +02:00
Littleboy cc81d47548 ASYLUM: More encounter cleanup
- Add more comments
 - Reformat code for lisibility
 - Rename some flags/members
 - Fix typos in Encounter::getKeywordIndex()
2021-05-17 15:37:23 +02:00
Littleboy 272d5ffa1f ASYLUM: Flag detections entries with ADGF_UNSTABLE 2021-05-17 15:37:23 +02:00
Littleboy f4a96e448d ASYLUM: Rename the rest of Encounter opcodes 2021-05-17 15:37:23 +02:00
Littleboy 03df42a1c7 ASYLUM: Fix part of encounter scripting
The script entries are now read properly and the scripts are executing far enough to show the keywords on screen
2021-05-17 15:37:22 +02:00
Littleboy e05d0c21e4 ASYLUM: Rename more Encounter script opcodes 2021-05-17 15:37:22 +02:00
Littleboy 5dffe40733 ASYLUM: Rename EncounterItem::keywordIndex to speechResourceId 2021-05-17 15:37:22 +02:00
Littleboy 76fd40f931 ASYLUM: Update Encounter
- Add opcode enumeration and enhance debug output
 - Fix initData()
 - Misc cleanups
2021-05-17 15:37:22 +02:00
Littleboy 92181cef22 ASYLUM: Rename encounter flags
- Used to signal if the player should be re-enabled after the encounter finishes
 - Used to signal the dialog should be closed
2021-05-17 15:37:22 +02:00
Littleboy 6d591a9a99 ASYLUM: Add timer ID to installTimerProc() call in Screen::startPaletteFade() 2021-05-17 15:37:22 +02:00
Alex Bevilacqua 407c96b3d2 ASYLUM: fix warnings 2021-05-17 15:37:22 +02:00
Alex Bevilacqua 083afccd67 ASYLUM: Finish implementation of TimeMachine puzzle
patch contributed by midstream
2021-05-17 15:37:21 +02:00