src/sgp/Button_System.cc
static INT16 FindFreeIconSlot(void)
{
	for (INT16 x = 0; x < MAX_BUTTON_ICONS; ++x)
	{
		if (GenericButtonIcons[x] == NULL) return x;
	}
	throw std::runtime_error("Out of generic button icon slots");
}
// Finds the next available slot for button icon images.
Finds the next available slot for button icon images.
Finds the next available slot for button icon images .
static INT16 FindFreeIconSlot(void)
{
	for (INT16 x = 0; x < MAX_BUTTON_ICONS; ++x)
	{
		if (GenericButtonIcons[x] == NULL) return x;
	}
	throw std::runtime_error("Out of generic button icon slots");
}
static INT16 FindFreeIconSlot ( void ) { for ( INT16 x = 0 ; x < MAX_BUTTON_ICONS ; ++ x ) { if ( GenericButtonIcons [ x ] == NULL ) return x ; } throw std :: runtime_error ( " " ) ; }
Finds the next available slot for button icon images.
Finds the next available slot for button icon images .