Revision 327
progress
proj_structures.h | ||
---|---|---|
17 | 17 |
|
18 | 18 |
typedef struct { |
19 | 19 |
// host |
20 |
double host_x;
|
|
21 |
double host_y;
|
|
22 |
double host_angle;
|
|
23 |
double host_health;
|
|
24 |
double host_current_health;
|
|
20 |
float host_x;
|
|
21 |
float host_y;
|
|
22 |
float host_angle;
|
|
23 |
float host_health;
|
|
24 |
float host_current_health;
|
|
25 | 25 |
|
26 | 26 |
// remote |
27 |
double remote_x;
|
|
28 |
double remote_y;
|
|
29 |
double remote_angle;
|
|
30 |
double remote_health;
|
|
31 |
double remote_current_health;
|
|
27 |
float remote_x;
|
|
28 |
float remote_y;
|
|
29 |
float remote_angle;
|
|
30 |
float remote_health;
|
|
31 |
float remote_current_health;
|
|
32 | 32 |
|
33 | 33 |
// bullets |
34 |
size_t no_bullets;
|
|
35 |
double *bullets_x;
|
|
36 |
double *bullets_y;
|
|
37 |
double *bullets_vx;
|
|
38 |
double *bullets_vy;
|
|
39 |
bool *bullets_shooter; // false for host, true for remote |
|
34 |
uint8_t no_bullets;
|
|
35 |
float *bullets_x;
|
|
36 |
float *bullets_y;
|
|
37 |
float *bullets_vx;
|
|
38 |
float *bullets_vy;
|
|
39 |
bool *bullets_shooter; // false for host, true for remote
|
|
40 | 40 |
} host_info_t; |
41 | 41 |
|
42 | 42 |
typedef struct { |
Also available in: Unified diff