Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
crosshairpreview.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../item.qh
"
4
CLASS
(
XonoticCrosshairPreview
,
MenuItem
)
5
METHOD
(
XonoticCrosshairPreview
,
configureXonoticCrosshairPreview
,
void
(
entity
));
6
METHOD
(
XonoticCrosshairPreview
,
draw
,
void
(
entity
));
7
ATTRIB
(
XonoticCrosshairPreview
, src,
string
);
8
ATTRIB
(
XonoticCrosshairPreview
, src2,
string
);
9
ATTRIB
(
XonoticCrosshairPreview
,
disabled
,
float
, 0);
10
ATTRIB
(
XonoticCrosshairPreview
,
disabledAlpha
,
float
, SKINALPHA_DISABLED);
11
ENDCLASS
(
XonoticCrosshairPreview
)
12
entity
makeXonoticCrosshairPreview
();
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
MenuItem
Definition
item.qh:8
XonoticCrosshairPreview
Definition
crosshairpreview.qh:4
XonoticCrosshairPreview::disabledAlpha
float disabledAlpha
Definition
crosshairpreview.qh:10
XonoticCrosshairPreview::disabled
float disabled
Definition
crosshairpreview.qh:9
XonoticCrosshairPreview::draw
virtual void draw()
XonoticCrosshairPreview::ATTRIB
ATTRIB(XonoticCrosshairPreview, src, string)
XonoticCrosshairPreview::configureXonoticCrosshairPreview
virtual void configureXonoticCrosshairPreview()
makeXonoticCrosshairPreview
entity makeXonoticCrosshairPreview()
Definition
crosshairpreview.qc:3
item.qh
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
menu
xonotic
crosshairpreview.qh
Generated on
for Xonotic QuakeC by
1.14.0