Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_hudpanel_ammo.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
rootdialog.qh
"
4
CLASS
(
XonoticHUDAmmoDialog
,
XonoticRootDialog
)
5
METHOD
(
XonoticHUDAmmoDialog
,
fill
,
void
(
entity
));
6
ATTRIB
(
XonoticHUDAmmoDialog
,
title
,
string
, _(
"Ammo Panel"
));
7
ATTRIB
(
XonoticHUDAmmoDialog
,
color
,
vector
, SKINCOLOR_DIALOG_TEAMSELECT);
8
ATTRIB
(
XonoticHUDAmmoDialog
,
intendedWidth
,
float
, 0.4);
9
ATTRIB
(
XonoticHUDAmmoDialog
,
rows
,
float
, 16);
10
ATTRIB
(
XonoticHUDAmmoDialog
,
columns
,
float
, 4);
11
ATTRIB
(
XonoticHUDAmmoDialog
,
name
,
string
,
"HUDammo"
);
12
ATTRIB
(
XonoticHUDAmmoDialog
,
requiresConnection
,
bool
,
true
);
13
ENDCLASS
(
XonoticHUDAmmoDialog
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Dialog::ATTRIB
ATTRIB(Dialog, closeButton, entity)
XonoticHUDAmmoDialog
Definition
dialog_hudpanel_ammo.qh:4
XonoticHUDAmmoDialog::intendedWidth
float intendedWidth
Definition
dialog_hudpanel_ammo.qh:8
XonoticHUDAmmoDialog::title
string title
Definition
dialog_hudpanel_ammo.qh:6
XonoticHUDAmmoDialog::requiresConnection
bool requiresConnection
Definition
dialog_hudpanel_ammo.qh:12
XonoticHUDAmmoDialog::rows
float rows
Definition
dialog_hudpanel_ammo.qh:9
XonoticHUDAmmoDialog::name
string name
Definition
dialog_hudpanel_ammo.qh:11
XonoticHUDAmmoDialog::columns
float columns
Definition
dialog_hudpanel_ammo.qh:10
XonoticHUDAmmoDialog::fill
virtual void fill()
XonoticHUDAmmoDialog::color
vector color
Definition
dialog_hudpanel_ammo.qh:7
XonoticRootDialog
Definition
rootdialog.qh:4
true
#define true
Definition
csprogsdefs.qh:5
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
rootdialog.qh
vector
vector
Definition
self.qh:92
menu
xonotic
dialog_hudpanel_ammo.qh
Generated on
for Xonotic QuakeC by
1.14.0