1 #ifndef GAMEMODE_ASSAULT_H
2 #define GAMEMODE_ASSAULT_H
4 .entity assault_decreaser;
5 .entity assault_sprite;
8 const int HAVOCBOT_AST_ROLE_NONE = 0;
9 const int HAVOCBOT_AST_ROLE_DEFENSE = 2;
10 const int HAVOCBOT_AST_ROLE_OFFENSE = 4;
12 .int havocbot_role_flags;
13 .float havocbot_attack_time;
15 .void() havocbot_role;
16 .void() havocbot_previous_role;
18 void() havocbot_role_ast_defense;
19 void() havocbot_role_ast_offense;
20 .entity havocbot_ast_target;
22 void(entity bot) havocbot_ast_reset_role;
25 const float ST_ASSAULT_OBJECTIVES = 1;
26 const float SP_ASSAULT_OBJECTIVES = 4;
28 // predefined spawnfuncs
29 void target_objective_decrease_activate();