44bad6348d2dfe74d980270ad03bd066bba26473
1 #include <stdbool.h>
5 #define MAX_PLAYERS 32
6 #define MAX_BULLETS (MAX_PLAYERS * 8)
7 #define TICK_DELAY (1000 / 40)
8 #define BULLET_TIME (TICK_DELAY * 6)
9 #define PLAYER_SIZE 0.01785
12 /* public */
17 /* internal */
22 /* public */
29 /* internal */
36 void g_player_set(unsigned int id, bool live, float x, float y, float r, float vx, float vy, float vr);
37 void g_bullet_set(unsigned int id, unsigned int owner, bool live, float x, float y, float vx, float vy, int tick);