Make traders (and particularly Anacondas) less hostile.
[newkind] / swat.h
CommitLineData
84bbd123 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
23extern int ecm_active;
24extern int missile_target;
25extern int in_battle;
26
27void reset_weapons (void);
28void tactics (int un);
29int in_target (int type, double x, double y, double z);
30void check_target (int un, struct univ_object *flip);
31void check_missiles (int un);
32void draw_laser_lines (void);
33int fire_laser (void);
34void cool_laser (void);
35void arm_missile (void);
36void unarm_missile (void);
37void fire_missile (void);
38void activate_ecm (int ours);
39void time_ecm (void);
40void random_encounter (void);
41void explode_object (int un);
42void abandon_ship (void);
43void create_thargoid (void);
44void dock_it (struct univ_object *ship);
45
46
47
48#endif