summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-14 17:13:36 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-14 17:23:35 +0100
commit36a95838d17ffaee4020a2aba832af6636591df4 (patch)
tree8853eb8623970201d009a4a4637e5451c9103f8c /src/game/game.hpp
parentd376eb30b8363f712e3a0bbc04ea584547c09e65 (diff)
Rework collision masks and improve AI.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp8
1 files changed, 4 insertions, 4 deletions
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;