diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 07:43:41 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-23 07:43:41 +0000 |
| commit | 33b50738e63a3c79861bcfd88cb39377f85776c4 (patch) | |
| tree | a7857f0b219e02337da6d8a1a6b66693760b9b6e /src/game/gamecore.hpp | |
| parent | e21b6983abaefd0037435c76e9b41cfbbfbe51d5 (diff) | |
| download | zcatch-33b50738e63a3c79861bcfd88cb39377f85776c4.tar.gz zcatch-33b50738e63a3c79861bcfd88cb39377f85776c4.zip | |
added dead reckoning to the characters
Diffstat (limited to 'src/game/gamecore.hpp')
| -rw-r--r-- | src/game/gamecore.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/gamecore.hpp b/src/game/gamecore.hpp index 1f9dda81..08634909 100644 --- a/src/game/gamecore.hpp +++ b/src/game/gamecore.hpp @@ -137,12 +137,15 @@ public: int hooked_player; int jumped; + + int direction; + int angle; NETOBJ_PLAYER_INPUT input; int triggered_events; void reset(); - void tick(); + void tick(bool use_input); void move(); void read(const NETOBJ_CHARACTER_CORE *obj_core); |