]> git.lizzy.rs Git - nothing.git/commitdiff
Try to fix MSVC build
authorrexim <reximkut@gmail.com>
Sun, 5 Jan 2020 20:10:06 +0000 (03:10 +0700)
committerrexim <reximkut@gmail.com>
Sun, 5 Jan 2020 20:10:06 +0000 (03:10 +0700)
src/game/level/level_editor/rect_layer.c
src/game/level/level_editor/rect_layer.h

index 63f76846982119963b2ac6116f5f7ad66dd14e04..65ce1d809ee478b4ba222d95e0913c654c8caa6a 100644 (file)
@@ -10,9 +10,7 @@
 #include "color.h"
 #include "rect_layer.h"
 #include "dynarray.h"
-#include "color_picker.h"
 #include "system/str.h"
-#include "ui/edit_field.h"
 #include "undo_history.h"
 #include "game/level/action.h"
 #include "game.h"
@@ -21,8 +19,6 @@
 #define RECT_LAYER_SELECTION_THICCNESS 15.0f
 #define RECT_LAYER_ID_LABEL_SIZE vec(3.0f, 3.0f)
 #define CREATE_AREA_THRESHOLD 10.0
-#define RECT_LAYER_GRID_ROWS 3
-#define RECT_LAYER_GRID_COLUMNS 4
 
 static int rect_clipboard = 0;
 static Rect rect_clipboard_rect;
index 495fd9792fa3f95426c6f1c000607b2fd9a5cddb..f1cb7ddba930b9110d89db43d4bd29bd6d709785 100644 (file)
@@ -4,6 +4,9 @@
 #include "layer.h"
 #include "game/level/action.h"
 #include "ui/cursor.h"
+#include "dynarray.h"
+#include "color_picker.h"
+#include "ui/edit_field.h"
 
 typedef struct RectLayer RectLayer;