summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-01 13:56:14 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-01 13:56:14 +0200
commit2c8e84a3d2fe93f84d0ffca63967e81a03534c00 (patch)
tree508859df1523d85afc5bc618e8511306a3b4b821 /src/game/game.hpp
parentbe628dc7f9c32ca84674c8717f07cc15a40f333c (diff)
Split units.cpp.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 331c1d1..517f74a 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -164,6 +164,8 @@ namespace game {
class fx_move_marker_t;
+ unit_t *find_target(world::world_t *world, v2f_t x, float r, bool friendly);
+
class unit_t : public entity_t {
protected:
double next_targetting = -INFINITY;