summaryrefslogtreecommitdiff
path: root/src/enums/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-06 17:40:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-06 17:40:26 +0300
commit1d563a171844af47aa013519618ad018d2b194ea (patch)
treeacfd151ade17f31992dbc24fa1948dab19083885 /src/enums/resources
parent99cca58b333793bec5c916870901e964360ed4f4 (diff)
downloadmanaplus-1d563a171844af47aa013519618ad018d2b194ea.tar.gz
manaplus-1d563a171844af47aa013519618ad018d2b194ea.tar.bz2
manaplus-1d563a171844af47aa013519618ad018d2b194ea.tar.xz
manaplus-1d563a171844af47aa013519618ad018d2b194ea.zip
Add image type for image classes. for detect what kind of class used in image.
Diffstat (limited to 'src/enums/resources')
-rw-r--r--src/enums/resources/imagetype.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/enums/resources/imagetype.h b/src/enums/resources/imagetype.h
new file mode 100644
index 000000000..8e42fb380
--- /dev/null
+++ b/src/enums/resources/imagetype.h
@@ -0,0 +1,33 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2016 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_RESOURCES_IMAGETYPE_H
+#define ENUMS_RESOURCES_IMAGETYPE_H
+
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(ImageType)
+{
+ Image = 0,
+ SubImage = 1
+}
+enumEnd(ImageType);
+
+#endif // ENUMS_RESOURCES_IMAGETYPE_H