==================
*/
-string HUD_Panel_GetName(float id)
-{
- switch(id) {
- case 0: return "weaponicons"; break;
- case 1: return "inventory"; break;
- case 2: return "powerups"; break;
- case 3: return "healtharmor"; break;
- case 4: return "notify"; break;
- case 5: return "timer"; break;
- case 6: return "radar"; break;
- case 7: return "score"; break;
- case 8: return "racetimer"; break;
- case 9: return "vote"; break;
- case 10: return "modicons"; break;
- case 11: return "pressedkeys"; break;
- case 12: return "chat"; break;
- default: return "";
- }
-}
-
// Save the config
void HUD_Panel_ExportCfg(string cfgname)
{
return 1;
}
+
+// return name of given panel id
+string HUD_Panel_GetName(float id)
+{
+ switch(id) {
+ case 0: return "weaponicons"; break;
+ case 1: return "inventory"; break;
+ case 2: return "powerups"; break;
+ case 3: return "healtharmor"; break;
+ case 4: return "notify"; break;
+ case 5: return "timer"; break;
+ case 6: return "radar"; break;
+ case 7: return "score"; break;
+ case 8: return "racetimer"; break;
+ case 9: return "vote"; break;
+ case 10: return "modicons"; break;
+ case 11: return "pressedkeys"; break;
+ case 12: return "chat"; break;
+ default: return "";
+ }
+}
+
float get_model_parameters_age;
string get_model_parameters_desc;
float get_model_parameters(string mod, float skn); // call with string_null to clear; skin -1 means mod is the filename of the txt file and is to be split
+
+string HUD_Panel_GetName(float id)