]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/boxes.h
(#639) Introduce rigid_bodies_collide_with_itself
[nothing.git] / src / game / level / boxes.h
index 76f8e5bde3782c7ef687431ee14f8ebe4efc83c4..10389ffd21ad47638bc745622d7a6af54d6bcb79 100644 (file)
@@ -4,12 +4,14 @@
 #include "game/camera.h"
 #include "game/level/platforms.h"
 #include "lava.h"
+#include "ebisp/expr.h"
 
 typedef struct Boxes Boxes;
 typedef struct Player Player;
 typedef struct Physical_world Physical_world;
+typedef struct LineStream LineStream;
 
-Boxes *create_boxes_from_stream(FILE *stream);
+Boxes *create_boxes_from_line_stream(LineStream *line_stream);
 void destroy_boxes(Boxes *boxes);
 
 int boxes_render(Boxes *boxes, Camera *camera);
@@ -22,4 +24,7 @@ int boxes_add_to_physical_world(const Boxes *boxes,
 
 Rigid_rect *boxes_rigid_rect(Boxes *boxes, const char *id);
 
+struct EvalResult
+boxes_send(Boxes *boxes, Gc *gc, struct Scope *scope, struct Expr path);
+
 #endif  // BOXES_H_