____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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 <ai_local.h>
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 |
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.
| 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().
1.5.6