summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-03-28 14:17:47 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-03-28 14:17:47 +0200
commit6966908022e36df9fb4c5e2233603a6fef18e97d (patch)
tree1540097e60001636cbe752d8fb1e459f45081e41 /src/game/game.hpp
parentaa4731d2e1305ea4fb6d59032026bf1ce6f2b65d (diff)
Pie menu; start redoing shooting mechanics.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 025aa12..848ba92 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -96,8 +96,7 @@ namespace game {
namespace text {
typedef enum {
- LANG_ENGLISH,
- LANG_POLISH
+ LANG_ENGLISH
} language_t;
extern language_t language;
@@ -113,6 +112,10 @@ namespace game {
SAY_READY_GROUP,
SAY_MOVING,
SAY_MOVING_GROUP,
+ SAY_STOPPING,
+ SAY_STOPPING_GROUP,
+ SAY_FIRING,
+ SAY_FIRING_GROUP,
SAY_PANIC,
UNIT_NAME_SPIDER,
UNIT_NAME_SOLDIER,
@@ -195,6 +198,7 @@ namespace game {
bool keep_moving(double speed);
bool start_moving(v2f_t dst);
+ void stop_moving(void);
bool dead = false;
double death_time = -INFINITY;
@@ -230,7 +234,11 @@ namespace game {
double panic_end;
double panic_turn;
+ bool manual_firing = false;
+ v2f_t manual_firing_target;
+
void check_area(void);
+ void shoot(v2f_t aim);
void target_and_attack(void);
public: