* Add "less" target to view make output through less.
[matthijs/ABM2.git] / ABM2 / Amaltheia / modelLoader.h
1 /***************************************************************************\r
2  *   Copyright (C) 2005 by Dimitris Saougos & Filippos Papadopoulos   *\r
3  *   <psybases@gmail.com>                                                             *\r
4  *                                                                                                       *\r
5  *   This program is free software; you can redistribute it and/or modify  *\r
6  *   it under the terms of the GNU Library General Public License as       *\r
7  *   published by the Free Software Foundation; either version 2 of the    *\r
8  *   License, or (at your option) any later version.                                    *\r
9  *                                                                                                           *\r
10  *   This program is distributed in the hope that it will be useful,       *\r
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *\r
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *\r
13  *   GNU General Public License for more details.                          *\r
14  *                                                                         *\r
15  *   You should have received a copy of the GNU Library General Public     *\r
16  *   License along with this program; if not, write to the                 *\r
17  *   Free Software Foundation, Inc.,                                       *\r
18  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *\r
19  ***************************************************************************/\r
20 \r
21 #ifndef _MODELLOADER\r
22 #define _MODELLOADER\r
23 \r
24 #include"Graphics.h"\r
25 #include"md2model.h"\r
26 \r
27 #define Different_types         1\r
28 \r
29 class modelLoader;\r
30 \r
31 class modelLoader\r
32 {\r
33 private:\r
34         model *m[Different_types];\r
35 \r
36 public:\r
37         Graphics *gr;\r
38         modelLoader(Graphics *g);\r
39         ~modelLoader(void);\r
40 \r
41         c_model * getModel(int type);\r
42 };\r
43 \r
44 #endif\r