Commit Graph
68 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 57cdbc9072 ASYLUM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
alxpnv 146941f368 ASYLUM: formatting 2021-10-25 13:07:57 +03:00
alxpnv 40f6daac76 ASYLUM: fix crash in demo version 2021-10-20 16:05:36 +03:00
alxpnv de625e4f53 ASYLUM: rename more Actor methods
Also removed Actor::compare()
2021-06-10 13:34:27 +03:00
alxpnv 7df4708049 ASYLUM: rename Actor::updateStatus1*() methods 2021-06-10 13:34:27 +03:00
alxpnv 8ba3df6821 ASYLUM: refactor inventory 2021-06-04 12:53:52 +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
alxpnv 06ebca09c3 ASYLUM: fix signed/unsigned comparison warnings 2021-05-17 15:37:54 +02:00
alxpnv ce59904eff ASYLUM: rework monster status update 2021-05-17 15:37:53 +02:00
alxpnv ff5a232343 ASYLUM: fix out of mixer slots in chapter 8 2021-05-17 15:37:51 +02:00
alxpnv e6f2916eea ASYLUM: access chapter 2 data using a single array 2021-05-17 15:37:49 +02:00
alxpnv b96cc26bd0 ASYLUM: add Special::chance() 2021-05-17 15:37:49 +02:00
alxpnv b2a9192793 ASYLUM: make AsylumEngine::getRandom() generate a number from [0; max) to match the original 2021-05-17 15:37:49 +02:00
alxpnv 8eb94fc95e ASYLUM: restart chapter 11 properly 2021-05-17 15:37:48 +02:00
alxpnv c5547820fe ASYLUM: fixes to chapter 11's hard-coded logic 2021-05-17 15:37:48 +02:00
alxpnv bc3ebf36db ASYLUM: implement Special::chapter11() 2021-05-17 15:37:48 +02:00
alxpnv 56df11e356 ASYLUM: implement Special::chapter13() 2021-05-17 15:37:47 +02:00
alxpnv c3a3d999b5 ASYLUM: implement Special::chapter12() 2021-05-17 15:37:47 +02:00
alxpnv ffb8df69d7 ASYLUM: implement wheels update 2021-05-17 15:37:46 +02:00
alxpnv 4a1d644b84 ASYLUM: fixes to Special::checkFlags() 2021-05-17 15:37:46 +02:00
alxpnv b725db3de0 ASYLUM: identify more ActorStatus values 2021-05-17 15:37:44 +02:00
alxpnv 52b02ee180 ASYLUM: fix a few bugs in chapter 2's hard-coded logic 2021-05-17 15:37:41 +02:00
alxpnv e287e10fcf ASYLUM: fix chapter 5 crash 2021-05-17 15:37:38 +02:00
Alexandre Fontoura 294e27d67f ASYLUM: Fixed chapter 2 specials crash 2021-05-17 15:37:30 +02:00
Alex Bevilacqua 5dd9d33d2c ASYLUM: add debug output to special::check[Other]Object and test for kObjectInvalid 2021-05-17 15:37:30 +02:00
Alex Bevilacqua 5d0af78206 ASYLUM: remove accidentally committed debug code 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 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
Littleboy f106c50b36 ASYLUM: Move actorIndex to SharedData 2021-05-17 15:37:16 +02:00
Littleboy d1b6bbabfd ASYLUM: Move skipScriptProcessing and isEncounterRunning flags to SharedData 2021-05-17 15:37:16 +02:00
Littleboy 44540643e8 ASYLUM: Cleanup base classes
- Made some public members of cursors private and add accessors
 - Add const modifiers as needed
 - Add missing casts
 - Add some null-pointers checks
 - etc.
2021-05-17 15:37:15 +02:00
Littleboy 28363f844d ASYLUM: Reorganize SharedData
- Add accessors for most variables
 - Add stubs for set/getChapter2Data()
2021-05-17 15:37:13 +02:00
Julien Templier fb8afdc6d6 ASYLUM: Palette and gamma functions update
- Identify dead code and remove unused parameters
- Rename several gamma and palette-relted functions
- Add stubs for palette fading functions
2021-05-17 15:37:10 +02:00
Julien Templier 6879945591 ASYLUM: Implement the missing part of Special::chapter2() 2021-05-17 15:37:09 +02:00
Julien Templier b15b5cb473 ASYLUM: Identify transparency field for Actor and Object
- Rename related script opcode and function
2021-05-17 15:37:03 +02:00
Julien Templier 9bc78f83db ASYLUM: Update ScriptManager
- Rename several opcodes
- Add enumeration for script Opcodes
- Rename some called actor methods
2021-05-17 15:37:03 +02:00
Julien Templier 519f4f86f2 ASYLUM: Implement Actor::updateAndDraw() 2021-05-17 15:36:59 +02:00
Julien Templier 1db67c5c88 ASYLUM: Remove SVN keywords 2021-05-17 15:36:57 +02:00
Julien Templier 1526593cf0 ASYLUM: Replace several pairs of (x, y) parameters by Common::Point 2021-05-17 15:36:56 +02:00
Julien Templier 25df731c64 ASYLUM: Implement Wheel puzzle initialization
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@740 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:47 +02:00
Julien Templier e5b3e4c476 ASYLUM: Fix two warnings and rename two flags in Encounter class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@658 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:35 +02:00
Julien Templier b729447782 ASYLUM: Rename ActionList to ScriptManager and move to engine class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@626 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:31 +02:00
Julien Templier b0248c93fd ASYLUM: Remove obsolete methods from Scene class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@620 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:30 +02:00
Julien Templier b808ab3e2a ASYLUM: Move two encounter flags from shared data to Encounter class
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@578 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:23 +02:00
Julien Templier 351c466746 ASYLUM: Rename direction enum values
Also rename Actor::getDirection to Actor::direction and cleanup code

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@566 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:21 +02:00
Julien Templier a778f4e7a4 ASYLUM: Scene loading & actor logic
- Move ActionArea loading to its own method
- Add actor rect shared data
- Implement one more Actor::updateStatus function
- Add several Actor helper functions
- Make x, y, x1, y1, x2, y2 private and store as Common::Point

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@550 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:19 +02:00
Julien Templier 5186ad9425 ASYLUM: Moved shared data to new structure
Some flags have a longer lifetime and should not be part of the scene instance.
Those are now part of the SharedData structure.
Also implements several actor::updateStatus methods, using the new shared data

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@548 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:19 +02:00