Commit Graph
60 Commits
Author SHA1 Message Date
Julien Templier 9b7e72932d ASYLUM: Fix object debug command
- Remove debug output in Object::toString()
- Added pack id & resource index to full output

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@503 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:12 +02:00
Julien Templier 43805ab2d8 ASYLUM: Fix some problems with the Actor code
- Fix typos that prevented updateStatus functions from being called
- Initalize the encounter flags properly
- Update error strings for not yet implemented special sound functions

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@502 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:12 +02:00
Julien Templier 8eafe1b911 ASYLUM: Backed out revision 495 (fix object disable)
The flag update was done properly and the same as in the original.
The change prevented objects from being disabled and they would
stay on screen all the time.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@501 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:12 +02:00
Julien Templier eae999fed4 ASYLUM: Implement special logic for chapter 2 (remaining part), 5 & 9
- Fix graphic resource leak in Actor & Object
- Replace WorldStats targetX, targetY and following variables into
a coordinate array.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@498 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:11 +02:00
Alex Bevilacqua d8457b0bc2 ASYLUM: enhance "objects" console command
this command now takes a format option of "idx" or "id" so you can look up an object entry by its internal id as well as it's physical location within the objects array.

Also enhanced Objects::toString with an optional formatting parameter that displays a short dump or a long dump.

sample usage:

objects idx 51   // summary view of object at array index 51
objects id 1258  // detail view of object with id of 1258
objects          // show all objects (summary list)

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@496 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:11 +02:00
Alex Bevilacqua 62305021da ASYLUM: fix object disable (actor is now no longer hidden after the first script runs)
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@495 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:11 +02:00
Julien Templier 659a3e281e ASYLUM: Reduce header inter-dependency
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@494 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:10 +02:00
Julien Templier 9eb5d19d3b ASYLUM: Implement Object::setVolume()
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@490 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:10 +02:00
Julien Templier 582794ff12 ASYLUM: Implement special logic for chapters 1, parts of 2, 3, 4 and 6
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@488 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:10 +02:00
Julien Templier ce330b1a45 ASYLUM: Rename Barrier to Object
git-svn-id: http://asylumengine.googlecode.com/svn/trunk@486 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
2021-05-17 15:36:09 +02:00