Make traders (and particularly Anacondas) less hostile.
[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 in_target (int type, double x, double y, double z);
30 void check_target (int un, struct univ_object *flip);
31 void check_missiles (int un);
32 void draw_laser_lines (void);
33 int fire_laser (void);
34 void cool_laser (void);
35 void arm_missile (void);
36 void unarm_missile (void);
37 void fire_missile (void);
38 void activate_ecm (int ours);
39 void time_ecm (void);
40 void random_encounter (void);
41 void explode_object (int un);
42 void abandon_ship (void);
43 void create_thargoid (void);
44 void dock_it (struct univ_object *ship);
45
46
47
48 #endif