]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/background.h
(#639) Make rigid bodies interact with platforms
[nothing.git] / src / game / level / background.h
index f0eec8c019007a16966acd552c5fed0f096dfa71..65a516b962882a2675bbfbbb39f125feba5ead7e 100644 (file)
@@ -7,9 +7,10 @@
 #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,