Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
image.qc File Reference
#include "image.qh"
Include dependency graph for image.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

entity makeXonoticImage (string theImage, float theAspect)
void XonoticImage_configureXonoticImage (entity me, string theImage, float theAspect)

Function Documentation

◆ makeXonoticImage()

entity makeXonoticImage ( string theImage,
float theAspect )

Definition at line 3 of file image.qc.

4{
5 entity me;
6 me = NEW(XonoticImage);
7 me.configureXonoticImage(me, theImage, theAspect);
8 return me;
9}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:117

References entity(), and NEW.

Referenced by XonoticImage::configureXonoticImage(), XonoticMapInfoDialog_fill(), and XonoticWinnerDialog_fill().

◆ XonoticImage_configureXonoticImage()

void XonoticImage_configureXonoticImage ( entity me,
string theImage,
float theAspect )

Definition at line 10 of file image.qc.

11{
12 me.configureImage(me, theImage);
13 me.forcedAspect = theAspect;
14}

References entity().