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

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
 
bool hasDeathAnimation
 
CAnimationDeath [ANIMATIONS_DEATHTYPES+1]
 
CAnimationHarvest [MaxCosts]
 
CAnimationMove
 
CAnimationRepair
 
CAnimationResearch
 
CAnimationSpellCast
 
CAnimationStart
 
CAnimationStill
 
CAnimationTrain
 
CAnimationUpgrade
 

Constructor & Destructor Documentation

◆ CAnimations()

CAnimations::CAnimations ( )
inline

◆ ~CAnimations()

CAnimations::~CAnimations ( )
inline

Member Function Documentation

◆ LoadUnitAnim()

void CAnimations::LoadUnitAnim ( lua_State *  l,
CUnit unit,
int  luaIndex 
)
static

◆ LoadWaitUnitAnim()

void CAnimations::LoadWaitUnitAnim ( lua_State *  l,
CUnit unit,
int  luaIndex 
)
static

◆ SaveUnitAnim()

void CAnimations::SaveUnitAnim ( CFile file,
const CUnit unit 
)
static

Member Data Documentation

◆ Attack

CAnimation* CAnimations::Attack

◆ Build

CAnimation* CAnimations::Build

◆ Death

CAnimation* CAnimations::Death[ANIMATIONS_DEATHTYPES+1]

◆ Harvest

CAnimation* CAnimations::Harvest[MaxCosts]

◆ hasDeathAnimation

bool CAnimations::hasDeathAnimation

◆ Move

CAnimation* CAnimations::Move

◆ RangedAttack

CAnimation* CAnimations::RangedAttack

◆ Repair

CAnimation* CAnimations::Repair

◆ Research

CAnimation* CAnimations::Research

◆ SpellCast

CAnimation* CAnimations::SpellCast

◆ Start

CAnimation* CAnimations::Start

◆ Still

CAnimation* CAnimations::Still

◆ Train

CAnimation* CAnimations::Train

◆ Upgrade

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.