Proper Subversion configuration.
[newkind] / swat.h
1 /*
2 * Elite - The New Kind.
3 *
4 * Reverse engineered from the BBC disk version of Elite.
5 * Additional material by C.J.Pinder.
6 *
7 * The original Elite code is (C) I.Bell & D.Braben 1984.
8 * This version re-engineered in C by C.J.Pinder 1999-2001.
9 *
10 * email: <christian@newkind.co.uk>
11 *
12 *
13 */
14
15 #ifndef SWAT_H
16 #define SWAT_H
17
18 #include "space.h"
19
20 #define MISSILE_UNARMED -2
21 #define MISSILE_ARMED -1
22
23 extern int ecm_active;
24 extern int missile_target;
25 extern int in_battle;
26
27 void reset_weapons (void);
28 void tactics (int un);
29 int create_other_ship (int type);
30 int in_target (int type, double x, double y, double z);
31 void check_target (int un, struct univ_object *flip);
32 void check_missiles (int un);
33 void draw_laser_lines (void);
34 int fire_laser (void);
35 void cool_laser (void);
36 void arm_missile (void);
37 void unarm_missile (void);
38 void fire_missile (void);
39 void activate_ecm (int ours);
40 void time_ecm (void);
41 void random_encounter (void);
42 void explode_object (int un);
43 void abandon_ship (void);
44 void create_thargoid (void);
45 void dock_it (struct univ_object *ship);
46
47
48
49 #endif