Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <enhancement.h>
Protected Member Functions | |
GameEnhancement (const char *filename, int faction, const string &modifications, Flightgroup *flightgrp=NULL, int fg_subnumber=0) | |
constructor only to be called by UnitFactory More... | |
Friends | |
class | UnitFactory |
Additional Inherited Members | |
![]() | |
enum | DAMAGES { NO_DAMAGE =0x00, SHIELD_DAMAGED =0x01, COMPUTER_DAMAGED =0x02, MOUNT_DAMAGED =0x04, CARGOFUEL_DAMAGED =0x08, JUMP_DAMAGED =0x10, CLOAK_DAMAGED =0x20, LIMITS_DAMAGED =0x40, ARMOR_DAMAGED =0x80 } |
enum | schedulepriorityenum { scheduleDefault, scheduleAField, scheduleRoid } |
enum | COLLIDELOCATIONTYPES { UNIT_ONLY =0, UNIT_BOLT =1, NUM_COLLIDE_MAPS =2 } |
enum | DOCKENUM { NOT_DOCKED =0x0, DOCKED_INSIDE =0x1, DOCKED =0x2, DOCKING_UNITS =0x4 } |
enum | tractorHow { tractorImmune =0, tractorPush =1, tractorIn =2, tractorBoth =3 } |
![]() | |
GameUnit (int dummy) | |
GameUnit (std::vector< Mesh * > &meshes, bool Subunit, int faction) | |
GameUnit (const char *filename, bool SubUnit, int faction, std::string customizedUnit=std::string(""), Flightgroup *flightgroup=NULL, int fg_subnumber=0, std::string *netxml=NULL) | |
virtual | ~GameUnit () |
int | nummesh () const |
UnitImages< void > & | GetImageInformation () |
bool | RequestClearance (Unit *dockingunit) |
void | UpgradeInterface (Unit *base) |
Loads a user interface for the user to upgrade his ship. More... | |
virtual void | Cloak (bool cloak) |
The name (type) of this unit shouldn't be public. More... | |
void | Split (int level) |
void | FixGauges () |
void | UpdateHudMatrix (int whichcam) |
Sets the camera to be within this unit. More... | |
VSSprite * | getHudImage () const |
What's the HudImage of this unit. More... | |
virtual void | Draw (const Transformation &quat, const Matrix &m) |
Draws this unit with the transformation and matrix (should be equiv) separately. More... | |
virtual void | Draw (const Transformation &quat) |
virtual void | Draw () |
virtual void | DrawNow (const Matrix &m, float lod=1000000000) |
virtual void | DrawNow () |
void | addHalo (const char *filename, const QVector &loc, const Vector &size, const GFXColor &col, std::string halo_type, float halo_speed) |
Deprecated. More... | |
virtual void | applyTechniqueOverrides (const std::map< std::string, std::string > &overrides) |
bool | TransferUnitToSystem (unsigned int whichJumpQueue, StarSystem *&previouslyActiveStarSystem, bool DoSightAndSound) |
bool | Explode (bool draw, float timeit) |
Begin and continue explosion. More... | |
bool | queryFrustum (double frustum[6][4]) const |
*bool | querySphereClickList (int, int, float err, Camera *activeCam) |
virtual void | UpdatePhysics2 (const Transformation &trans, const Transformation &old_physical_state, const Vector &accel, float difficulty, const Matrix &transmat, const Vector &CumulativeVelocity, bool ResolveLast, UnitCollection *uc=NULL) |
returns true if jump possible even if not taken More... | |
void | Thrust (const Vector &amt, bool afterburn=false) |
Thrusts by ammt and clamps accordingly (afterburn or not) More... | |
Vector | ResolveForces (const Transformation &, const Matrix &) |
Resolves forces of given unit on a physics frame. More... | |
virtual void | ArmorDamageSound (const Vector &pnt) |
virtual void | HullDamageSound (const Vector &pnt) |
float | DealDamageToShield (const Vector &pnt, float &Damage) |
applies damage from the given pnt to the shield, and returns % damage applied and applies lighitn More... | |
bool | UpgradeSubUnits (const Unit *up, int subunitoffset, bool touchme, bool downgrade, int &numave, double &percentage) |
double | Upgrade (const std::string &file, int mountoffset, int subunitoffset, bool force, bool loop_through_mounts) |
Matrix | WarpMatrix (const Matrix &ctm) const |
Holds temporary values for inter-function XML communication Saves deprecated restr info. More... | |
![]() | |
static void | ProcessDeleteQueue () |
static void | beginElement (void *userData, const XML_Char *name, const XML_Char **atts) |
static void | endElement (void *userData, const XML_Char *name) |
static Unit * | makeMasterPartList () |
![]() | |
double | sparkle_accum |
std::auto_ptr< HaloSystem > | phalos |
![]() | |
enum | INVIS { DEFAULTVIS =0x0, INVISGLOW =0x1, INVISUNIT =0x2, INVISCAMERA =0x4 } |
![]() | |
static std::string | massSerializer (const struct XMLType &input, void *mythis) |
static std::string | cargoSerializer (const struct XMLType &input, void *mythis) |
static std::string | mountSerializer (const struct XMLType &input, void *mythis) |
static std::string | shieldSerializer (const struct XMLType &input, void *mythis) |
static std::string | subunitSerializer (const struct XMLType &input, void *mythis) |
![]() | |
std::string | filename |
Definition at line 7 of file enhancement.h.
|
inlineprotected |
constructor only to be called by UnitFactory
Definition at line 12 of file enhancement.h.
References accountXML::file, and Enhancement::filename.
|
friend |
Definition at line 9 of file enhancement.h.