1 /***************************************************************************
\r
2 * Copyright (C) 2005 by Dimitris Saougos & Filippos Papadopoulos *
\r
3 * <psybases@gmail.com> *
\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
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
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
21 #include "modelLoader.h"
\r
23 modelLoader::modelLoader(Graphics *g)
\r
26 m[0]=new model("tris.md2", "masked.bmp",g);
\r
30 modelLoader::~modelLoader(void)
\r
33 for (i=0;i<Different_types;i++)
\r
39 c_model * modelLoader::getModel(int type)
\r
43 ctmp=new c_model(m[type]);
\r
44 ctmp->setFrameSequence("stand");
\r