Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PlayerTemplate Class Reference

#include <PlayerTemplate.h>

Public Member Functions

 PlayerTemplate ()
 
void setNameKey (NameKeyType namekey)
 
NameKeyType getNameKey () const
 
AsciiString getName () const
 
UnicodeString getDisplayName () const
 
AsciiString getSide () const
 
AsciiString getBaseSide () const
 
const HandicapgetHandicap () const
 return the tech tree for the player.
 
const MoneygetMoney () const
 return the money for the player.
 
const RGBColorgetPreferredColor () const
 
AsciiString getStartingBuilding (void) const
 
AsciiString getStartingUnit (Int i) const
 
const ProductionChangeMapgetProductionCostChanges () const
 
const ProductionChangeMapgetProductionTimeChanges () const
 
const ProductionVeterancyMapgetProductionVeterancyLevels () const
 
Bool isObserver () const
 
Bool isPlayableSide () const
 
AsciiString getScoreScreen (void) const
 
AsciiString getLoadScreen (void) const
 
AsciiString getBeaconTemplate (void) const
 
const ImagegetHeadWaterMarkImage (void) const
 
const ImagegetFlagWaterMarkImage (void) const
 
const ImagegetEnabledImage (void) const
 
const ImagegetSideIconImage (void) const
 
const ImagegetGeneralImage (void) const
 
const AsciiString getTooltip () const
 
const AsciiString getGeneralFeatures (void) const
 
AsciiString getMedallionNormal () const
 
AsciiString getMedallionHilite () const
 
AsciiString getMedallionSelected () const
 
const ScienceVecgetIntrinsicSciences () const
 
Int getIntrinsicSciencePurchasePoints () const
 
AsciiString getPurchaseScienceCommandSetRank1 (void) const
 
AsciiString getPurchaseScienceCommandSetRank3 (void) const
 
AsciiString getPurchaseScienceCommandSetRank8 (void) const
 
AsciiString getSpecialPowerShortcutCommandSet (void) const
 
AsciiString getSpecialPowerShortcutWinName (void) const
 
Int getSpecialPowerShortcutButtonCount (void) const
 
AsciiString getLoadScreenMusic (void) const
 
AsciiString getScoreScreenMusic () const
 
Bool isOldFaction (void) const
 

Static Public Member Functions

static const FieldParsegetFieldParse ()
 

Static Protected Member Functions

static void parseStartMoney (INI *ini, void *instance, void *store, const void *)
 
static void parseProductionCostChange (INI *ini, void *instance, void *store, const void *)
 
static void parseProductionTimeChange (INI *ini, void *instance, void *store, const void *)
 
static void parseProductionVeterancyLevel (INI *ini, void *instance, void *store, const void *)
 

Detailed Description

Definition at line 73 of file PlayerTemplate.h.

Constructor & Destructor Documentation

◆ PlayerTemplate()

PlayerTemplate::PlayerTemplate ( )

Definition at line 197 of file PlayerTemplate.cpp.

Member Function Documentation

◆ getBaseSide()

AsciiString PlayerTemplate::getBaseSide ( ) const
inline

Definition at line 88 of file PlayerTemplate.h.

◆ getBeaconTemplate()

AsciiString PlayerTemplate::getBeaconTemplate ( void ) const
inline

Definition at line 109 of file PlayerTemplate.h.

◆ getDisplayName()

UnicodeString PlayerTemplate::getDisplayName ( ) const
inline

Definition at line 85 of file PlayerTemplate.h.

◆ getEnabledImage()

const Image * PlayerTemplate::getEnabledImage ( void ) const

Definition at line 234 of file PlayerTemplate.cpp.

◆ getFieldParse()

const FieldParse * PlayerTemplate::getFieldParse ( )
static

Definition at line 71 of file PlayerTemplate.cpp.

◆ getFlagWaterMarkImage()

const Image * PlayerTemplate::getFlagWaterMarkImage ( void ) const

Definition at line 216 of file PlayerTemplate.cpp.

◆ getGeneralFeatures()

const AsciiString PlayerTemplate::getGeneralFeatures ( void ) const
inline

Definition at line 120 of file PlayerTemplate.h.

◆ getGeneralImage()

const Image * PlayerTemplate::getGeneralImage ( void ) const

Definition at line 228 of file PlayerTemplate.cpp.

◆ getHandicap()

const Handicap * PlayerTemplate::getHandicap ( ) const
inline

return the tech tree for the player.

Definition at line 91 of file PlayerTemplate.h.

◆ getHeadWaterMarkImage()

const Image * PlayerTemplate::getHeadWaterMarkImage ( void ) const

Definition at line 210 of file PlayerTemplate.cpp.

◆ getIntrinsicSciencePurchasePoints()

Int PlayerTemplate::getIntrinsicSciencePurchasePoints ( ) const
inline

Definition at line 127 of file PlayerTemplate.h.

◆ getIntrinsicSciences()

const ScienceVec & PlayerTemplate::getIntrinsicSciences ( ) const
inline

Definition at line 126 of file PlayerTemplate.h.

◆ getLoadScreen()

AsciiString PlayerTemplate::getLoadScreen ( void ) const
inline

Definition at line 108 of file PlayerTemplate.h.

◆ getLoadScreenMusic()

AsciiString PlayerTemplate::getLoadScreenMusic ( void ) const
inline

Definition at line 136 of file PlayerTemplate.h.

◆ getMedallionHilite()

AsciiString PlayerTemplate::getMedallionHilite ( ) const
inline

Definition at line 123 of file PlayerTemplate.h.

◆ getMedallionNormal()

AsciiString PlayerTemplate::getMedallionNormal ( ) const
inline

Definition at line 122 of file PlayerTemplate.h.

◆ getMedallionSelected()

AsciiString PlayerTemplate::getMedallionSelected ( ) const
inline

Definition at line 124 of file PlayerTemplate.h.

◆ getMoney()

const Money * PlayerTemplate::getMoney ( ) const
inline

return the money for the player.

Definition at line 94 of file PlayerTemplate.h.

◆ getName()

AsciiString PlayerTemplate::getName ( ) const
inline

Definition at line 83 of file PlayerTemplate.h.

◆ getNameKey()

NameKeyType PlayerTemplate::getNameKey ( ) const
inline

Definition at line 82 of file PlayerTemplate.h.

◆ getPreferredColor()

const RGBColor * PlayerTemplate::getPreferredColor ( ) const
inline

Definition at line 96 of file PlayerTemplate.h.

◆ getProductionCostChanges()

const ProductionChangeMap & PlayerTemplate::getProductionCostChanges ( ) const
inline

Definition at line 101 of file PlayerTemplate.h.

◆ getProductionTimeChanges()

const ProductionChangeMap & PlayerTemplate::getProductionTimeChanges ( ) const
inline

Definition at line 102 of file PlayerTemplate.h.

◆ getProductionVeterancyLevels()

const ProductionVeterancyMap & PlayerTemplate::getProductionVeterancyLevels ( ) const
inline

Definition at line 103 of file PlayerTemplate.h.

◆ getPurchaseScienceCommandSetRank1()

AsciiString PlayerTemplate::getPurchaseScienceCommandSetRank1 ( void ) const
inline

Definition at line 128 of file PlayerTemplate.h.

◆ getPurchaseScienceCommandSetRank3()

AsciiString PlayerTemplate::getPurchaseScienceCommandSetRank3 ( void ) const
inline

Definition at line 129 of file PlayerTemplate.h.

◆ getPurchaseScienceCommandSetRank8()

AsciiString PlayerTemplate::getPurchaseScienceCommandSetRank8 ( void ) const
inline

Definition at line 130 of file PlayerTemplate.h.

◆ getScoreScreen()

AsciiString PlayerTemplate::getScoreScreen ( void ) const
inline

Definition at line 107 of file PlayerTemplate.h.

◆ getScoreScreenMusic()

AsciiString PlayerTemplate::getScoreScreenMusic ( ) const
inline

Definition at line 137 of file PlayerTemplate.h.

◆ getSide()

AsciiString PlayerTemplate::getSide ( ) const
inline

Definition at line 87 of file PlayerTemplate.h.

◆ getSideIconImage()

const Image * PlayerTemplate::getSideIconImage ( void ) const

Definition at line 222 of file PlayerTemplate.cpp.

◆ getSpecialPowerShortcutButtonCount()

Int PlayerTemplate::getSpecialPowerShortcutButtonCount ( void ) const
inline

Definition at line 134 of file PlayerTemplate.h.

◆ getSpecialPowerShortcutCommandSet()

AsciiString PlayerTemplate::getSpecialPowerShortcutCommandSet ( void ) const
inline

Definition at line 132 of file PlayerTemplate.h.

◆ getSpecialPowerShortcutWinName()

AsciiString PlayerTemplate::getSpecialPowerShortcutWinName ( void ) const
inline

Definition at line 133 of file PlayerTemplate.h.

◆ getStartingBuilding()

AsciiString PlayerTemplate::getStartingBuilding ( void ) const
inline

Definition at line 98 of file PlayerTemplate.h.

◆ getStartingUnit()

AsciiString PlayerTemplate::getStartingUnit ( Int i) const

Definition at line 132 of file PlayerTemplate.cpp.

◆ getTooltip()

const AsciiString PlayerTemplate::getTooltip ( ) const
inline

Definition at line 119 of file PlayerTemplate.h.

◆ isObserver()

Bool PlayerTemplate::isObserver ( ) const
inline

Definition at line 104 of file PlayerTemplate.h.

◆ isOldFaction()

Bool PlayerTemplate::isOldFaction ( void ) const
inline

Definition at line 139 of file PlayerTemplate.h.

◆ isPlayableSide()

Bool PlayerTemplate::isPlayableSide ( ) const
inline

Definition at line 105 of file PlayerTemplate.h.

◆ parseProductionCostChange()

void PlayerTemplate::parseProductionCostChange ( INI * ini,
void * instance,
void * store,
const void *  )
staticprotected

Definition at line 142 of file PlayerTemplate.cpp.

◆ parseProductionTimeChange()

void PlayerTemplate::parseProductionTimeChange ( INI * ini,
void * instance,
void * store,
const void *  )
staticprotected

Definition at line 153 of file PlayerTemplate.cpp.

◆ parseProductionVeterancyLevel()

void PlayerTemplate::parseProductionVeterancyLevel ( INI * ini,
void * instance,
void * store,
const void *  )
staticprotected

Definition at line 164 of file PlayerTemplate.cpp.

◆ parseStartMoney()

void PlayerTemplate::parseStartMoney ( INI * ini,
void * instance,
void * store,
const void *  )
staticprotected

Parse integer money and deposit in the m_money

Definition at line 179 of file PlayerTemplate.cpp.

◆ setNameKey()

void PlayerTemplate::setNameKey ( NameKeyType namekey)
inline

Definition at line 80 of file PlayerTemplate.h.


The documentation for this class was generated from the following files: