]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/platforms.h
(#819) Integrate LevelEditor Regions with Level
[nothing.git] / src / game / level / platforms.h
index 18844ef4f03750bafecbf1d9b64d694adedcd5a8..c0957013d04a0c35f7521ed2be165d9b9c1d89ae 100644 (file)
@@ -1,20 +1,18 @@
 #ifndef PLATFORMS_H_
 #define PLATFORMS_H_
 
-#include <SDL2/SDL.h>
+#include <SDL.h>
 
 #include "game/camera.h"
 #include "math/rect.h"
-#include "solid.h"
 
 typedef struct Platforms Platforms;
 typedef struct LineStream LineStream;
+typedef struct RectLayer RectLayer;
 
-Platforms *create_platforms_from_line_stream(LineStream *line_stream);
+Platforms *create_platforms_from_rect_layer(const RectLayer *layer);
 void destroy_platforms(Platforms *platforms);
 
-Solid_ref platforms_as_solid(Platforms *platforms);
-
 int platforms_render(const Platforms *platforms,
                      Camera *camera);