aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/set.h
diff options
context:
space:
mode:
authorPeter Kohaut2016-09-20 00:33:06 +0200
committerEugene Sandulenko2016-09-29 22:33:41 +0200
commitcfc8ffed8af71714cc6378b412557d5fc03781d4 (patch)
treec6b1d8c1f2d8f6c8dc3702d706baf60eba34ae7d /engines/bladerunner/set.h
parent7e7cf4e748172f956fddb7c6f21f34bfef058242 (diff)
downloadscummvm-rg350-cfc8ffed8af71714cc6378b412557d5fc03781d4.tar.gz
scummvm-rg350-cfc8ffed8af71714cc6378b412557d5fc03781d4.tar.bz2
scummvm-rg350-cfc8ffed8af71714cc6378b412557d5fc03781d4.zip
BLADERUNNER: fixed exit selection, added footstep sounds, added some debugging display (scene objects, regions, exits, walkboxes, lights?)
Diffstat (limited to 'engines/bladerunner/set.h')
-rw-r--r--engines/bladerunner/set.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/engines/bladerunner/set.h b/engines/bladerunner/set.h
index 18fde76ee3..8d9c97b232 100644
--- a/engines/bladerunner/set.h
+++ b/engines/bladerunner/set.h
@@ -49,15 +49,20 @@ struct Object {
struct Walkbox {
char _name[20];
float _altitude;
- uint32 _vertexCount;
+ int _vertexCount;
Vector3 _vertices[8];
};
class Set {
+#if _DEBUG
+ friend class BladeRunnerEngine;
+#endif
+
BladeRunnerEngine *_vm;
- uint32 _objectCount;
- uint32 _walkboxCount;
+ bool _loaded;
+ int _objectCount;
+ int _walkboxCount;
Object *_objects;
Walkbox *_walkboxes;
int _walkboxStepSound[85];
@@ -86,6 +91,15 @@ public:
void objectSetIsObstacle(int objectId, bool isObstacle);
void objectSetIsTarget(int objectId, bool isTarget);
const char *objectGetName(int objectId);
+
+ void setWalkboxStepSound(int walkboxId, int soundId);
+ void setFoodstepSoundOverride(int soundId);
+ void resetFoodstepSoundOverride();
+ int getWalkboxSoundWalkLeft(int walkboxId);
+ int getWalkboxSoundWalkRight(int walkboxId);
+ int getWalkboxSoundRunLeft(int walkboxId);
+ int getWalkboxSoundRunRight(int walkboxId);
+
};
} // End of namespace BladeRunner