_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
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 | |
| CAllow () | |
| void | Clear () |
Public Attributes | |
| int | Units [UnitTypeMax] |
| char | Upgrades [UpgradeMax] |
| maximum amount of units allowed More... | |
Allow what a player can do. Every CPlayer has an own allow struct.
This could allow/disallow units, actions or upgrades.
Values are:
|
inline |
|
inline |
| int CAllow::Units[UnitTypeMax] |
| char CAllow::Upgrades[UpgradeMax] |
maximum amount of units allowed
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.