X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgame%2Flevel%2Fboxes.h;h=207d1278906c76e6c9f6444cc9c99fcbd65daf55;hb=dc356739e8d0bc20bf62c2ca034d1b1122e4aea4;hp=608c36b862c085f45009b1e5fb0893270f3dd445;hpb=622f30bacaf4ce4d89a3857b21412f79befe525a;p=nothing.git diff --git a/src/game/level/boxes.h b/src/game/level/boxes.h index 608c36b8..207d1278 100644 --- a/src/game/level/boxes.h +++ b/src/game/level/boxes.h @@ -4,13 +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_line_stream(LineStream *line_stream); +Boxes *create_boxes_from_line_stream(LineStream *line_stream, RigidBodies *rigid_bodies); void destroy_boxes(Boxes *boxes); int boxes_render(Boxes *boxes, Camera *camera); @@ -21,6 +22,7 @@ void boxes_float_in_lava(Boxes *boxes, Lava *lava); int boxes_add_to_physical_world(const Boxes *boxes, Physical_world *Physical_world); -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_