aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/set.h
diff options
context:
space:
mode:
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