1
// $Id: KartProperties.h 499 2004-12-22 07:00:05Z grumbel $
3
// SuperTuxKart - a fun racing game with go-kart
4
// Copyright (C) 2004 Steve Baker <sjbaker1@airmail.net>
6
// This program is free software; you can redistribute it and/or
7
// modify it under the terms of the GNU General Public License
8
// as published by the Free Software Foundation; either version 2
9
// of the License, or (at your option) any later version.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
#ifndef HEADER_KARTPROPERTIES_H
21
#define HEADER_KARTPROPERTIES_H
29
class KartProperties : public NoCopy
32
Material* icon_material;
36
/** The human readable Name of the karts driver */
39
/** The computer readable-name of the karts driver */
42
/** Filename of the 3d model that is used for things kart */
43
std::string model_file;
45
/** Filename of the icon that represents the kart in the
46
statusbar and the character select screen */
47
std::string icon_file;
49
/** Filename of the image file that contains the shadow for this
51
std::string shadow_file;
53
/** Color the represents the kart in the status bar and on the
57
/** Physic properties */
68
float system_friction;
70
// ideally this constructor would be deleted
72
KartProperties(const std::string& filename);
77
Material* getIconMaterial() const;
78
ssgEntity* getModel() const;