From bb19a6c771396e415e5007968ae843d220a5f2e5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 22 Feb 2018 19:40:22 -0500 Subject: 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 --- devtools/create_xeen/map.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 devtools/create_xeen/map.h (limited to 'devtools/create_xeen/map.h') 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 -- cgit v1.2.3