_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
PlayerRace Class Reference

#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...
 

Detailed Description

Races for the player Mapped with PlayerRaces to a symbolic name.

Constructor & Destructor Documentation

◆ PlayerRace()

PlayerRace::PlayerRace ( )
inline

Member Function Documentation

◆ Clean()

void PlayerRace::Clean ( )

Clean up the PlayerRaces names.

◆ GetRaceIndexByName()

int PlayerRace::GetRaceIndexByName ( const char *  raceName) const

Member Data Documentation

◆ Count

unsigned int PlayerRace::Count

text to display in pulldown

◆ Display

std::string PlayerRace::Display[MAX_RACES]

race names

◆ Name

std::string PlayerRace::Name[MAX_RACES]

race should be visible in pulldown

◆ Visible

bool PlayerRace::Visible[MAX_RACES]

The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.