6 #include "game/camera.h"
7 #include "game/level/player.h"
8 #include "game/sound_samples.h"
9 #include "ebisp/expr.h"
11 typedef struct Goals Goals;
12 typedef struct LineStream LineStream;
14 Goals *create_goals_from_line_stream(LineStream *line_stream);
15 void destroy_goals(Goals *goals);
17 Rect goals_hitbox(const Goals *goals);
19 int goals_render(const Goals *goals,
21 int goals_sound(Goals *goals,
22 Sound_samples *sound_samples);
23 void goals_update(Goals *goals,
25 void goals_hide_from_player(Goals *goals,
27 void goals_checkpoint(const Goals *goals,
29 void goals_cue(Goals *goals,
30 const Camera *camera);
32 struct EvalResult goals_send(Goals *goals, Gc *gc, struct Scope *scope, struct Expr path);