diff options
Diffstat (limited to 'engines/fullpipe/behavior.h')
-rw-r--r-- | engines/fullpipe/behavior.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/fullpipe/behavior.h b/engines/fullpipe/behavior.h index 1ec98d5bf2..e534371442 100644 --- a/engines/fullpipe/behavior.h +++ b/engines/fullpipe/behavior.h @@ -25,23 +25,23 @@ namespace Fullpipe { -struct BehaviorEntryInfo { +struct BehaviorMove { MessageQueue *_messageQueue; int _delay; uint32 _percent; int _flags; - BehaviorEntryInfo(GameVar *subvar, Scene *sc, int *delay); + BehaviorMove(GameVar *subvar, Scene *sc, int *delay); }; -struct BehaviorEntry { +struct BehaviorAnim { int _staticsId; - int _itemsCount; + int _movesCount; int _flags; - BehaviorEntryInfo **_items; + BehaviorMove **_behaviorMoves; - BehaviorEntry(); - BehaviorEntry(GameVar *var, Scene *sc, StaticANIObject *ani, int *minDelay); + BehaviorAnim(); + BehaviorAnim(GameVar *var, Scene *sc, StaticANIObject *ani, int *minDelay); }; struct BehaviorInfo { @@ -51,8 +51,8 @@ struct BehaviorInfo { int _counterMax; int _flags; int _subIndex; - int _itemsCount; - Common::Array<BehaviorEntry *> _bheItems; + int _animsCount; + Common::Array<BehaviorAnim *> _behaviorAnims; BehaviorInfo() { clear(); } @@ -75,14 +75,14 @@ class BehaviorManager : public CObject { void initBehavior(Scene *scene, GameVar *var); void updateBehaviors(); - void updateBehavior(BehaviorInfo *behaviorInfo, BehaviorEntry *entry); - void updateStaticAniBehavior(StaticANIObject *ani, int delay, BehaviorEntry *beh); + void updateBehavior(BehaviorInfo *behaviorInfo, BehaviorAnim *entry); + void updateStaticAniBehavior(StaticANIObject *ani, int delay, BehaviorAnim *beh); bool setBehaviorEnabled(StaticANIObject *obj, int aniId, int quId, int flag); void setFlagByStaticAniObject(StaticANIObject *ani, int flag); - BehaviorEntryInfo *getBehaviorEntryInfoByMessageQueueDataId(StaticANIObject *ani, int id1, int id2); + BehaviorMove *getBehaviorMoveByMessageQueueDataId(StaticANIObject *ani, int id1, int id2); }; } // End of namespace Fullpipe |