me.configureXonoticGametypeButton(me, theGroup, theCvar, theText);
return me;
}
-void configureXonoticGametypeButtonXonoticGametypeButton(entity me, float theGroup, string theCvar, string theText)
+void XonoticGametypeButton_configureXonoticGametypeButton(entity me, float theGroup, string theCvar, string theText)
{
if(theCvar)
{
me.onClick = GameTypeButton_Click;
me.onClickEntity = NULL;
}
-void setCheckedXonoticGametypeButton(entity me, float val)
+void XonoticGametypeButton_setChecked(entity me, float val)
{
if(val != me.checked)
{
me.saveCvars(me);
}
}
-void loadCvarsXonoticGametypeButton(entity me)
+void XonoticGametypeButton_loadCvars(entity me)
{
if not(me.cvarName)
return;
me.checked = cvar(me.cvarName);
}
-void saveCvarsXonoticGametypeButton(entity me)
+void XonoticGametypeButton_saveCvars(entity me)
{
if not(me.cvarName)
return;