|
| #define | outfit_setProp(o, p) ((o)->properties |= p) |
| |
| #define | XML_OUTFIT_TAG "outfit" |
| |
| #define | OUTFIT_SHORTDESC_MAX STRMAX_SHORT |
| |
| #define | SDESC_ADD(l, temp, txt, args...) (l) += scnprintf( &(temp)->summary_raw[l], OUTFIT_SHORTDESC_MAX-(l), (txt), ## args ) |
| |
| #define | SDESC_COLOUR(l, temp, txt, val, args...) |
| |
| #define | SDESC_COLOURT(l, temp, txt, threshold, val, args...) |
| |
| #define | SDESC_COND(l, temp, txt, val, args...) |
| |
| #define | SDESC_COND_COLOUR(l, temp, txt, val, args...) |
| |
| #define | O_CMP(s, t) if (strcasecmp(buf,(s))==0) return t |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN( _("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN(_("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
#define | MELEMENT(o, s) if (o) WARN( _("Outfit '%s' missing/invalid '%s' element"), temp->name, s) |
| |
|
| static OutfitType | outfit_strToOutfitType (char *buf) |
| | Gets the outfit type from a human readable string. More...
|
| |
| static int | outfit_loadDir (char *dir) |
| | Loads all the files in a directory. More...
|
| |
| static int | outfit_parseDamage (Damage *dmg, xmlNodePtr node) |
| | Parses a damage node. More...
|
| |
| static int | outfit_parse (Outfit *temp, const char *file) |
| | Parses and returns Outfit from parent node. More...
|
| |
| static void | outfit_parseSBolt (Outfit *temp, const xmlNodePtr parent) |
| | Parses the specific area for a bolt weapon and loads it into Outfit. More...
|
| |
| static void | outfit_parseSBeam (Outfit *temp, const xmlNodePtr parent) |
| | Parses the beam weapon specifics of an outfit. More...
|
| |
| static void | outfit_parseSLauncher (Outfit *temp, const xmlNodePtr parent) |
| | Parses the specific area for a launcher and loads it into Outfit. More...
|
| |
| static void | outfit_parseSMod (Outfit *temp, const xmlNodePtr parent) |
| | Parses the modification tidbits of the outfit. More...
|
| |
| static void | outfit_parseSAfterburner (Outfit *temp, const xmlNodePtr parent) |
| | Parses the afterburner tidbits of the outfit. More...
|
| |
| static void | outfit_parseSFighterBay (Outfit *temp, const xmlNodePtr parent) |
| | Parses the fighter bay tidbits of the outfit. More...
|
| |
| static void | outfit_parseSMap (Outfit *temp, const xmlNodePtr parent) |
| | Parses the map tidbits of the outfit. More...
|
| |
| static void | outfit_parseSLocalMap (Outfit *temp, const xmlNodePtr parent) |
| | Parses the map tidbits of the outfit. More...
|
| |
| static void | outfit_parseSGUI (Outfit *temp, const xmlNodePtr parent) |
| | Parses the GUI tidbits of the outfit. More...
|
| |
| static void | outfit_parseSLicense (Outfit *temp, const xmlNodePtr parent) |
| | Parses the license tidbits of the outfit. More...
|
| |
| static int | outfit_loadPLG (Outfit *temp, const char *buf, unsigned int bolt) |
| | Loads the collision polygon for a bolt outfit. More...
|
| |
| static void | sdesc_miningRarity (int *l, Outfit *temp, int rarity) |
| | Adds a small blurb about rarity mining. More...
|
| |
| static int | outfit_cmp (const void *p1, const void *p2) |
| |
| const Outfit * | outfit_get (const char *name) |
| | Gets an outfit by name. More...
|
| |
| const Outfit * | outfit_getW (const char *name) |
| | Gets an outfit by name without warning on no-find. More...
|
| |
| const Outfit * | outfit_getAll (void) |
| | Gets the array (array.h) of all outfits. More...
|
| |
| const char * | outfit_existsCase (const char *name) |
| | Checks to see if an outfit exists matching name (case insensitive). More...
|
| |
| char ** | outfit_searchFuzzyCase (const char *name, int *n) |
| | Does a fuzzy search of all the outfits. Searches translated names but returns internal names. More...
|
| |
| int | outfit_compareTech (const void *outfit1, const void *outfit2) |
| | Function meant for use with C89, C99 algorithm qsort(). More...
|
| |
| 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. More...
|
| |
| const char * | slotName (const OutfitSlotType type) |
| |
| const char * | slotSize (const OutfitSlotSize o) |
| | Gets the slot size as a string. More...
|
| |
| const char * | outfit_slotSize (const Outfit *o) |
| | Gets the name of the slot size of an outfit. More...
|
| |
| const glColour * | outfit_slotSizeColour (const OutfitSlot *os) |
| | Gets the slot size colour for an outfit slot. More...
|
| |
| char | outfit_slotSizeColourFont (const OutfitSlot *os) |
| | Gets a font colour character that roughly matches an outfit slot size colour. More...
|
| |
| char | outfit_slotTypeColourFont (const OutfitSlot *os) |
| | Gets a font colour character that roughly matches an outfit slot type colour. More...
|
| |
| 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. More...
|
| |
| OutfitSlotSize | outfit_toSlotSize (const char *s) |
| | Gets the outfit slot size from a human readable string. More...
|
| |
| int | outfit_isActive (const Outfit *o) |
| | Checks if outfit is an active outfit. More...
|
| |
| int | outfit_isToggleable (const Outfit *o) |
| | Checks if outfit can be toggled. More...
|
| |
| int | outfit_isForward (const Outfit *o) |
| | Checks if outfit is a fixed mounted weapon. More...
|
| |
| int | outfit_isBolt (const Outfit *o) |
| | Checks if outfit is bolt type weapon. More...
|
| |
| int | outfit_isBeam (const Outfit *o) |
| | Checks if outfit is a beam type weapon. More...
|
| |
| int | outfit_isLauncher (const Outfit *o) |
| | Checks if outfit is a weapon launcher. More...
|
| |
| int | outfit_isSeeker (const Outfit *o) |
| | Checks if outfit is a seeking weapon. More...
|
| |
| int | outfit_isTurret (const Outfit *o) |
| | Checks if outfit is a turret class weapon. More...
|
| |
| int | outfit_isMod (const Outfit *o) |
| | Checks if outfit is a ship modification. More...
|
| |
| int | outfit_isAfterburner (const Outfit *o) |
| | Checks if outfit is an afterburner. More...
|
| |
| int | outfit_isFighterBay (const Outfit *o) |
| | Checks if outfit is a fighter bay. More...
|
| |
| int | outfit_isMap (const Outfit *o) |
| | Checks if outfit is a space map. More...
|
| |
| int | outfit_isLocalMap (const Outfit *o) |
| | Checks if outfit is a local space map. More...
|
| |
| int | outfit_isLicense (const Outfit *o) |
| | Checks if outfit is a license. More...
|
| |
| int | outfit_isGUI (const Outfit *o) |
| | Checks if outfit is a GUI. More...
|
| |
| int | outfit_isSecondary (const Outfit *o) |
| | Checks if outfit has the secondary flag set. More...
|
| |
| const glTexture * | outfit_gfx (const Outfit *o) |
| | Gets the outfit's graphic effect. More...
|
| |
| const CollPoly * | outfit_plg (const Outfit *o) |
| | Gets the outfit's collision polygon. More...
|
| |
| int | outfit_spfxArmour (const Outfit *o) |
| | Gets the outfit's sound effect. More...
|
| |
| int | outfit_spfxShield (const Outfit *o) |
| | Gets the outfit's sound effect. More...
|
| |
| const Damage * | outfit_damage (const Outfit *o) |
| | Gets the outfit's damage. More...
|
| |
| double | outfit_delay (const Outfit *o) |
| | Gets the outfit's delay. More...
|
| |
| int | outfit_amount (const Outfit *o) |
| | Gets the amount an outfit can hold. More...
|
| |
| double | outfit_energy (const Outfit *o) |
| | Gets the outfit's energy usage. More...
|
| |
| double | outfit_heat (const Outfit *o) |
| | Gets the outfit's heat generation. More...
|
| |
| double | outfit_cpu (const Outfit *o) |
| | Gets the outfit's cpu usage. More...
|
| |
| double | outfit_range (const Outfit *o) |
| | Gets the outfit's range. More...
|
| |
| double | outfit_speed (const Outfit *o) |
| | Gets the outfit's speed. More...
|
| |
| double | outfit_spin (const Outfit *o) |
| | Gets the outfit's animation spin. More...
|
| |
| double | outfit_trackmin (const Outfit *o) |
| | Gets the outfit's minimal tracking. More...
|
| |
| double | outfit_trackmax (const Outfit *o) |
| | Gets the outfit's minimal tracking. More...
|
| |
| int | outfit_miningRarity (const Outfit *o) |
| | Gets the maximum rarity the outfit can mine up to. More...
|
| |
| int | outfit_sound (const Outfit *o) |
| | Gets the outfit's sound. More...
|
| |
| int | outfit_soundHit (const Outfit *o) |
| | Gets the outfit's hit sound. More...
|
| |
| double | outfit_ammoMass (const Outfit *o) |
| | Gets the outfit's ammunition mass. More...
|
| |
| double | outfit_duration (const Outfit *o) |
| | Gets the outfit's duration. More...
|
| |
| double | outfit_cooldown (const Outfit *o) |
| | Gets the outfit's cooldown. More...
|
| |
| const char * | outfit_getType (const Outfit *o) |
| | Gets the outfit's specific type. More...
|
| |
| const char * | outfit_getTypeBroad (const Outfit *o) |
| | Gets the outfit's broad type. More...
|
| |
| const char * | outfit_getAmmoAI (const Outfit *o) |
| | Gets a human-readable string describing an ammo outfit's AI. More...
|
| |
| const char * | outfit_description (const Outfit *o) |
| | Gets the description of an outfit. More...
|
| |
| const char * | outfit_summary (const Outfit *o, int withname) |
| | Gets the summary of an outfit. More...
|
| |
| int | outfit_fitsSlot (const Outfit *o, const OutfitSlot *s) |
| | Checks to see if an outfit fits a slot. More...
|
| |
| int | outfit_fitsSlotType (const Outfit *o, const OutfitSlot *s) |
| | Checks to see if an outfit fits a slot type (ignoring size). More...
|
| |
| void | outfit_freeSlot (OutfitSlot *s) |
| | Frees an outfit slot. More...
|
| |
| int | outfit_load (void) |
| | Loads all the outfits. More...
|
| |
| int | outfit_loadPost (void) |
| | Loads all the outfits legality. More...
|
| |
| int | outfit_mapParse (void) |
| | Parses all the maps. More...
|
| |
| glTexture * | rarity_texture (int rarity) |
| |
| int | outfit_checkIllegal (const Outfit *o, int fct) |
| | Checks illegality of an outfit to a faction. More...
|
| |
| int | outfit_licenseExists (const char *name) |
| | Checks to see if a license exists. More...
|
| |
| void | outfit_free (void) |
| | Frees the outfit stack. More...
|
| |
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.