From 7218e3bd4616d4706090ec47d72845a2bb89c6a3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 4 May 2008 22:30:49 +0000 Subject: split map reading from models --- src/model/map.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/model/map.h (limited to 'src/model/map.h') diff --git a/src/model/map.h b/src/model/map.h new file mode 100644 index 0000000..2db4075 --- /dev/null +++ b/src/model/map.h @@ -0,0 +1,27 @@ +/* + model/map.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_MODEL_MAP_H__ +#define __INCLUDED_MODEL_MAP_H__ + +#include "model/model.h" + +namespace model { + +/// class to load .map files into models +class Map { + +public: + /// load a MAP file from disk + /** @param name name of the model to be loaded + */ + static Model *load(std::string const &name); + +}; + +} + +#endif // __INCLUDED_MODEL_MAP_H__ -- cgit v1.2.3