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 SHIPFACE_H |
16 | #define SHIPFACE_H |
17 | |
18 | struct ship_face |
19 | { |
20 | int colour; |
21 | int norm_x; |
22 | int norm_y; |
23 | int norm_z; |
24 | int points; |
25 | int p1; |
26 | int p2; |
27 | int p3; |
28 | int p4; |
29 | int p5; |
30 | int p6; |
31 | int p7; |
32 | int p8; |
33 | }; |
34 | |
35 | |
36 | struct ship_solid |
37 | { |
38 | int num_faces; |
39 | struct ship_face *face_data; |
40 | }; |
41 | |
42 | extern struct ship_solid ship_solids[]; |
43 | |
44 | #endif |