X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgame%2Flevel%2Fboxes.h;h=207d1278906c76e6c9f6444cc9c99fcbd65daf55;hb=dc356739e8d0bc20bf62c2ca034d1b1122e4aea4;hp=10389ffd21ad47638bc745622d7a6af54d6bcb79;hpb=888f315ff20c48d5220b7bfccaed59d300b2cf12;p=nothing.git diff --git a/src/game/level/boxes.h b/src/game/level/boxes.h index 10389ffd..207d1278 100644 --- a/src/game/level/boxes.h +++ b/src/game/level/boxes.h @@ -11,7 +11,7 @@ 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); @@ -22,8 +22,6 @@ 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);