Add can_shoot and draw_tracer to util.c
This commit is contained in:
		| @@ -34,6 +34,7 @@ cl_entity_t* get_player(int ent_idx); | ||||
| bool is_alive(cl_entity_t* ent); | ||||
| bool valid_player(cl_entity_t* ent); | ||||
| bool is_friend(cl_entity_t* ent); | ||||
| bool can_shoot(void); | ||||
| char* get_name(int ent_idx); | ||||
| game_id get_cur_game(void); | ||||
| vec3_t vec3(float x, float y, float z); | ||||
| @@ -48,6 +49,7 @@ vec3_t vec_to_ang(vec3_t v); | ||||
| vec3_t matrix_3x4_origin(matrix_3x4 m); | ||||
| bool world_to_screen(vec3_t vec, vec2_t screen); | ||||
| void engine_draw_text(int x, int y, char* s, rgb_t c); | ||||
| void draw_tracer(vec3_t start, vec3_t end, rgb_t c, float a, float w, float t); | ||||
| void gl_drawbox(int x, int y, int w, int h, rgb_t c); | ||||
| void gl_drawline(int x0, int y0, int x1, int y1, float w, rgb_t col); | ||||
| bool protect_addr(void* ptr, int new_flags); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user