Proper Subversion configuration.
[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);
12e6945e 29int create_other_ship (int type);
84bbd123 30int in_target (int type, double x, double y, double z);
31void check_target (int un, struct univ_object *flip);
32void check_missiles (int un);
33void draw_laser_lines (void);
34int fire_laser (void);
35void cool_laser (void);
36void arm_missile (void);
37void unarm_missile (void);
38void fire_missile (void);
39void activate_ecm (int ours);
40void time_ecm (void);
41void random_encounter (void);
42void explode_object (int un);
43void abandon_ship (void);
44void create_thargoid (void);
45void dock_it (struct univ_object *ship);
46
47
48
49#endif