$treeview $search $mathjax
Stratagus
2.2.7
$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 <string>
#include <map>
#include "upgrade_structs.h"
Go to the source code of this file.
#define ANIMATIONS_DEATHTYPES 40 |
enum AnimationType |
void AnimationCclRegister | ( | ) |
CAnimations* AnimationsByIdent | ( | const std::string & | ident | ) |
Get the animations structure by ident.
Get the animations structure by ident.
ident | Identifier for the animation. |
void FindLabelLater | ( | CAnimation ** | anim, | |
const std::string & | name | |||
) |
Find a label later
int ParseAnimInt | ( | const CUnit * | unit, | |
const char * | parseint | |||
) |
Parse integer in animation frame.
unit | Unit of the animation. | |
parseint | Integer to parse. |
int UnitShowAnimation | ( | CUnit & | unit, | |
const CAnimation * | anim | |||
) |
Handle the animation of a unit.
Handle the animation of a unit.
Show unit animation.
unit | Unit of the animation. | |
anim | Animation script to handle. |
int UnitShowAnimationScaled | ( | CUnit & | unit, | |
const CAnimation * | anim, | |||
int | scale | |||
) |
Handle the animation of a unit.
Show unit animation.
unit | Unit of the animation. | |
anim | Animation script to handle. | |
scale | Scaling factor of the wait times in animation (8 means no scaling). |
std::string ExtraDeathTypes[ANIMATIONS_DEATHTYPES] |
Default names for the extra death types.
Default names for the resources.