]> git.lizzy.rs Git - nothing.git/blob - src/game/level/level_editor/layer_picker.h
074dd14621012de1fec2a1b0ad6b34196143280d
[nothing.git] / src / game / level / level_editor / layer_picker.h
1 #ifndef LAYER_PICKER_H_
2 #define LAYER_PICKER_H_
3
4 #include "game/camera.h"
5
6 typedef struct RectLayer RectLayer;
7
8 typedef enum {
9     LAYER_PICKER_BACKGROUND = 0,
10     LAYER_PICKER_PLAYER,
11     LAYER_PICKER_BACK_PLATFORMS,
12     LAYER_PICKER_PLATFORMS,
13     LAYER_PICKER_GOALS,
14     LAYER_PICKER_LAVA,
15     LAYER_PICKER_BOXES,
16     LAYER_PICKER_LABELS,
17     LAYER_PICKER_REGIONS,
18
19     LAYER_PICKER_N
20 } LayerPicker;
21
22 int layer_picker_render(const LayerPicker *layer_picker,
23                         const Camera *camera);
24 int layer_picker_event(LayerPicker *layer_picker,
25                        const SDL_Event *event,
26                        const Camera *camera,
27                        bool *selected);
28
29 #endif  // LAYER_PICKER_H_