_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <player.h>
Public Member Functions | |
| PlayerRace () | |
player.cpp - The players. | |
| void | Clean () |
| int | GetRaceIndexByName (const char *raceName) const |
Public Attributes | |
| bool | Visible [MAX_RACES] |
| std::string | Name [MAX_RACES] |
| race should be visible in pulldown More... | |
| std::string | Display [MAX_RACES] |
| race names More... | |
| unsigned int | Count |
| text to display in pulldown More... | |
Races for the player Mapped with PlayerRaces to a symbolic name.
|
inline |
| void PlayerRace::Clean | ( | ) |
Clean up the PlayerRaces names.
| int PlayerRace::GetRaceIndexByName | ( | const char * | raceName | ) | const |
| unsigned int PlayerRace::Count |
text to display in pulldown
| std::string PlayerRace::Display[MAX_RACES] |
race names
| std::string PlayerRace::Name[MAX_RACES] |
race should be visible in pulldown
| bool PlayerRace::Visible[MAX_RACES] |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.