$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

CUpgradeModifier Class Reference

#include <upgrade_structs.h>

List of all members.


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
CUnitTypeConvertTo
 which unit types are affected

Detailed Description

This is the modifier of an upgrade. This do the real action of an upgrade, an upgrade can have multiple modifiers.

Constructor & Destructor Documentation

CUpgradeModifier::CUpgradeModifier (  )  [inline]


Member Data Documentation

used to filter required modifier

modifier of unit stats.

add/remove allowed units

char CUpgradeModifier::ApplyTo[UnitTypeMax]

allow/forbid upgrades

which unit types are affected


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