aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/behavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/behavior.h')
-rw-r--r--engines/fullpipe/behavior.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/fullpipe/behavior.h b/engines/fullpipe/behavior.h
index 7cddabc0af..ecb7d3a428 100644
--- a/engines/fullpipe/behavior.h
+++ b/engines/fullpipe/behavior.h
@@ -37,6 +37,8 @@ struct BehaviorEntry {
int _itemsCount;
int _flags;
BehaviorEntryInfo **_items;
+
+ BehaviorEntry(CGameVar *var, Scene *sc, StaticANIObject *ani, int *maxDelay);
};
struct BehaviorInfo {
@@ -49,8 +51,11 @@ struct BehaviorInfo {
int _itemsCount;
Common::Array<BehaviorEntry *> _bheItems;
+ BehaviorInfo() { clear(); }
+
+ void clear();
void initAmbientBehavior(CGameVar *var);
- void initObjectBehavior(CGameVar *var, Scene *sceneObj, StaticANIObject *ani);
+ void initObjectBehavior(CGameVar *var, Scene *sc, StaticANIObject *ani);
};
class BehaviorManager : public CObject {