engine/material.c
/*	Lists all the currently active materials.
*/
Lists all the currently active materials.
Lists all the currently active materials .
void Material_List(void)
{
	int i;
	Con_Printf("Listing materials...\n");
	for (i = 0; i < iMaterialCount; i++)
	{
		if (!mMaterials[i].cName[0] && !mMaterials[i].cPath[0])
			continue;
		Con_Printf(" %s (%s) (%i)\n", mMaterials[i].cName, mMaterials[i].cPath, mMaterials[i].iSkins);
	}
	Con_Printf("\nListed %i active materials!\n", i);
}
void Material_List ( void ) { int i ; Con_Printf ( " \n " ) ; for ( i = 0 ; i < iMaterialCount ; i ++ ) { if ( ! mMaterials [ i ] . cName [ 0 ] && ! mMaterials [ i ] . cPath [ 0 ] ) continue ; Con_Printf ( " \n " , mMaterials [ i ] . cName , mMaterials [ i ] . cPath , mMaterials [ i ] . iSkins ) ; } Con_Printf ( " \n \n " , i ) ; }
Lists all the currently active materials.
Lists all the currently active materials .