* Add "less" target to view make output through less.
[matthijs/ABM2.git] / ABM2 / Amaltheia / modelLoader.h
diff --git a/ABM2/Amaltheia/modelLoader.h b/ABM2/Amaltheia/modelLoader.h
new file mode 100644 (file)
index 0000000..01aa42c
--- /dev/null
@@ -0,0 +1,44 @@
+/***************************************************************************\r
+ *   Copyright (C) 2005 by Dimitris Saougos & Filippos Papadopoulos   *\r
+ *   <psybases@gmail.com>                                                             *\r
+ *                                                                                                       *\r
+ *   This program is free software; you can redistribute it and/or modify  *\r
+ *   it under the terms of the GNU Library General Public License as       *\r
+ *   published by the Free Software Foundation; either version 2 of the    *\r
+ *   License, or (at your option) any later version.                                    *\r
+ *                                                                                                           *\r
+ *   This program is distributed in the hope that it will be useful,       *\r
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *\r
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *\r
+ *   GNU General Public License for more details.                          *\r
+ *                                                                         *\r
+ *   You should have received a copy of the GNU Library General Public     *\r
+ *   License along with this program; if not, write to the                 *\r
+ *   Free Software Foundation, Inc.,                                       *\r
+ *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *\r
+ ***************************************************************************/\r
+\r
+#ifndef _MODELLOADER\r
+#define _MODELLOADER\r
+\r
+#include"Graphics.h"\r
+#include"md2model.h"\r
+\r
+#define Different_types                1\r
+\r
+class modelLoader;\r
+\r
+class modelLoader\r
+{\r
+private:\r
+       model *m[Different_types];\r
+\r
+public:\r
+       Graphics *gr;\r
+       modelLoader(Graphics *g);\r
+       ~modelLoader(void);\r
+\r
+       c_model * getModel(int type);\r
+};\r
+\r
+#endif\r