Julien Templier
f0c46d5e7c
ASYLUM: Implement remaining opcodes
...
- Add relevant needed stubs in Actor/Sound/Scene/Screen/Engine classes
- Have Encounter & BlowUpPuzzle compile again
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@470 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:07 +02:00
Julien Templier
df74fd7a7c
ASYLUM: Implement Set/Clear/JumpIfActionType opcodes
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@469 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
ffddfcd8db
ASYLUM: Use typed resource ID
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@468 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
3935d274fa
ASYLUM: Cleanup ActionList and implement more opcodes
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@467 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
bf064f3788
ASYLUM: Cleanup some actor-related opcodes
...
- Add enum for Actor visibility flags
- Get rid of GET_ACTOR macro (a call to Scene::getActor() is enough)
- Misc cleanups
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@466 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
744b1c1a80
ASYLUM: Introduce GameFlag enumeration
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@465 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
7f7f332bac
ASYLUM: Add macro to encapsulate ticks logging in updateScene and disable by default
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@464 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
6958752a3f
ASYLUM: Enhance Actor class
...
- Finish implementation of updateStatus
- Move updateActorSub01 from Scene to Actor
- Allow reloading of GraphicResource data
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@463 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:06 +02:00
Julien Templier
4a3e37e814
ASYLUM: Finish implementing kPlaySpeech opcode
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@462 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Julien Templier
589fdc3196
ASYLUM: Implement more opcodes logic
...
- Update PlayAnimation, Hide/Show/Enable/DisableActor, UpdateActorStatus
- Implement StopSound
- Add enums for actor members status & direction
- Move actor related methods from Scene to Actor
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@461 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Julien Templier
44b58d8437
ASYLUM: Refactor Asylum engine class
...
- Properly register Debugger
- Change constructor to take an ADGameDescription* parameter
- Reduce header interdependencies
- Cleanup members variables and methods
- Add engine namespace description
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@460 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Julien Templier
36d4208beb
ASYLUM: Refactor ActionList class
...
- Construct script opcode array at runtime
- Make all opcode functions methods of the ActionList class
- Rename _actionFlag to _skipProcessing (and update opcode name)
- Make class variables private and add a couple accessors
- Remove debug opcode return code
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@459 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Alex Bevilacqua
afb4a6a3b5
ASYLUM: re-organize trunk
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@456 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Alex Bevilacqua
5d48974ebd
ASYLUM: reimplement main menu
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@455 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:05 +02:00
Alex Bevilacqua
16d01549c0
ASYLUM: whitespace cleanup
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@454 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Alex Bevilacqua
6119be865d
ASYLUM: change isAttached to isActive for console debugger check
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@453 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Alex Bevilacqua
53a233697d
ASYLUM: pass actor index to updateActor (as opposed to just grabbing the default actor each time)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@452 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Joseph Davies
8b8a843282
ASYLUM: Changes for VideoDecoder in trunk.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@451 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Joseph Davies
a2fcb22eed
ASYLUM: Add support for subtitles configuration option.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@450 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Filippos Karapetis
92ebb5af97
ASYLUM: Silenced a warning
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@449 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Filippos Karapetis
e5beddf490
ASYLUM: Fixed compilation
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@448 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:04 +02:00
Joseph Davies
362cce9b63
ASYLUM: Changes for Debug Manager in trunk.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@447 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Alex Bevilacqua
d467701cc7
ASYLUM: set svn props
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@446 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Alex Bevilacqua
17fec87f91
ASYLUM: fixed cppcheck warning (Mismatching allocation and deallocation)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@445 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Alex Bevilacqua
3fdd3ab5b9
ASYLUM: silenced a couple gcc warnings
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@444 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Joseph Davies
c31a0d39c8
ASYLUM: Fix warning introduced by r442.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@443 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Joseph Davies
6a94eee3c2
ASYLUM: Changed uses of rand() to utilize AsylumeEngine::_rnd instead (Issue #4 ).
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@442 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:03 +02:00
Joseph Davies
ed378d586c
ASYLUM: Fixed clipping (Issue #5 ). Fixed sprite delay when scrolling by using backbuffer.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@441 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
8ffc46acb2
ASYLUM: fix compile with latest trunk
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@440 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
63941ec0c5
ASYLUM: include "common/random.h"
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@439 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
748960b9b6
ASYLUM: new debug level for barriers
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@438 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
0194e07fcc
ASYLUM: added detection entry for version from gog.com
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@437 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
784ee55823
ASYLUM: clean up
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@436 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:02 +02:00
Alex Bevilacqua
36f4a64535
ASYLUM: fix warning (extra ;)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@435 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Alex Bevilacqua
bc43a2bfd5
ASYLUM: remove global_x/y (find a better way ... and actually finish it :P)
...
cleanup adjustScreen() a bit
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@434 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Alex Bevilacqua
81a5094f20
ASYLUM: formatting
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@433 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Alex Bevilacqua
21b7c50021
ASYLUM: identified a couple more actor object properties
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@432 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Joseph Davies
4665c8c55e
ASYLUM: Syncing with more ScummVM audio changes in trunk.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@431 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Alex Bevilacqua
a9b15453b7
ASYLUM: fixed the _mixer calls again since playRaw has recently been removed from trunk. Also added a FIXME since we'll eventually have to clip the panning/volume values to use them properly
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@430 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:01 +02:00
Alex Bevilacqua
97e1f0ea7c
ASYLUM: fix _mixer->playRaw to work with latest ScummVM trunk
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@429 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
9d72b587bd
ASYLUM: read the rest of the actor struct out of the res file
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@428 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
da61880d8e
ASYLUM: This commit breaks A LOT of existing functionality. It also introduces a slew of new functions (namely hittests). For the time being, I'm disabling Menus, Encounters and BlowupPuzzles, as these were all implemented with incorrect cursor handling.
...
Feel free to revert to a previous version if you want to try something out, but for the next little while (as I get cursors working more accurately), these features will be unavailable.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@427 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
fdf91af171
ASYLUM: Forgot this from r425. This removes the old setPosition and replaces it with the more appropriate one.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@426 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
823d5417e1
ASYLUM: renamed kSetActorStats to kSetActorPosition and cleaned up a bit
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@425 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
1c5c6401c9
ASYLUM: make kShowActor as complete since we now have a stub for function 401320 (which, like in previous cases, depends of field_970, which has yet to be set)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@424 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:00 +02:00
Alex Bevilacqua
d50801e013
ASYLUM: somewhat simplified kEnableBarriers
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@423 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00
Alex Bevilacqua
a56c334e95
ASYLUM: Implemented an unknown opcode (kClearActorField970). Also added stub for a kHideActor update that is not going to be used until a call to action 0x5D is necessary.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@422 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00
Alex Bevilacqua
d396b0daae
ASYLUM: added updateSoundItems (from 0040D0E0)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@421 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00
Alex Bevilacqua
fadb6681e4
ASYLUM: updates to kDisableActor and kHideActor. Disabled kRunBlowUpPuzzle for now.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@420 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00
Filippos Karapetis
c0e8a9532e
ASYLUM: ActionArea is a class, not a struct
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@419 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:59 +02:00