summaryrefslogtreecommitdiff
path: root/src/resources/map/tileinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-11 20:05:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-11 20:05:29 +0300
commit2c302cc6cb54881fbe354cc9d5a9997788f63e56 (patch)
tree9cef7d73dca25c523038ddb2ce13d49349596b27 /src/resources/map/tileinfo.h
parent3bbfd3d36990113d7e91724625f4a347412dd883 (diff)
downloadplus-2c302cc6cb54881fbe354cc9d5a9997788f63e56.tar.gz
plus-2c302cc6cb54881fbe354cc9d5a9997788f63e56.tar.bz2
plus-2c302cc6cb54881fbe354cc9d5a9997788f63e56.tar.xz
plus-2c302cc6cb54881fbe354cc9d5a9997788f63e56.zip
Add structure for tile object.
Now it contains only image pointer.
Diffstat (limited to 'src/resources/map/tileinfo.h')
-rw-r--r--src/resources/map/tileinfo.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/resources/map/tileinfo.h b/src/resources/map/tileinfo.h
new file mode 100644
index 000000000..4edd6d2b9
--- /dev/null
+++ b/src/resources/map/tileinfo.h
@@ -0,0 +1,38 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015 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 RESOURCES_MAP_TILEINFO_H
+#define RESOURCES_MAP_TILEINFO_H
+
+#include "localconsts.h"
+
+class Image;
+
+struct TileInfo final
+{
+ TileInfo() :
+ image(nullptr)
+ {
+ }
+
+ Image *image;
+};
+
+#endif // RESOURCES_MAP_TILEINFO_H