X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fbigcommandbutton.qc;h=a6f8615de4b26c47f3f714cd625caed14fa3a53a;hb=98c650ac374a423e726807bf0da1d2b4fd120cee;hp=68941771708b212522e86c8e7b651635762cbbd4;hpb=c0582a52156c4e74e4c5313e5f360275493a8733;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/bigcommandbutton.qc b/qcsrc/menu/xonotic/bigcommandbutton.qc index 689417717..a6f8615de 100644 --- a/qcsrc/menu/xonotic/bigcommandbutton.qc +++ b/qcsrc/menu/xonotic/bigcommandbutton.qc @@ -1,16 +1,5 @@ -#ifndef BIGCOMMANDBUTTON_H -#define BIGCOMMANDBUTTON_H -#include "commandbutton.qc" -CLASS(XonoticBigCommandButton, XonoticCommandButton) - METHOD(XonoticBigCommandButton, configureXonoticBigCommandButton, void(entity, string, vector, string, float, string)); - ATTRIB(XonoticBigCommandButton, image, string, SKINGFX_BUTTON_BIG) - ATTRIB(XonoticBigCommandButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY) -ENDCLASS(XonoticBigCommandButton) -entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float closesMenu, string theTooltip); -entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, float closesMenu); -#endif +#include "bigcommandbutton.qh" -#ifdef IMPLEMENTATION entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, float theFlags, string theTooltip) { entity me; @@ -27,4 +16,3 @@ void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string { me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip); } -#endif