Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-04 22:30:49 +0000
committerStijn Buys <ingar@osirion.org>2008-05-04 22:30:49 +0000
commit7218e3bd4616d4706090ec47d72845a2bb89c6a3 (patch)
treecbf3fdb0dddf573edff89b50af22e8a84690cf00 /src/model/map.h
parent33e45d8052b385aa8b1fce68122c8d11f50e7e42 (diff)
split map reading from models
Diffstat (limited to 'src/model/map.h')
-rw-r--r--src/model/map.h27
1 files changed, 27 insertions, 0 deletions
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__