22 #ifndef GNAP_CHARACTER_H 23 #define GNAP_CHARACTER_H 45 const int kMaxGridStructs = 30;
54 virtual int getSequenceId(
int kind,
Common::Point gridPos) = 0;
55 virtual void playSequence(
int sequenceId) = 0;
56 virtual void updateIdleSequence() = 0;
57 virtual void updateIdleSequence2() = 0;
58 virtual void initPos(
int gridX,
int gridY, Facing facing) = 0;
59 virtual int getWalkSequenceId(
int deltaX,
int deltaY) = 0;
60 virtual bool walkTo(
Common::Point gridPos,
int animationIndex,
int sequenceId,
int flags) = 0;
72 int _walkDestX, _walkDestY;
73 int _walkDeltaX, _walkDeltaY, _walkDirX, _walkDirY, _walkDirXIncr, _walkDirYIncr;
83 void initPos(
int gridX,
int gridY, Facing facing)
override;
84 void playSequence(
int sequenceId)
override;
85 void updateIdleSequence()
override;
86 void updateIdleSequence2()
override;
87 int getWalkSequenceId(
int deltaX,
int deltaY)
override;
88 bool walkTo(
Common::Point gridPos,
int animationIndex,
int sequenceId,
int flags)
override;
90 void actionIdle(
int sequenceId);
91 bool doPlatypusAction(
int gridX,
int gridY,
int platSequenceId,
int callback);
92 int getShowSequenceId(
int index,
int gridX,
int gridY);
93 Facing getWalkFacing(
int deltaX,
int deltaY);
94 int getWalkStopSequenceId(
int deltaX,
int deltaY);
96 void initBrainPulseRndValue();
97 void kissPlatypus(
int callback);
106 void playShowCurrItem(
Common::Point destPos,
int gridLookX,
int gridLookY);
107 void playShowItem(
int itemIndex,
int gridLookX,
int gridLookY);
109 void useDeviceOnPlatypus();
110 void useDisguiseOnPlatypus();
111 void useJointOnPlatypus();
114 int _brainPulseRndValue;
117 bool findPath1(
int gridX,
int gridY,
int index);
118 bool findPath2(
int gridX,
int gridY,
int index);
119 bool findPath3(
int gridX,
int gridY);
120 bool findPath4(
int gridX,
int gridY);
128 void initPos(
int gridX,
int gridY, Facing facing)
override;
129 void playSequence(
int sequenceId)
override;
130 void updateIdleSequence()
override;
131 void updateIdleSequence2()
override;
132 int getWalkSequenceId(
int deltaX,
int deltaY)
override;
133 bool walkTo(
Common::Point gridPos,
int animationIndex,
int sequenceId,
int flags)
override;
138 bool findPath1(
int gridX,
int gridY,
int index);
139 bool findPath2(
int gridX,
int gridY,
int index);
140 bool findPath3(
int gridX,
int gridY);
141 bool findPath4(
int gridX,
int gridY);
145 #endif // GNAP_CHARACTER_H Definition: character.h:79
Definition: character.h:47
Definition: character.h:25
Definition: character.h:123
Definition: character.h:38