From 33b50738e63a3c79861bcfd88cb39377f85776c4 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 23 Sep 2008 07:43:41 +0000 Subject: added dead reckoning to the characters --- src/game/gamecore.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/gamecore.hpp') 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); -- cgit 1.4.1