]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/goals.h
(#819) Integrate LevelEditor Regions with Level
[nothing.git] / src / game / level / goals.h
index 624a91b0d6524250f046df435f268872bf27af41..b1783ebf1158a39ded04214cb907a6dd23d3714d 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef GOALS_H_
 #define GOALS_H_
 
-#include <SDL2/SDL.h>
+#include <SDL.h>
 
 #include "game/camera.h"
 #include "game/level/player.h"
@@ -13,7 +13,7 @@ typedef struct LineStream LineStream;
 typedef struct PointLayer PointLayer;
 
 Goals *create_goals_from_line_stream(LineStream *line_stream);
-Goals *create_goals_from_point_rect_layer(PointLayer *point_rect_layer);
+Goals *create_goals_from_point_layer(const PointLayer *point_layer);
 void destroy_goals(Goals *goals);
 
 Rect goals_hitbox(const Goals *goals);