Alexandre Fontoura
0c8d8a9208
ASYLUM: kJumpBarrierFrame (0x51) command done.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@318 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:44 +02:00
Alexandre Fontoura
e9bde0e965
ASYLUM: Few script commands work.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@317 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:44 +02:00
Alexandre Fontoura
11d86e9e9c
ASYLUM: More draw barriers done. Graphics Queue are now in Screen class. Did some refactor and clean up.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@316 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alex Bevilacqua
051d5d3244
ASYLUM: Formatting
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@315 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
619f8f86f6
ASYLUM: Preparing draw barriers...
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@314 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
ff72e9b326
ASYLUM: Refactoring and clean up!
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@313 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
d185c257c7
ASYLUM: ops (commented debugScreenScrolling)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@312 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
844ad2ab50
ASYLUM: Clean up!
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@311 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
0a8407801a
ASYLUM: Fixed memory leaked.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@310 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:43 +02:00
Alexandre Fontoura
cb24392707
ASYLUM: More Barriers work. Fixed DestroyBarrier command.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@309 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alexandre Fontoura
688356d898
ASYLUM: Some work on processing Barriers. (Still WIP). This will initiate a change in Scene Update function to make it like original game. Some functions are already declared but nothing was done yet.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@308 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alex Bevilacqua
d6d90b7e3a
ASYLUM: Add command "dump_action". This currently just prints out a list of ALL available actionAreas within the current scene resource. The logic to print out a single actionArea will come once the getActionAreaById (or index) is implemented.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@307 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alex Bevilacqua
11bbfc3cab
ASYLUM: properly initialize the scene's actionAreas :D :D :D
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@306 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alex Bevilacqua
a5218007dc
ASYLUM: oops again (left debug screen scrolling on)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@305 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alex Bevilacqua
55dd466b7a
ASYLUM: oops (warning -> debugC)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@304 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alex Bevilacqua
08d786e46e
ASYLUM: * Add a reference to the scene resource's actor[0] to the mainActor instance (this is an interim hack until we refactor the actor class to include ALL actor data)
...
* Add a toggle_flag command to the console
* Clear flag 183 when the current action has been processessed
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@303 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:42 +02:00
Alexandre Fontoura
d9348e1388
ASYLUM: Reorganization Flags under Shared for the upcoming work on Update routines. Start working on UpdateBarrier(incomplete)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@302 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alex Bevilacqua
7cef62988d
ASYLUM: * Added a console command to show the currently active game flags
...
* Tweaked the logic for the JumpIfFlagSet opcode
* Added the two flag registrations that would be set if the intro ran to the main engine (so we can disable the intro for now)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@301 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alex Bevilacqua
f48ab391ac
ASYLUM: Fixed a bug from the original game that caused the application to be locked (and occasionally crash) due to the fact that the application was locked in a while loop during the playing of the first sfx item after the intro video.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@298 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alexandre Fontoura
bffebfd830
ASYLUM: More work on PlayAnimations. Still playing all animation initially (need proper updateBarrier).
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@297 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alexandre Fontoura
9e18edaee3
ASYLUM: Some work on PlayAnimation command. It will only work with a proper BarrierUpdate according with each flag type.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@296 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alex Bevilacqua
e629ab0934
ASYLUM: Properly abstract remaining scene variable access and remove friend association to ScriptMan
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@295 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:41 +02:00
Alex Bevilacqua
f75fea2be6
ASYLUM: formatting
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@294 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alex Bevilacqua
26d456e5be
ASYLUM: Game startup sequence added, and some minor cleanups.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@293 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alex Bevilacqua
54682e1f44
ASYLUM: Utilities class renamed to Shared. All common resources bound to shared singleton so they can be used by all engine components without needing a direct reference back to the engine variables (Screen, Sound, Video, Scene).
...
Better Pathfinding (you can actually walk around now)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@292 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alexandre Fontoura
04c2840c49
ASYLUM: Fixed GameFlag related commands in script.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@291 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
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
03e46ac514
ASYLUM: Minor update in Video file to allow displaying subtitles with special characters like "ã á ç é È, etc.".
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@289 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:40 +02:00
Alex Bevilacqua
1769959bf8
ASYLUM: * A little work on Encounters (not much)
...
* The beginnings of actor pathfinding
* Created a new singleton called Utils (utilities.cpp/h). Need feedback as to whether or not we should use this as the common container for objects we only ever need to instantiate once (like screen, sound, video .. etc).
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@288 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +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
Alexandre Fontoura
6aeb8057ce
ASYLUM: Finished VCR BlowUpPuzzle code.(Still missing some sound features like loop and stop specific sounds)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@285 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Alexandre Fontoura
914e970a7c
ASYLUM: Fixed previous commit mistaken files. Plus add support for TV sync while VCR ON.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@284 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Alexandre Fontoura
5b1c7c9a83
ASYLUM: More VCR puzzle done. [Now with button states working]
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@283 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:39 +02:00
Filippos Karapetis
f2b0c32fca
ASYLUM: Updated the MSVC project file
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@282 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Filippos Karapetis
db63436dcc
ASYLUM: Fixed compilation
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@281 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +02:00
Alex Bevilacqua
6922206396
ASYLUM: updated svn:props (was on a conference call with a client and had some time to kill :P)
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@280 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:38 +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
18197d2106
ASYLUM: Implementation of plug-in/out jacks on VCR BlowUpPuzzle.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@276 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
141ac36aa8
ASYLUM: Better implementation of grabbing jacks. All 3 jacks working now.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@273 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:36 +02:00
Alexandre Fontoura
405fdc6e08
ASYLUM: Fixed off-screen exceptions. First concept of display graphics by priority (Already working for VCR jacks).
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@272 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:36 +02:00
Alexandre Fontoura
df4d55d55c
ASYLUM: Fixed jack shadow and cursor update.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@271 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:36 +02:00
Alexandre Fontoura
e377059aee
ASYLUM: Some work on grabbing Black Jack in VCR BlowUpPuzzle. It still buggy. See comments for more detail.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@270 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:36 +02:00
Alexandre Fontoura
c00b822cb7
ASYLUM: BlowUpPuzzleVCR cursor with animation while regions.
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@269 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +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
49ca9374f0
ASYLUM: Simplify loading of default action list
...
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@266 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:35:35 +02:00