]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/level_editor/layer_picker.h
(#1108) add development ding
[nothing.git] / src / game / level / level_editor / layer_picker.h
index a90bed2b9813758148d2b42c63fb4d667e2def96..074dd14621012de1fec2a1b0ad6b34196143280d 100644 (file)
@@ -1,20 +1,29 @@
 #ifndef LAYER_PICKER_H_
 #define LAYER_PICKER_H_
 
-typedef struct Layer Layer;
-typedef struct Camera Camera;
+#include "game/camera.h"
+
+typedef struct RectLayer RectLayer;
 
 typedef enum {
-    LAYER_PICKER_BOXES = 0,
-    LAYER_PICKER_PLATFORMS,
+    LAYER_PICKER_BACKGROUND = 0,
+    LAYER_PICKER_PLAYER,
     LAYER_PICKER_BACK_PLATFORMS,
+    LAYER_PICKER_PLATFORMS,
+    LAYER_PICKER_GOALS,
+    LAYER_PICKER_LAVA,
+    LAYER_PICKER_BOXES,
+    LAYER_PICKER_LABELS,
+    LAYER_PICKER_REGIONS,
 
     LAYER_PICKER_N
 } LayerPicker;
 
 int layer_picker_render(const LayerPicker *layer_picker,
-                        Camera *camera);
+                        const Camera *camera);
 int layer_picker_event(LayerPicker *layer_picker,
-                       const SDL_Event *event);
+                       const SDL_Event *event,
+                       const Camera *camera,
+                       bool *selected);
 
 #endif  // LAYER_PICKER_H_