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

       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"

AiHelper Class Reference

#include <ai_local.h>

List of all members.

Public Attributes

std::vector< std::vector
< CUnitType * > > 
Train
std::vector< std::vector
< CUnitType * > > 
Build
std::vector< std::vector
< CUnitType * > > 
Repair
std::vector< std::vector
< CUnitType * > > 
UnitLimit
std::vector< std::vector
< CUnitType * > > 
Equiv


Detailed Description

AI Helper.

Contains informations needed for the AI. If the AI needs a unit or building or upgrade or spell, it could lookup in this tables to find where it could be trained or built.

Definition at line 226 of file ai_local.h.


Member Data Documentation

std::vector<std::vector<CUnitType *> > AiHelper::Train

The index is the unit that should be trained, giving a table of all units/buildings which could train this unit.

Definition at line 232 of file ai_local.h.

Referenced by AiCountUnitBuilders(), AiMakeUnit(), FreeAi(), and InitAiHelper().

std::vector<std::vector<CUnitType *> > AiHelper::Build

The index is the unit that should be build, giving a table of all units/buildings which could build this unit.

Definition at line 237 of file ai_local.h.

Referenced by AiCountUnitBuilders(), AiMakeUnit(), FreeAi(), and InitAiHelper().

std::vector<std::vector<CUnitType *> > AiHelper::Repair

The index is the unit that should be repaired, giving a table of all units/buildings which could repair this unit.

Definition at line 242 of file ai_local.h.

Referenced by AiRepairUnit(), FreeAi(), and InitAiHelper().

std::vector<std::vector<CUnitType *> > AiHelper::UnitLimit

The index is the unit-limit that should be solved, giving a table of all units/buildings which could reduce this unit-limit.

Definition at line 247 of file ai_local.h.

Referenced by FreeAi().

std::vector<std::vector<CUnitType *> > AiHelper::Equiv

The index is the unit that should be made, giving a table of all units/buildings which are equivalent.

Definition at line 252 of file ai_local.h.

Referenced by AiCheckUnits(), AiReduceMadeInBuilt(), CclAiWait(), CclDefineAiHelper(), and FreeAi().


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

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