2 * Elite - The New Kind.
4 * Reverse engineered from the BBC disk version of Elite.
5 * Additional material by C.J.Pinder.
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.
10 * email: <christian@newkind.co.uk>
20 #define MISSILE_UNARMED -2
21 #define MISSILE_ARMED -1
23 extern int ecm_active
;
24 extern int missile_target
;
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
);
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
);