$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <stdio.h>
#include <stdlib.h>
#include "stratagus.h"
#include "player.h"
#include "unittype.h"
#include "animation.h"
#include "unit.h"
#include "actions.h"
#include "ai.h"
#include "interface.h"
#include "map.h"
#include "spells.h"
Functions | |
action_upgradeto.cpp - The unit upgrading to new action. | |
static int | TransformUnitIntoType (CUnit &unit, CUnitType &newtype) |
void | HandleActionTransformInto (CUnit &unit) |
Handle command transform into. | |
void | HandleActionUpgradeTo (CUnit &unit) |
Handle command upgrade to. |
void HandleActionTransformInto | ( | CUnit & | unit | ) |
Handle command transform into.
Unit transform into unit.
unit | Pointer to unit. |
void HandleActionUpgradeTo | ( | CUnit & | unit | ) |
Handle command upgrade to.
Unit upgrades unit!
unit | Pointer to unit. |
Transform an unit in another.
unit | unit to transform. | |
newtype | new type of the unit. |