#ifndef INCLUDE_BULLETS #define INCLUDE_BULLETS #include #include "players.h" #include "objects.h" #include "map.h" #include "guns.h" typedef struct t_bullet { u32 player_id; bool active; vec3f position; float endx; float endy; float alive_time; int damage; } bullet; bullet bullets[500] = {0}; int max_bullets = 500; void clear_bullets(); void shoot(platform_window* window, u32 id, float dirx, float diry); void draw_bullets(platform_window* window); #endif