Xonotic
image.qh File Reference
#include "../item/image.qh"
+ Include dependency graph for image.qh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XonoticImage
 

Functions

entity makeXonoticImage (string theImage, float theAspect)
 

Function Documentation

◆ makeXonoticImage()

entity makeXonoticImage ( string  theImage,
float  theAspect 
)

Definition at line 3 of file image.qc.

References entity(), and NEW.

Referenced by XonoticMapInfoDialog_fill(), and XonoticWinnerDialog_fill().

4 {
5  entity me;
6  me = NEW(XonoticImage);
7  me.configureXonoticImage(me, theImage, theAspect);
8  return me;
9 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn
+ Here is the call graph for this function:
+ Here is the caller graph for this function: