X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fbigbutton.qc;h=0022aad5a4fd33ebd8c0de63b0bcf5e9d4f10093;hp=45990118b93faa8e1dfc9593240cd49daf6b2678;hb=f532317ada52b5363cb0b74bfbdd38f5015e290c;hpb=e8f359ab180b5871b9c10df0cc667b90bf13b124 diff --git a/qcsrc/menu/xonotic/bigbutton.qc b/qcsrc/menu/xonotic/bigbutton.qc index 45990118b..0022aad5a 100644 --- a/qcsrc/menu/xonotic/bigbutton.qc +++ b/qcsrc/menu/xonotic/bigbutton.qc @@ -1,16 +1,5 @@ #include "bigbutton.qh" -#ifndef BIGBUTTON_H -#define BIGBUTTON_H -#include "button.qc" -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 makeXonoticBigButton(string theText, vector theColor); -#endif -#ifdef IMPLEMENTATION entity makeXonoticBigButton(string theText, vector theColor) { entity me; @@ -23,4 +12,3 @@ void XonoticBigButton_configureXonoticBigButton(entity me, string theText, vecto { me.configureXonoticButton(me, theText, theColor, string_null); } -#endif