_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <upgrade_structs.h>
Public Member Functions | |
| void | SetIcon (CIcon *icon) |
Public Attributes | |
| std::string | Ident |
| std::string | Name |
| identifier More... | |
| int | ID |
| upgrade label More... | |
| int | Costs [MaxCosts] |
| numerical id More... | |
| CIcon * | Icon |
| costs for the upgrade More... | |
upgrade.cpp - The upgrade/allow functions. | |
| CUpgrade (const std::string &ident) | |
| ~CUpgrade () | |
| static CUpgrade * | New (const std::string &ident) |
| static CUpgrade * | Get (const std::string &ident) |
The main useable upgrades.
| CUpgrade::CUpgrade | ( | const std::string & | ident | ) |
| CUpgrade::~CUpgrade | ( | ) |
|
static |
Get an upgrade
| ident | Upgrade identifier |
|
static |
Create a new upgrade
| ident | Upgrade identifier |
| int CUpgrade::Costs[MaxCosts] |
numerical id
| CIcon* CUpgrade::Icon |
costs for the upgrade
| int CUpgrade::ID |
upgrade label
| std::string CUpgrade::Ident |
| std::string CUpgrade::Name |
identifier
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.