]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/image.qc
Merge branch 'master' into terencehill/translated_keys
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / image.qc
index e8f5a8269351a4f81648181517415e6c3c8130e5..f99fc5d94c30079c5c77cc04f07524297d8d99f1 100644 (file)
@@ -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