]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/background.h
(#819) Integrate LevelEditor Regions with Level
[nothing.git] / src / game / level / background.h
index f0eec8c019007a16966acd552c5fed0f096dfa71..ad0f5a0112bcf4ae9de3b82f3ea426718aa284e5 100644 (file)
@@ -1,15 +1,16 @@
 #ifndef BACKGROUND_H_
 #define BACKGROUND_H_
 
-#include <SDL2/SDL.h>
+#include <SDL.h>
 
 #include "color.h"
 #include "game/camera.h"
 
 typedef struct Background Background;
+typedef struct LineStream LineStream;
 
 Background *create_background(Color base_color);
-Background *create_background_from_stream(FILE *stream);
+Background *create_background_from_line_stream(LineStream *line_stream);
 void destroy_background(Background *background);
 
 int background_render(const Background *background,