From 545b0a1e0870aaf5032d8b2b96dcfc13ae97126f Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 12 Apr 2018 23:17:02 +0200 Subject: Misc. gameplay improvements. --- src/game/game.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index 321fc0c..4773f9c 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -197,11 +197,14 @@ namespace game { float next_attempt; v2f_t last_step; + + ntime_t random_walk_time = 0; } move; bool keep_moving(double speed); bool start_moving(v2f_t dst); void stop_moving(void); + void random_walk(void); bool dead = false; double death_time = -INFINITY; -- cgit