summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r--src/resources/dye.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h
index 442a514d7..efcf95420 100644
--- a/src/resources/dye.h
+++ b/src/resources/dye.h
@@ -23,11 +23,11 @@
#ifndef DYE_H
#define DYE_H
+#include "resources/dyecolor.h"
+
#include <string>
#include <vector>
-#include <SDL_stdinc.h>
-
#include "localconsts.h"
const int dyePalateSize = 9;
@@ -83,10 +83,7 @@ class DyePalette final
static int hexDecode(const signed char c) A_WARN_UNUSED;
private:
- struct Color
- { unsigned char value[4]; };
-
- std::vector<Color> mColors;
+ std::vector<DyeColor> mColors;
};
/**