Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "unit.h"
#include "gfx/vec.h"
#include "gfx/animation.h"
#include "gfx/cockpit_generic.h"
#include "faction_generic.h"
#include "savegame.h"
#include "xml_support.h"
#include "unit_factory.h"
#include "gfx/halo.h"
#include "gfx/mesh.h"
#include "gfx/sphere.h"
#include "gfx/sprite.h"
#include "audiolib.h"
#include "collide2/CSopcodecollider.h"
#include "unit_collide.h"
#include <string>
#include <set>
Go to the source code of this file.
Functions | |
VSSprite * | createVSSprite (const char *file) |
bool | isVSSpriteLoaded (const VSSprite *sprite) |
void | deleteVSSprite (VSSprite *sprite) |
int | createSound (string file, bool val) |
void | cache_ani (string s) |
void | update_ani_cache () |
std::string | getRandomCachedAniString () |
Animation * | getRandomCachedAni () |
Variables | |
static vsUMap< std::string, Animation * > | cached_ani |
std::set< std::string > | tempcache |
void cache_ani | ( | string | s) |
Definition at line 47 of file unit_functions.cpp.
References tempcache.
Referenced by Unit::LoadRow().
Definition at line 38 of file unit_functions.cpp.
References AUDCreateSoundWAV().
VSSprite* createVSSprite | ( | const char * | file) |
Definition at line 25 of file unit_functions.cpp.
Referenced by Unit::LoadRow().
void deleteVSSprite | ( | VSSprite * | sprite) |
Definition at line 33 of file unit_functions.cpp.
Referenced by Unit::LoadRow().
Animation* getRandomCachedAni | ( | ) |
std::string getRandomCachedAniString | ( | ) |
Definition at line 29 of file unit_functions.cpp.
Referenced by Unit::LoadRow().
void update_ani_cache | ( | ) |
Definition at line 45 of file unit_functions.cpp.
Referenced by getRandomCachedAni(), getRandomCachedAniString(), and update_ani_cache().
std::set< std::string > tempcache |
Definition at line 46 of file unit_functions.cpp.
Referenced by cache_ani(), and update_ani_cache().