_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CAnimations Class Reference

#include <animation.h>

Public Member Functions

 CAnimations ()
 
 ~CAnimations ()
 

Static Public Member Functions

actions.cpp - The actions.
static void SaveUnitAnim (CFile &file, const CUnit &unit)
 
static void LoadUnitAnim (lua_State *l, CUnit &unit, int luaIndex)
 
static void LoadWaitUnitAnim (lua_State *l, CUnit &unit, int luaIndex)
 

Public Attributes

CAnimationAttack
 
CAnimationRangedAttack
 
CAnimationBuild
 
CAnimationDeath [ANIMATIONS_DEATHTYPES+1]
 
CAnimationHarvest [MaxCosts]
 
CAnimationMove
 
CAnimationRepair
 
CAnimationResearch
 
CAnimationSpellCast
 
CAnimationStart
 
CAnimationStill
 
CAnimationTrain
 
CAnimationUpgrade
 

Constructor & Destructor Documentation

CAnimations::CAnimations ( )
inline
CAnimations::~CAnimations ( )
inline

Member Function Documentation

void CAnimations::LoadUnitAnim ( lua_State *  l,
CUnit unit,
int  luaIndex 
)
static
void CAnimations::LoadWaitUnitAnim ( lua_State *  l,
CUnit unit,
int  luaIndex 
)
static
void CAnimations::SaveUnitAnim ( CFile file,
const CUnit unit 
)
static

Member Data Documentation

CAnimation* CAnimations::Attack
CAnimation* CAnimations::Build
CAnimation* CAnimations::Death[ANIMATIONS_DEATHTYPES+1]
CAnimation* CAnimations::Harvest[MaxCosts]
CAnimation* CAnimations::Move
CAnimation* CAnimations::RangedAttack
CAnimation* CAnimations::Repair
CAnimation* CAnimations::Research
CAnimation* CAnimations::SpellCast
CAnimation* CAnimations::Start
CAnimation* CAnimations::Still
CAnimation* CAnimations::Train
CAnimation* CAnimations::Upgrade

The documentation for this class was generated from the following files:
(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.