]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/script.h
(#694) Fix box pushing mechanics
[nothing.git] / src / game / level / script.h
index 8f610bb533de1394ae22f10d937786a8044bc3a8..d5b1d66b40637a5351e563158037dd0230d6dd8d 100644 (file)
@@ -1,12 +1,14 @@
 #ifndef SCRIPT_H_
 #define SCRIPT_H_
 
+#include <stdbool.h>
+
 typedef struct Script Script;
 typedef struct LineStream LineStream;
-typedef struct Game Game;
+typedef struct Broadcast Broadcast;
 
 Script *create_script_from_line_stream(LineStream *line_stream,
-                                       Game *game);
+                                       Broadcast *broadcast);
 void destroy_script(Script *script);
 
 // TODO(#470): script_eval accepting string instead of expr is very error prone