Xonotic
image.qc
Go to the documentation of this file.
1 #include "image.qh"
2 
3 entity makeXonoticImage(string theImage, float theAspect)
4 {
5  entity me;
6  me = NEW(XonoticImage);
7  me.configureXonoticImage(me, theImage, theAspect);
8  return me;
9 }
10 void XonoticImage_configureXonoticImage(entity me, string theImage, float theAspect)
11 {
12  me.configureImage(me, theImage);
13  me.forcedAspect = theAspect;
14 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn
void XonoticImage_configureXonoticImage(entity me, string theImage, float theAspect)
Definition: image.qc:10
entity makeXonoticImage(string theImage, float theAspect)
Definition: image.qc:3