Commit graph

93 commits

Author SHA1 Message Date
alxpnv
3a17edceaa ASYLUM: rename Actor::clearFields() 2022-11-02 14:18:07 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv
7ec7e45043 ASYLUM: fix invalid direction crash
Bug no. 13130
2021-12-06 14:21:27 +03:00
alxpnv
17abacd66a ASYLUM: convert a couple of workarounds to patches 2021-12-06 14:21:27 +03:00
alxpnv
6a53897ac3 ASYLUM: switch lighting effects to synchronous model 2021-11-25 14:55:25 +03:00
Orgad Shaneh
57cdbc9072 ASYLUM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
alxpnv
5708f630f7 ASYLUM: patch Chapter 2 Lockout bug 2021-09-14 12:43:56 +03:00
alxpnv
d4fe0dd11d ASYLUM: add initial support for alternate demo 2021-09-08 15:46:37 +03:00
alxpnv
2fd785c12c ASYLUM: add support for Sanitarium Demo 2021-08-30 15:50:15 +03:00
alxpnv
477cae38bc ASYLUM: add support for Steam achievements 2021-08-16 14:49:53 +03:00
alxpnv
a4af39dcf9 ASYLUM: convert some warning() calls to debugC() 2021-06-16 15:41:14 +03:00
alxpnv
685e11d346 ASYLUM: fix setting global flags in PlaySpeechScene2 opcode 2021-06-15 16:00:11 +03:00
alxpnv
75c1b820ea ASYLUM: rename two ActorStatus values and related opcodes
kActorStatusPickupItem -> kActorStatusStoppedInteracting
kActorStatus20 -> kActorStatusStoppedHitting

Interact -> WalkToActor
UpdateActor -> Interact
2021-06-11 13:29:30 +03:00
alxpnv
de625e4f53 ASYLUM: rename more Actor methods
Also removed Actor::compare()
2021-06-10 13:34:27 +03:00
alxpnv
abc56853eb ASYLUM: fix a race in UpdateActor opcode
This unblocks the odd state in Chapter 3 found by digitall
2021-06-07 15:29:29 +03:00
D G Turner
a3f1211f42 ASYLUM: Fix Various GCC Compiler Warnings 2021-06-05 01:51:24 +01:00
alxpnv
8ba3df6821 ASYLUM: refactor inventory 2021-06-04 12:53:52 +03:00
alxpnv
9473dfef9f ASYLUM: fix updating global flags 2021-05-21 15:08:32 +03:00
alxpnv
007ab8c9ff ASYLUM: implement fade to grayscale 2021-05-20 15:36:11 +03:00
alxpnv
c33604a765 ASYLUM: make actors face each other when interacting 2021-05-20 15:36:11 +03:00
alxpnv
c81c046450
ASYLUM: clean up destructors 2021-05-17 15:37:58 +02:00
alxpnv
77a35a5c75
ASYLUM: get rid of global constructors 2021-05-17 15:37:56 +02:00
D G Turner
b4a0418525
ASYLUM: Fix Uninitialized Variable Accesses Identified by Valgrind 2021-05-17 15:37:55 +02:00
alxpnv
ac43968c47
ASYLUM: formatting 2021-05-17 15:37:55 +02:00
alxpnv
72a3f0c365
ASYLUM: replace spaces in indentation with tabs 2021-05-17 15:37:52 +02:00
alxpnv
a6140c4944
ASYLUM: minor fixes (mostly formatting) 2021-05-17 15:37:51 +02:00
alxpnv
efcae39518
ASYLUM: fixes to Actor::canInteract() 2021-05-17 15:37:50 +02:00
alxpnv
56df11e356
ASYLUM: implement Special::chapter13() 2021-05-17 15:37:47 +02:00
alxpnv
f23be0119e
ASYLUM: fix saving 2021-05-17 15:37:47 +02:00
alxpnv
fe40af0f44
ASYLUM: check if object exists
On level 13, the game tries to set transparency of an object which doesn't exist (id 4562)
2021-05-17 15:37:46 +02:00
alxpnv
a3c7fc6e10
ASYLUM: skip non-existent objects 2021-05-17 15:37:45 +02:00
alxpnv
b725db3de0
ASYLUM: identify more ActorStatus values 2021-05-17 15:37:44 +02:00
alxpnv
4fb8b25682
ASYLUM: add a separate debug channel for script commands 2021-05-17 15:37:44 +02:00
alxpnv
bbd42feed2
ASYLUM: fix HasMoreReaction opcode 2021-05-17 15:37:43 +02:00
alxpnv
cbd1dc6c07
ASYLUM: use correct flag 2021-05-17 15:37:43 +02:00
alxpnv
0a594dad99
ASYLUM: fix processing order. This makes chapter 6 playable 2021-05-17 15:37:41 +02:00
alxpnv
bce91352eb
ASYLUM: fix PlaySoundUpdateObject opcode 2021-05-17 15:37:40 +02:00
alxpnv
26f33b822b
ASYLUM: fix ScriptManager::enableObject() 2021-05-17 15:37:40 +02:00
alxpnv
b6ca135125
ASYLUM: rename some ScriptQueueEntry and ScriptQueue fields 2021-05-17 15:37:39 +02:00
alxpnv
305b370e5c
ASYLUM: fix JumpIfActorCoordinates 2021-05-17 15:37:37 +02:00
alxpnv
e20a8bc6b1
ASYLUM: check param2 2021-05-17 15:37:32 +02:00
Alexandre Fontoura
42e09f359b
ASYLUM: Fixed incorrect string format 2021-05-17 15:37:30 +02:00
Alexandre Fontoura
ad85c727d2
ASYLUM: Commented Script JumpIfActorCoordinates and added comments. This is to allow us to proceed within the script and go to other places in the scene 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
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
34214332e9
ASYLUM: more script debug output 2021-05-17 15:37:28 +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
9277116e09
ASYLUM: identify more ActorStatus values 2021-05-17 15:37:24 +02:00