]> git.lizzy.rs Git - nothing.git/blob - src/game/level/regions.h
(#639) Make rigid bodies interact with platforms
[nothing.git] / src / game / level / regions.h
1 #ifndef REGIONS_H_
2 #define REGIONS_H_
3
4 #include "math/rect.h"
5
6 typedef struct Regions Regions;
7 typedef struct Player Player;
8 typedef struct LineStream LineStream;
9 typedef struct Level Level;
10 typedef struct Camera Camera;
11
12 Regions *create_regions_from_line_stream(LineStream *line_stream, Broadcast *broadcast);
13 void destroy_regions(Regions *regions);
14
15 int regions_render(Regions *regions, Camera *camera);
16
17 void regions_player_enter(Regions *regions, Player *player);
18 void regions_player_leave(Regions *regions, Player *player);
19
20 #endif  // REGIONS_H_