diff options
| author | savander <savander.pl@gmail.com> | 2014-09-21 14:54:06 +0200 |
|---|---|---|
| committer | savander <savander.pl@gmail.com> | 2014-09-21 14:54:06 +0200 |
| commit | 684ae6c63e0f78ee9ab9b06926607225014bfc8f (patch) | |
| tree | b42407c38c7e03c516e8e77d7126ee95df70c3d4 /src/game/server/entities/character.h | |
| parent | 836e03aaa5adb888387c34129b8c39a94dc359b3 (diff) | |
| download | zcatch-684ae6c63e0f78ee9ab9b06926607225014bfc8f.tar.gz zcatch-684ae6c63e0f78ee9ab9b06926607225014bfc8f.zip | |
Update
Diffstat (limited to 'src/game/server/entities/character.h')
| -rw-r--r-- | src/game/server/entities/character.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/server/entities/character.h b/src/game/server/entities/character.h index 0d68707a..240ee0e2 100644 --- a/src/game/server/entities/character.h +++ b/src/game/server/entities/character.h @@ -73,6 +73,8 @@ public: bool HasBeenThereRecently(vec2 v, const vec2 *&pos, int firstTick, int lastTick) const; bool AimedAtCharRecently(vec2 v, const CCharacter *c, const vec2 *&pos, const vec2 *&posVictim, int firstTick); float HowCloseToXRecently(vec2 x, const vec2 *&pos, int firstTick); + void SetEmoteType(int EmoteType) { m_EmoteType = EmoteType; }; + void SetEmoteStop(int EmoteStop) { m_EmoteStop = EmoteStop; }; private: // player controlling this character @@ -105,6 +107,7 @@ private: int m_EmoteType; int m_EmoteStop; + // last tick that the player took any action ie some input int m_LastAction; int m_LastNoAmmoSound; |