aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/behavior.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-08-14 09:30:30 +0300
committerEugene Sandulenko2013-09-06 14:51:14 +0300
commit682eb87af6788cf576691ecc938da9dbc48802cf (patch)
tree0912d64e521b4dd04e79a8efd5a45cc4db09649e /engines/fullpipe/behavior.h
parentdb290e9b0ce3c0a76d42365cd9ca494605f3bf05 (diff)
downloadscummvm-rg350-682eb87af6788cf576691ecc938da9dbc48802cf.tar.gz
scummvm-rg350-682eb87af6788cf576691ecc938da9dbc48802cf.tar.bz2
scummvm-rg350-682eb87af6788cf576691ecc938da9dbc48802cf.zip
FULLPIPE: Implement BehaviorInfo::initObjectBehavior()
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 {