|
| static OutfitType | outfit_strToOutfitType (char *buf) |
| | Gets the outfit type from a human readable string.
|
| static int | outfit_loadDir (const char *dir) |
| | Loads all the files in a directory.
|
| static int | outfit_parseDamage (Damage *dmg, xmlNodePtr node) |
| | Parses a damage node.
|
| static int | outfit_parseThread (void *ptr) |
| static int | outfit_parse (Outfit *temp, const char *file) |
| | Parses and returns Outfit from parent node.
|
| static void | outfit_parseSBolt (Outfit *temp, const xmlNodePtr parent) |
| | Parses the specific area for a bolt weapon and loads it into Outfit.
|
| static void | outfit_parseSBeam (Outfit *temp, const xmlNodePtr parent) |
| | Parses the beam weapon specifics of an outfit.
|
| static void | outfit_parseSLauncher (Outfit *temp, const xmlNodePtr parent) |
| | Parses the specific area for a launcher and loads it into Outfit.
|
| static void | outfit_parseSMod (Outfit *temp, const xmlNodePtr parent) |
| | Parses the modification tidbits of the outfit.
|
| static void | outfit_parseSAfterburner (Outfit *temp, const xmlNodePtr parent) |
| | Parses the afterburner tidbits of the outfit.
|
| static void | outfit_parseSFighterBay (Outfit *temp, const xmlNodePtr parent) |
| | Parses the fighter bay tidbits of the outfit.
|
| static void | outfit_parseSMap (Outfit *temp, const xmlNodePtr parent) |
| | Parses the map tidbits of the outfit.
|
| static void | outfit_parseSLocalMap (Outfit *temp, const xmlNodePtr parent) |
| | Parses the map tidbits of the outfit.
|
| static void | outfit_parseSGUI (Outfit *temp, const xmlNodePtr parent) |
| | Parses the GUI tidbits of the outfit.
|
| static void | outfit_parseSLicense (Outfit *temp, const xmlNodePtr parent) |
| | Parses the license tidbits of the outfit.
|
| static int | outfit_loadPLG (Outfit *temp, const char *buf) |
| | Loads the collision polygon for a bolt outfit.
|
| static int | outfit_loadGFX (Outfit *temp, const xmlNodePtr node) |
| | Loads the graphics for an outfit.
|
| static void | sdesc_miningRarity (int *l, Outfit *temp, int rarity) |
| | Adds a small blurb about rarity mining.
|
| static int | os_printD (char *buffer, int i, double value, const t_os_stat *opts) |
| | Writes an outfit statistic to a buffer.
|
| static int | os_printD_range (char *buffer, int i, double minValue, double maxValue, const t_os_stat *opts) |
| | Writes an outfit statistic representing a range between two values to a buffer.
|
| static int | os_printD_rate (char *buffer, int i, double val, const t_os_stat *val_opts, int multiplier, double rate, const t_os_stat *rate_opts) |
| | Writes an outfit statistic representing a "per unit" value and rate of change value.
|
| static int | outfit_cmp (const void *p1, const void *p2) |
| int | outfit_gfxStoreLoaded (const Outfit *o) |
| int | outfit_gfxStoreLoadNeeded (void) |
| int | outfit_gfxStoreLoad (Outfit *o) |
| | Loads the store graphics for the outfit.
|
| const Outfit * | outfit_get (const char *name) |
| | Gets an outfit by name.
|
| const Outfit * | outfit_getW (const char *name) |
| | Gets an outfit by name without warning on no-find.
|
| const Outfit * | outfit_getAll (void) |
| | Gets the array (array.h) of all outfits.
|
| const char * | outfit_existsCase (const char *name) |
| | Checks to see if an outfit exists matching name (case insensitive).
|
| char ** | outfit_searchFuzzyCase (const char *name, int *n) |
| | Does a fuzzy search of all the outfits. Searches translated names but returns internal names.
|
| int | outfit_compareTech (const void *outfit1, const void *outfit2) |
| | Function meant for use with C89, C99 algorithm qsort().
|
| int | outfit_filterWeapon (const Outfit *o) |
| int | outfit_filterUtility (const Outfit *o) |
| int | outfit_filterStructure (const Outfit *o) |
| int | outfit_filterCore (const Outfit *o) |
| int | outfit_filterOther (const Outfit *o) |
| const char * | outfit_slotName (const Outfit *o) |
| | Gets the name of the slot type of an outfit.
|
| const char * | slotName (const OutfitSlotType type) |
| const char * | slotSize (const OutfitSlotSize o) |
| | Gets the slot size as a string.
|
| const char * | outfit_slotSize (const Outfit *o) |
| | Gets the name of the slot size of an outfit.
|
| const glColour * | outfit_slotSizeColour (const OutfitSlot *os) |
| | Gets the slot size colour for an outfit slot.
|
| char | outfit_slotSizeColourFont (const OutfitSlot *os) |
| | Gets a font colour character that roughly matches an outfit slot size colour.
|
| char | outfit_slotTypeColourFont (const OutfitSlot *os) |
| | Gets a font colour character that roughly matches an outfit slot type colour.
|
| size_t | outfit_getNameWithClass (const Outfit *outfit, char *buf, size_t size) |
| | Gets a brief name/class description suitable for the title section of an outfitter screen.
|
| OutfitSlotSize | outfit_toSlotSize (const char *s) |
| | Gets the outfit slot size from a human readable string.
|
| int | outfit_isActive (const Outfit *o) |
| | Checks if outfit is an active outfit.
|
| int | outfit_isToggleable (const Outfit *o) |
| | Checks if outfit can be toggled.
|
| int | outfit_isWeapon (const Outfit *o) |
| | Checks to see if an outfit is a weapon.
|
| int | outfit_isForward (const Outfit *o) |
| | Checks if outfit is a fixed mounted weapon.
|
| int | outfit_isBolt (const Outfit *o) |
| | Checks if outfit is bolt type weapon.
|
| int | outfit_isBeam (const Outfit *o) |
| | Checks if outfit is a beam type weapon.
|
| int | outfit_isLauncher (const Outfit *o) |
| | Checks if outfit is a weapon launcher.
|
| int | outfit_isSeeker (const Outfit *o) |
| | Checks if outfit is a seeking weapon.
|
| int | outfit_isTurret (const Outfit *o) |
| | Checks if outfit is a turret class weapon.
|
| int | outfit_isMod (const Outfit *o) |
| | Checks if outfit is a ship modification.
|
| int | outfit_isAfterburner (const Outfit *o) |
| | Checks if outfit is an afterburner.
|
| int | outfit_isFighterBay (const Outfit *o) |
| | Checks if outfit is a fighter bay.
|
| int | outfit_isMap (const Outfit *o) |
| | Checks if outfit is a space map.
|
| int | outfit_isLocalMap (const Outfit *o) |
| | Checks if outfit is a local space map.
|
| int | outfit_isLicense (const Outfit *o) |
| | Checks if outfit is a license.
|
| int | outfit_isGUI (const Outfit *o) |
| | Checks if outfit is a GUI.
|
| int | outfit_isSecondary (const Outfit *o) |
| | Checks if outfit has the secondary flag set.
|
| const OutfitGFX * | outfit_gfx (const Outfit *o) |
| | Gets the outfit's graphic effect.
|
| const CollPoly * | outfit_plg (const Outfit *o) |
| | Gets the outfit's collision polygon.
|
| int | outfit_spfxArmour (const Outfit *o) |
| | Gets the outfit's sound effect.
|
| int | outfit_spfxShield (const Outfit *o) |
| | Gets the outfit's sound effect.
|
| const Damage * | outfit_damage (const Outfit *o) |
| | Gets the outfit's damage.
|
| double | outfit_radius (const Outfit *o) |
| | Gets the outfit's explosion radius.
|
| double | outfit_delay (const Outfit *o) |
| | Gets the outfit's delay.
|
| int | outfit_amount (const Outfit *o) |
| | Gets the amount an outfit can hold.
|
| double | outfit_energy (const Outfit *o) |
| | Gets the outfit's energy usage.
|
| double | outfit_heat (const Outfit *o) |
| | Gets the outfit's heat generation.
|
| double | outfit_cpu (const Outfit *o) |
| | Gets the outfit's cpu usage.
|
| double | outfit_range (const Outfit *o) |
| | Gets the outfit's range.
|
| double | outfit_speed (const Outfit *o) |
| | Gets the outfit's speed.
|
| double | outfit_swivel (const Outfit *o) |
| | Gets the swivel of an outfit.
|
| double | outfit_spin (const Outfit *o) |
| | Gets the outfit's animation spin.
|
| double | outfit_trackmin (const Outfit *o) |
| | Gets the outfit's minimal tracking.
|
| double | outfit_trackmax (const Outfit *o) |
| | Gets the outfit's minimal tracking.
|
| int | outfit_miningRarity (const Outfit *o) |
| | Gets the maximum rarity the outfit can mine up to.
|
| int | outfit_sound (const Outfit *o) |
| | Gets the outfit's sound.
|
| int | outfit_soundHit (const Outfit *o) |
| | Gets the outfit's hit sound.
|
| double | outfit_ammoMass (const Outfit *o) |
| | Gets the outfit's ammunition mass.
|
| double | outfit_duration (const Outfit *o) |
| | Gets the outfit's duration.
|
| double | outfit_cooldown (const Outfit *o) |
| | Gets the outfit's cooldown.
|
| const char * | outfit_getType (const Outfit *o) |
| | Gets the outfit's specific type.
|
| const char * | outfit_getTypeBroad (const Outfit *o) |
| | Gets the outfit's broad type.
|
| const char * | outfit_getAmmoAI (const Outfit *o) |
| | Gets a human-readable string describing an ammo outfit's AI.
|
| const char * | outfit_description (const Outfit *o) |
| | Gets the description of an outfit.
|
| const char * | outfit_summary (const Outfit *o, int withname) |
| | Gets the summary of an outfit.
|
| const char * | outfit_shortname (const Outfit *o) |
| | Gets the short name (translated) of an outfit.
|
| int | outfit_fitsSlot (const Outfit *o, const OutfitSlot *s) |
| | Checks to see if an outfit fits a slot.
|
| int | outfit_fitsSlotType (const Outfit *o, const OutfitSlot *s) |
| | Checks to see if an outfit fits a slot type (ignoring size).
|
| void | outfit_freeSlot (OutfitSlot *s) |
| | Frees an outfit slot.
|
| int | outfit_load (void) |
| | Loads all the outfits.
|
| int | outfit_loadPost (void) |
| | Loads all the outfits legality.
|
| int | outfit_mapParse (void) |
| | Parses all the maps.
|
| glTexture * | rarity_texture (int rarity) |
| int | outfit_checkIllegal (const Outfit *o, int fct) |
| | Checks illegality of an outfit to a faction.
|
| int | outfit_licenseExists (const char *name) |
| | Checks to see if a license exists.
|
| void | outfit_free (void) |
| | Frees the outfit stack.
|
|
| static Outfit * | outfit_stack = NULL |
| static char ** | license_stack = NULL |
| static os_opts | darmour_opts |
| static os_opts | dshield_opts |
| static os_opts | dknockback_opts |
| static os_opts | cpu_opts = { N_( "CPU" ), _UNIT_CPU, 1, 0, 1, 0 } |
| static os_opts | mass_opts = { N_( "Mass" ), _UNIT_MASS, 0, 0, 1, 0 } |
| static os_opts | penetration_opts |
| static os_opts | damage_opts = { N_( "Damage" ), _UNIT_ENERGY, 0, 1, 1, 1 } |
| static os_opts | dps_opts = { N_( "Damage Rate" ), _UNIT_POWER, 0, 0, 1, 1 } |
| static os_opts | disable_opts = { N_( "Disable" ), _UNIT_ENERGY, 0, 1, 1, 1 } |
| static os_opts | disable_rate_opts |
| static os_opts | fire_rate_opts |
| static os_opts | energy_opts = { N_( "Energy" ), _UNIT_ENERGY, 0, 1, 1, 1 } |
| static os_opts | power_opts = { N_( "Power" ), _UNIT_POWER, 0, 0, 1, 1 } |
| static os_opts | range_opts = { N_( "Range" ), _UNIT_DISTANCE, 0, 0, 1, 0 } |
| static os_opts | speed_opts = { N_( "Speed" ), _UNIT_SPEED, 0, 0, 1, 0 } |
| static os_opts | heatup_opts = { N_( "Overheat" ), _UNIT_TIME, 0, 0, 1, 1 } |
| static os_opts | dispersion_opts |
| static os_opts | swivel_opts = { N_( "Swivel" ), _UNIT_ANGLE, 0, 0, 1, 0 } |
| static os_opts | tracking_opts = { N_( "Tracking" ), _UNIT_DISTANCE, 0, 0, 1, 0 } |
| static os_opts | duration_opts = { N_( "Duration" ), _UNIT_TIME, 0, 0, 1, 1 } |
| static os_opts | cooldown_opts = { N_( "Cooldown" ), _UNIT_TIME, 0, 0, 1, 1 } |
| static os_opts | lockon_opts = { N_( "Lock-On" ), _UNIT_TIME, 0, 0, 1, 0 } |
| static os_opts | inflight_calib_opts |
| static os_opts | initial_speed_opts |
| static os_opts | accel_opts = { N_( "Accel" ), _UNIT_ACCEL, 0, 0, 1, 0 } |
| static os_opts | max_speed_opts = { N_( "Max Speed" ), _UNIT_SPEED, 0, 0, 1, 0 } |
| static os_opts | reload_opts = { N_( "Reload Time" ), _UNIT_TIME, 0, 0, 1, 1 } |
| static os_opts | armour_opts = { N_( "Armour" ), _UNIT_ENERGY, 0, 0, 1, 1 } |
| static os_opts | absorp_opts = { N_( "Absorption" ), _UNIT_PERCENT, 0, 0, 1, 1 } |
| static os_opts | jam_res_opts |
| static os_opts | max_mass_opts |
| static os_opts | rumble_opts = { N_( "Rumble" ), NULL, 0, 0, 1, 1 } |
| static os_opts | shots_delay_opts |
Handles all the ship outfit specifics.
These outfits allow you to modify ships or make them more powerful and are a fundamental part of the game.
Definition in file outfit.c.