From 36a95838d17ffaee4020a2aba832af6636591df4 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 14 Dec 2017 17:13:36 +0100 Subject: Rework collision masks and improve AI. --- src/game/game.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index 55e3c45..fdb2348 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -12,9 +12,9 @@ namespace game { }; enum { - CF_NONE = 0, - CF_SOLID = 1, - CF_HUMAN = 2 + CF_SOLID = 1, + CF_BODY = 2, + CF_BODY_SMALL = 4 }; extern size_t selection_cookie; @@ -79,7 +79,7 @@ namespace game { void place(world::world_t *world_, v2f_t x_); bool keep_moving(double speed); - bool start_moving(v2f_t dst); + bool start_moving(v2f_t dst, world::cflags_t cflags); bool awake = false; double wake_time = -INFINITY; -- cgit