13typedef struct CstSlotWidget_ {
void equipment_slotDeselect(CstSlotWidget *wgt)
Deselects equipment stuff.
void equipment_regenLists(unsigned int wid, int outfits, int ships)
Regenerates the equipment window lists.
void equipment_cleanup(void)
Cleans up after the equipment stuff.
void equipment_updateOutfits(unsigned int wid, const char *str)
Updates the player's outfit list.
void equipment_slotWidget(unsigned int wid, double x, double y, double w, double h, CstSlotWidget *data)
Creates the slot widget and initializes it.
void equipment_updateShips(unsigned int wid, const char *str)
Updates the player's ship window.
int equipment_canSwapPlayerShip(const char *shipname)
Makes sure it's valid to change ships in the equipment view.
int equipment_shipStats(char *buf, int max_len, const Pilot *s, int dpseps, int name)
Creates and allocates a string containing the ship stats.
void equipment_addAmmo(void)
Adds all the ammo it can to the player.
int equipment_canSellPlayerShip(const char *shipname)
Makes sure it's valid to sell a ship.
void equipment_open(unsigned int wid)
Opens the player's equipment window.
A ship outfit, depends radically on the type.
The representation of an in-game pilot.