Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <string>
#include <vector>
#include "unit.h"
#include "unit_factory.h"
#include "ai/order.h"
#include "gfx/animation.h"
#include "gfx/mesh.h"
#include "gfx/halo.h"
#include "vegastrike.h"
#include "unit_collide.h"
#include <float.h>
#include "audiolib.h"
#include "images.h"
#include "beam.h"
#include "config_xml.h"
#include "vs_globals.h"
#include "xml_support.h"
#include "savegame.h"
#include "gfx/cockpit.h"
#include "cmd/script/mission.h"
#include "missile.h"
#include "cmd/ai/communication.h"
#include "cmd/script/flightgroup.h"
#include "music.h"
#include "faction_generic.h"
#include "universe_util.h"
#include "csv.h"
#include "unit_csv.h"
#include "base.h"
Go to the source code of this file.
Functions | |
unsigned int | apply_float_to_unsigned_int (float tmp) |
vector< Mesh * > | MakeMesh (unsigned int mysize) |
float | rand01 () |
Animation * | GetVolatileAni (unsigned int) |
unsigned int | AddAnimation (const QVector &, const float, bool, const string &, float percentgrow) |
Animation * | getRandomCachedAni () |
string | getRandomCachedAniString () |
void | disableSubUnits (Unit *un) |
unsigned int AddAnimation | ( | const QVector & | , |
const float | , | ||
bool | , | ||
const string & | , | ||
float | percentgrow | ||
) |
void disableSubUnits | ( | Unit * | un) |
Definition at line 1824 of file unit_generic.cpp.
References DestroyMount(), disableSubUnits(), Unit::getSubUnits(), j, and Unit::mounts.
Referenced by disableSubUnits(), and GameUnit< UnitType >::Explode().
Animation* getRandomCachedAni | ( | ) |
string getRandomCachedAniString | ( | ) |
Definition at line 59 of file unit_functions.cpp.
References cached_ani, i, and j.
Referenced by GameUnit< UnitType >::Explode().
Animation* GetVolatileAni | ( | unsigned | int) |
Definition at line 45 of file star_system_jump.cpp.
References a, and VolatileJumpAnimations.
Referenced by GameUnit< UnitType >::Explode().
Definition at line 445 of file unit_xml.cpp.
References i.
float rand01 | ( | ) |
Definition at line 641 of file unit_generic.cpp.
Referenced by Unit::DamageRandSys(), Unit::DealDamageToHullReturnArmor(), DestroyPlayerSystem(), DestroySystem(), GameCockpit::Draw(), and GameUniverse::StartDraw().