8#include "tk/widget/imagearray.h"
17 int ( *filter )(
const Outfit *o ),
const char *name );
19 const Pilot *p,
int store );
int outfit_altText(char *buf, int n, const Outfit *o, const Pilot *plt)
Computes the alt text for an outfit.
void outfits_regenList(unsigned int wid, const char *str)
Regenerates the outfit list.
int outfit_canBuy(const Outfit *outfit, int wid)
Checks to see if the player can buy the outfit.
void outfits_cleanup(void)
Cleans up outfit globals.
ImageArrayCell * outfits_imageArrayCells(const Outfit **outfits, int *noutfits, const Pilot *p, int store)
Generates image array cells corresponding to outfits.
void outfits_open(unsigned int wid, const Outfit **outfits, int blackmarket)
Opens the outfit exchange center window.
void outfits_updateEquipmentOutfits(void)
Updates the outfitter and equipment outfit image arrays.
void outfits_update(unsigned int wid, const char *str)
Updates the outfits in the outfit window.
int outfits_filter(const Outfit **outfits, int n, int(*filter)(const Outfit *), const char *name)
Applies a filter function and string to a list of outfits.
int outfit_canSell(const Outfit *outfit)
Checks to see if the player can sell the selected outfit.
A ship outfit, depends radically on the type.
The representation of an in-game pilot.