_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "action/action_built.h"
#include "ai.h"
#include "commands.h"
#include "construct.h"
#include "iolib.h"
#include "luacallback.h"
#include "map.h"
#include "player.h"
#include "script.h"
#include "sound.h"
#include "translate.h"
#include "unit.h"
#include "unittype.h"
action_build.cpp - The build building action. | |
#define | CancelBuildingCostsFactor 75 |
How many resources the player gets back if canceling building. More... | |
void | AiReduceMadeInBuilt (PlayerAi &pai, const CUnitType &type) |
static void | CancelBuilt (COrder_Built &order, CUnit &unit) |
static void | Finish (COrder_Built &order, CUnit &unit) |
static const CConstructionFrame * | FindCFramePercent (const CConstructionFrame &cframe, int percent) |
#define CancelBuildingCostsFactor 75 |
How many resources the player gets back if canceling building.
Reduce made unit-type from build list.
pai | Computer AI player. |
type | Unit-type which is now available. |
|
static |
|
static |
|
static |