#include <Upgrade.h>
Inherits MemoryPoolObject.
Protected Attributes | |
| UpgradeType | m_type |
| upgrade type (PLAYER or OBJECT) | |
| AsciiString | m_name |
| upgrade name | |
| NameKeyType | m_nameKey |
| name key | |
| AsciiString | m_displayNameLabel |
| String manager label for UI display name. | |
| Real | m_buildTime |
| database # for how long it takes to "build" this | |
| Int | m_cost |
| cost for production | |
| UpgradeMaskType | m_upgradeMask |
| Unique bitmask for this upgrade template. | |
| AudioEventRTS | m_researchSound |
| Sound played when upgrade researched. | |
| AudioEventRTS | m_unitSpecificSound |
| Secondary sound played when upgrade researched. | |
| AcademyClassificationType | m_academyClassificationType |
| A value used by the academy to evaluate advice based on what players do. | |
| UpgradeTemplate * | m_next |
| next | |
| UpgradeTemplate * | m_prev |
| prev | |
| AsciiString | m_buttonImageName |
| "Queue" images to show in the build queue | |
| const Image * | m_buttonImage |
Static Protected Attributes | |
| static const FieldParse | m_upgradeFieldParseTable [] |
| INI field table. | |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
| UpgradeTemplate::UpgradeTemplate | ( | void | ) |
Definition at line 131 of file Upgrade.cpp.
| void UpgradeTemplate::cacheButtonImage | ( | ) |
inventory pictures
Definition at line 208 of file Upgrade.cpp.
calc the cost to build this upgrade
Calculate the cost takes this player to build this upgrade
Definition at line 174 of file Upgrade.cpp.
time in logic frames it will take this player to "build" this UpgradeTemplate
Calculate the time it takes (in logic frames) for a player to build this UpgradeTemplate
Definition at line 157 of file Upgrade.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
| void UpgradeTemplate::friend_makeVeterancyUpgrade | ( | VeterancyLevel | v | ) |
Definition at line 194 of file Upgrade.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
INI field table.
the parse table
|
protected |