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