9cf281db56ddee37c6d7374df081dd853a433c6c
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>
51 #define MAX_UNIV_OBJECTS 20
53 extern struct univ_object universe
[MAX_UNIV_OBJECTS
];
54 extern int ship_count
[NO_OF_SHIPS
+ 1]; /* many */
58 void clear_universe (void);
59 int add_new_ship (int ship_type
, int x
, int y
, int z
, struct vector
*rotmat
, int rotx
, int rotz
);
60 void add_new_station (double sx
, double sy
, double sz
, Matrix rotmat
);
61 void remove_ship (int un
);
62 void move_univ_object (struct univ_object
*obj
);
63 void update_universe (void);
65 void update_console (void);
67 void update_altitude (void);
68 void update_cabin_temp (void);
69 void regenerate_shields (void);
71 void increase_flight_roll (void);
72 void decrease_flight_roll (void);
73 void increase_flight_climb (void);
74 void decrease_flight_climb (void);
75 void dock_player (void);
77 void damage_ship (int damage
, int front
);
78 void decrease_energy (int amount
);
80 extern int hyper_ready
;
82 void start_hyperspace (void);
83 void start_galactic_hyperspace (void);
84 void display_hyper_status (void);
85 void countdown_hyperspace (void);
86 void jump_warp (void);
87 void launch_player (void);
89 void engage_docking_computer (void);
90 void display_condition(void);
91 void update_condition(void);