aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_xeen/map.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-22 19:40:22 -0500
committerPaul Gilbert2018-02-23 15:23:20 -0500
commitbb19a6c771396e415e5007968ae843d220a5f2e5 (patch)
tree69ad667351ca72ef2e0fd15781856a9791067c25 /devtools/create_xeen/map.h
parent2f6ca8f45ec6ef8bf86adc3ab60346fa9d14f6a9 (diff)
downloadscummvm-rg350-bb19a6c771396e415e5007968ae843d220a5f2e5.tar.gz
scummvm-rg350-bb19a6c771396e415e5007968ae843d220a5f2e5.tar.bz2
scummvm-rg350-bb19a6c771396e415e5007968ae843d220a5f2e5.zip
XEEN: Add custom maze to the create_xeen tool
This could be used as an example of how other new maps could be added in the future, and it also gives people a cool result if they try typing 'ScummVM' into the teleport mirror
Diffstat (limited to 'devtools/create_xeen/map.h')
-rw-r--r--devtools/create_xeen/map.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/devtools/create_xeen/map.h b/devtools/create_xeen/map.h
new file mode 100644
index 0000000000..fa64789d55
--- /dev/null
+++ b/devtools/create_xeen/map.h
@@ -0,0 +1,38 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 (at your option) 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef MAP_H
+#define MAP_H
+
+#include "common/scummsys.h"
+#include "cc.h"
+
+struct MirrorEntry {
+ char _name[28];
+ byte _mapId;
+ int8 _posX, _posY;
+ byte _direction;
+};
+
+extern void writeMap(CCArchive &cc);
+
+#endif