components/prboom/st_lib.c
//
// STlib_initBinIcon()
//
// Initialize a st_binicon_t widget, used for a multinumber display
// like the status bar's weapons, that are present or not.
//
// Passed a st_binicon_t widget, the position, the digit patches, a pointer
// to the flags representing what is displayed, and pointer to the enable flag
// Returns nothing.
//
STlib_initBinIcon()
Initialize a st_binicon_t widget, used for a multinumber display
like the status bar's weapons, that are present or not.

Passed a st_binicon_t widget, the position, the digit patches, a pointer
to the flags representing what is displayed, and pointer to the enable flag
Returns nothing.
STlib_initBinIcon () Initialize a st_binicon_t widget used for a multinumber display like the status bar ' s weapons that are present or not . Passed a st_binicon_t widget the position the digit patches a pointer to the flags representing what is displayed and pointer to the enable flag Returns nothing .
void STlib_initBinIcon
( st_binicon_t* b,
  int x,
  int y,
  const patchnum_t* i,
  boolean* val,
  boolean* on )
{
  b->x  = x;
  b->y  = y;
  b->oldval = 0;
  b->val  = val;
  b->on = on;
  b->p  = i;
}
void STlib_initBinIcon ( st_binicon_t * b , int x , int y , const patchnum_t * i , boolean * val , boolean * on ) { b -> x = x ; b -> y = y ; b -> oldval = 0 ; b -> val = val ; b -> on = on ; b -> p = i ; }
STlib_initBinIcon()
Initialize a st_binicon_t widget, used for a multinumber display
like the status bar's weapons, that are present or not.
STlib_initBinIcon () Initialize a st_binicon_t widget used for a multinumber display like the status bar ' s weapons that are present or not .