]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/gametypebutton.c
make method names more standard: now Classname_method
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / gametypebutton.c
index f88cb0029cf19eb6d071489093c0cd48923a5d2b..c1dc04c7300e53f0c297ea804723121bd1b6c667 100644 (file)
@@ -30,7 +30,7 @@ entity makeXonoticGametypeButton(float theGroup, string theCvar, string theText)
        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)
        {
@@ -43,7 +43,7 @@ void configureXonoticGametypeButtonXonoticGametypeButton(entity me, float theGro
        me.onClick = GameTypeButton_Click;
        me.onClickEntity = NULL;
 }
-void setCheckedXonoticGametypeButton(entity me, float val)
+void XonoticGametypeButton_setChecked(entity me, float val)
 {
        if(val != me.checked)
        {
@@ -51,14 +51,14 @@ void setCheckedXonoticGametypeButton(entity me, float val)
                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;