rotagon/obs.h
2015-01-01 06:19:10 +01:00

35 lines
518 B
C

/*
** obs.h - <+DESC+>
**
** 2014 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/
#ifndef OBS_H
#define OBS_H
void
init_obs(struct s_game *g);
void
add_obstacle(struct s_game *g, struct s_obstacle o);
struct s_obstacle
create_obstacle(int thick, int face, int speed);
void
delete_obstacle(struct s_game *g, int obs);
void
draw_obstacles(struct s_game *g);
void
update_obstacles(struct s_game *g);
void
add_random_obstacle(struct s_game *g);
int
check_collisions(struct s_game *g);
#endif /* ndef OBS_H */