____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

CAllow Class Reference

#include <upgrade_structs.h>

List of all members.

Public Member Functions

 CAllow ()
void Clear ()

Public Attributes

int Units [UnitTypeMax]
 maximum amount of units allowed


Detailed Description

Allow what a player can do. Every CPlayer has an own allow struct.

This could allow/disallow units, actions or upgrades.

Values are:

Definition at line 104 of file upgrade_structs.h.


Constructor & Destructor Documentation

CAllow::CAllow (  )  [inline]

Definition at line 106 of file upgrade_structs.h.

References Clear().


Member Function Documentation

void CAllow::Clear ( void   )  [inline]

Definition at line 108 of file upgrade_structs.h.

References Units.

Referenced by CAllow().


Member Data Documentation

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().


The documentation for this class was generated from the following file:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6