$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
CUpgradeModifier () | |
Public Attributes | |
int | UpgradeId |
CUnitStats | Modifier |
used to filter required modifier | |
int | ChangeUnits [UnitTypeMax] |
modifier of unit stats. | |
char | ChangeUpgrades [UpgradeMax] |
add/remove allowed units | |
char | ApplyTo [UnitTypeMax] |
allow/forbid upgrades | |
CUnitType * | ConvertTo |
which unit types are affected |
CUpgradeModifier::CUpgradeModifier | ( | ) | [inline] |
used to filter required modifier
int CUpgradeModifier::ChangeUnits[UnitTypeMax] |
modifier of unit stats.
char CUpgradeModifier::ChangeUpgrades[UpgradeMax] |
add/remove allowed units
char CUpgradeModifier::ApplyTo[UnitTypeMax] |
allow/forbid upgrades
which unit types are affected