____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <upgrade_structs.h>
Public Member Functions | |
| CAllow () | |
| void | Clear () |
Public Attributes | |
| int | Units [UnitTypeMax] |
| maximum amount of units allowed | |
This could allow/disallow units, actions or upgrades.
Values are:
Definition at line 104 of file upgrade_structs.h.
| CAllow::CAllow | ( | ) | [inline] |
| void CAllow::Clear | ( | void | ) | [inline] |
| int CAllow::Units[UnitTypeMax] |
maximum amount of units allowed
Definition at line 112 of file upgrade_structs.h.
Referenced by AllowUnitId(), CPlayer::CheckLimits(), Clear(), and UnitIdAllowed().
1.5.6