Alexandre Fontoura
b3d7287a2f
ASYLUM: ScriptManager command action variable is now a pointer, to allow some commands to override parameter values.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@290 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alexandre Fontoura
f63ccbf79a
ASYLUM: Implementation of dew little commands. Change some command names.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@287 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Alexandre Fontoura
66d248b589
ASYLUM: Changed struct of BlowUpPuzzle (its now part of a scene Scene). Need REVIEW please.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@286 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Alex Bevilacqua
a607878207
ASYLUM: Cleanup and comments
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@279 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Alex Bevilacqua
17959bf930
ASYLUM: More accurate implementation of kPlaySpeech
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@278 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Alexandre Fontoura
7910161572
ASYLUM: Fixed setPalette and fixed some warnings.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@275 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Alex Bevilacqua
533ca05548
ASYLUM: A little more work on kEnableBarriers. None of the switch cases are there since none seem to be taken in Chapter 1. Also, all cases tend to alter Field_67C, which usually refers back to the script counter. Since nothing seems to affect the flags, I'm not sure if we're updating the scene properly :(
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@274 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:37 +02:00
Alexandre Fontoura
100118ec5c
ASYLUM: More BlowUpPuzzle work. Press B to Switch between Scene & BlowUpPuzzle for test.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@268 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +02:00
Alex Bevilacqua
024b4734f5
ASYLUM: updated opcode list as per r258
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@267 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +02:00
Alex Bevilacqua
def25effdc
ASYLUM: * killed a couple old forward declarations
...
* removed WorldStats variable instance
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@264 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +02:00
Alex Bevilacqua
0a4aa79d62
ASYLUM: * Removed the setTarget (action/barrier) logic that was started, but never used (it's not necessary as target info is determined by various script actions).
...
* INCOMPLETE kEnableBarriers and kEnableActor. I'm slowly working through this, but figure if maybe someone sees how it's coming, they can hope in and lend a hand ;)
* added ALL opcode cases, along with their corresponding hex values. This is just for the time being, and is for my own reference. It will NOT be part of the final code once the opcode methods have been fully implemented.
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@263 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +02:00
Alexandre Fontoura
927804b212
ASYLUM: First steps for BlowUpPuzzles
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@259 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:34 +02:00
Joseph Davies
ac7e83c21a
ASYLUM: Formatting.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@256 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:34 +02:00
Joseph Davies
54108200ee
ASYLUM: Cleaned up extra newline. Debug function inserts one automatically.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@254 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:34 +02:00
Joseph Davies
2b6a4d17c5
ASYLUM: Added kJumpIfGameFlag case.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@253 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:33 +02:00
Alex Bevilacqua
aab9670897
ASYLUM: Properly initialize the gameflags array and set the (what I'm assuming to be) ENTER_SCENE flag (though it's listed as Process Action List in the wiki at the moment .. which could be right)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@251 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:33 +02:00
Alex Bevilacqua
476f1d207a
ASYLUM: started working on game flags. Also implemented a couple unknown fields on the scene
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@250 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:33 +02:00
Alex Bevilacqua
d36733373b
ASYLUM: lock/unlock input event processing depending on whether the show/hide cursor action has been processed
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@249 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:33 +02:00
Alex Bevilacqua
5cbfdcd695
ASYLUM: Started work on pathfinding. Currently I've disabled screen edge scrolling, and am drawing the active walk-able region's polygon
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@247 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:33 +02:00
Alex Bevilacqua
44e189d2d9
ASYLUM: * printf -> debugC
...
* added bounds check to scene switch console command
* fixed crash when switching scenes
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@244 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:32 +02:00
Alex Bevilacqua
0af5fd7f83
ASYLUM: minor cleanup and debug output (sev, those printf's will be removed as soon as they've served their purpose ... scout's honour :D)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@243 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:32 +02:00
Alex Bevilacqua
16ea284ef6
ASYLUM: * re-enabled script debugging
...
* added kDebugScripts debugC calls back to processActionList()
* cleanup
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@242 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:32 +02:00
Alex Bevilacqua
3cfa2cbb4c
ASYLUM: Reworked the interpreter into a singleton ScriptManager. This will allow scripts to be run without needing access to an engine variable, and will allow us to remove some of the scene processing hacks.
...
Scripts are now being run on click events. This is pretty buggy, but it's to be expected at this point :)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@240 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:32 +02:00