____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"
#include <string>
#include <map>
Go to the source code of this file.
Classes | |
| class | CAnimation |
| class | CAnimations |
Defines | |
| #define | ANIMATIONS_MAXANIM 1024 |
Enumerations | |
| enum | AnimationType { AnimationNone, AnimationFrame, AnimationExactFrame, AnimationRandomFrame, AnimationWait, AnimationRandomWait, AnimationSound, AnimationRandomSound, AnimationAttack, AnimationRotate, AnimationRandomRotate, AnimationMove, AnimationUnbreakable, AnimationLabel, AnimationGoto, AnimationRandomGoto } |
Functions | |
| CAnimations * | AnimationsByIdent (const std::string &ident) |
| < Get the animations structure by ident | |
Variables | |
| CAnimation * | AnimationsArray [ANIMATIONS_MAXANIM] |
| int | NumAnimations |
| Hash table of all the animations. | |
| std::map< std::string, CAnimations * > | AnimationMap |
| Animation map. | |
Definition in file animation.h.
| #define ANIMATIONS_MAXANIM 1024 |
| enum AnimationType |
Definition at line 40 of file animation.h.
| CAnimations* AnimationsByIdent | ( | const std::string & | ident | ) |
< Get the animations structure by ident
Get the animations structure by ident.
| ident | Identifier for the animation. |
Definition at line 240 of file unittype.cpp.
References AnimationMap.
Referenced by CclDefineAnimations(), and CclDefineUnitType().
| std::map<std::string, CAnimations *> AnimationMap |
Animation map.
Definition at line 70 of file script_unittype.cpp.
Referenced by AnimationsByIdent(), CclDefineAnimations(), and CleanUnitTypes().
| CAnimation* AnimationsArray[ANIMATIONS_MAXANIM] |
Definition at line 67 of file script_unittype.cpp.
Referenced by CclUnit(), CleanUnitTypes(), and SaveUnit().
| int NumAnimations |
Hash table of all the animations.
Definition at line 68 of file script_unittype.cpp.
Referenced by AddAnimationToArray(), CleanUnitTypes(), and SaveUnit().
1.5.6