if(argv(0) == "directpanelhudmenu")
{
- highlightedPanel = stof(argv(1));
// switch to a menu item
- m_goto("HUDOptions");
-
- // this is here to detect which id the HUDOptions dialog is, i could imagine you need a similar system for the per-panel dialogs...
- entity panelvar;
- panelvar = findstring(NULL, name, "HUDOptions");
- panelvar.change(panelvar);
+ m_goto(strcat("HUD", argv(1)));
return;
}
return;
}
+ if(argv(0) == "setcompression")
+ {
+ updateCompression();
+ return;
+ }
+
#if 0
if(argv(0) == "tokentest")
{