]> git.lizzy.rs Git - nothing.git/blob - src/game/level/level_editor/layer_picker.h
Merge pull request #1255 from tsoding/1253
[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     LAYER_PICKER_PP,
19
20     LAYER_PICKER_N
21 } LayerPicker;
22
23 int layer_picker_render(const LayerPicker *layer_picker,
24                         const Camera *camera);
25 int layer_picker_event(LayerPicker *layer_picker,
26                        const SDL_Event *event,
27                        const Camera *camera,
28                        bool *selected);
29
30 #endif  // LAYER_PICKER_H_