]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/bigbutton.qc
Add SpiKe to the extended team credits
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / bigbutton.qc
index 897d05d8df9bbe8faff3700ce35364e75df10543..0022aad5a4fd33ebd8c0de63b0bcf5e9d4f10093 100644 (file)
@@ -1,13 +1,5 @@
-#ifdef INTERFACE
-CLASS(XonoticBigButton, XonoticButton)
-       METHOD(XonoticBigButton, configureXonoticBigButton, void(entity, string, vector))
-       ATTRIB(XonoticBigButton, image, string, SKINGFX_BUTTON_BIG)
-       ATTRIB(XonoticBigButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY)
-ENDCLASS(XonoticBigButton)
-entity makeXonoticButton(string theText, vector theColor);
-#endif
+#include "bigbutton.qh"
 
-#ifdef IMPLEMENTATION
 entity makeXonoticBigButton(string theText, vector theColor)
 {
        entity me;
@@ -18,6 +10,5 @@ entity makeXonoticBigButton(string theText, vector theColor)
 
 void XonoticBigButton_configureXonoticBigButton(entity me, string theText, vector theColor)
 {
-       me.configureXonoticButton(me, theText, theColor);
+       me.configureXonoticButton(me, theText, theColor, string_null);
 }
-#endif