]> git.lizzy.rs Git - nothing.git/blob - src/game/level/labels.h
(#639) Make rigid bodies interact with platforms
[nothing.git] / src / game / level / labels.h
1 #ifndef LABELS_H_
2 #define LABELS_H_
3
4 #include "math/point.h"
5 #include "color.h"
6 #include "ebisp/expr.h"
7
8 typedef struct Labels Labels;
9 typedef struct Camera Camera;
10 typedef struct LineStream LineStream;
11
12 Labels *create_labels_from_line_stream(LineStream *line_stream);
13 void destroy_labels(Labels *label);
14
15 int labels_render(const Labels *label,
16                   Camera *camera);
17 void labels_update(Labels *label,
18                    float delta_time);
19 void labels_enter_camera_event(Labels *label,
20                                const Camera *camera);
21
22 struct EvalResult
23 labels_send(Labels *labels, Gc *gc, struct Scope *scope, struct Expr path);
24
25 #endif  // LABELS_H_