X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fimage.qc;h=f99fc5d94c30079c5c77cc04f07524297d8d99f1;hb=bc50c2d7ca3e0a44ed1712400ef8e170e6df8210;hp=1f25899c142840647bec37c509e399dfd646aec7;hpb=7bae88d09fbd53cce732e31633aea92671b43699;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/image.qc b/qcsrc/menu/xonotic/image.qc index 1f25899c1..f99fc5d94 100644 --- a/qcsrc/menu/xonotic/image.qc +++ b/qcsrc/menu/xonotic/image.qc @@ -1,13 +1,5 @@ -#ifndef IMAGE_H -#define IMAGE_H -#include "../item/image.qc" -CLASS(XonoticImage, Image) - METHOD(XonoticImage, configureXonoticImage, void(entity, string, float)); -ENDCLASS(XonoticImage) -entity makeXonoticImage(string theImage, float theAspect); -#endif +#include "image.qh" -#ifdef IMPLEMENTATION entity makeXonoticImage(string theImage, float theAspect) { entity me; @@ -20,4 +12,3 @@ void XonoticImage_configureXonoticImage(entity me, string theImage, float theAsp me.configureImage(me, theImage); me.forcedAspect = theAspect; } -#endif