_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
30 #ifndef __ACTION_UPGRADETO_H__
31 #define __ACTION_UPGRADETO_H__
85 #endif // !__ACTIONS_H__
virtual void Cancel(CUnit &unit)
Definition: action_upgradeto.cpp:316
static COrder * NewActionTransformInto(CUnitType &type)
Definition: action_upgradeto.cpp:59
virtual COrder_UpgradeTo * Clone() const
Definition: action_upgradeto.h:65
Definition: viewport.h:63
Definition: unittype.h:508
virtual bool IsValid() const
Definition: action_upgradeto.cpp:260
COrder_UpgradeTo()
Definition: action_upgradeto.h:63
virtual void Execute(CUnit &unit)
Definition: action_upgradeto.cpp:278
virtual void Save(CFile &file, const CUnit &unit) const
Definition: action_upgradeto.cpp:235
static COrder * NewActionUpgradeTo(CUnit &unit, CUnitType &type, bool instant=false)
Definition: action_upgradeto.cpp:67
const CUnitType & GetUnitType() const
Definition: action_upgradeto.h:79
virtual void UpdateUnitVariables(CUnit &unit) const
Definition: action_upgradeto.cpp:323
virtual void UpdatePathFinderData(PathFinderInput &input)
Definition: action_upgradeto.h:75
virtual PixelPos Show(const CViewport &vp, const PixelPos &lastScreenPos) const
Definition: action_upgradeto.cpp:265
void UpdatePathFinderData_NotCalled(PathFinderInput &input)
Definition: actions.cpp:114
Definition: action_upgradeto.h:59
virtual bool ParseSpecificData(lua_State *l, int &j, const char *value, const CUnit &unit)
Definition: action_upgradeto.cpp:246
@ UnitActionTransformInto
unit harvesting resources
Definition: actions.h:77
The big unit structure.
Definition: unit.h:135
@ UnitActionUpgradeTo
building is training
Definition: actions.h:64
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.