Xonotic
campaign.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
listbox.qh
"
4
CLASS
(
XonoticCampaignList
,
XonoticListBox
)
5
METHOD
(
XonoticCampaignList
, configureXonoticCampaignList,
void
(
entity
));
6
ATTRIB
(
XonoticCampaignList
, rowsPerItem,
float
, 10);
7
METHOD
(
XonoticCampaignList
, draw,
void
(
entity
));
8
METHOD
(
XonoticCampaignList
, drawListBoxItem,
void
(
entity
,
int
,
vector
,
bool
,
bool
));
9
METHOD
(
XonoticCampaignList
, doubleClickListBoxItem,
void
(
entity
,
float
,
vector
));
10
METHOD
(
XonoticCampaignList
, resizeNotify,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
11
METHOD
(
XonoticCampaignList
, setSelected,
void
(
entity
,
float
));
12
METHOD
(
XonoticCampaignList
, keyDown,
float
(
entity
,
float
,
float
,
float
));
13
METHOD
(
XonoticCampaignList
, campaignGo,
void
(
entity
,
float
));
14
METHOD
(
XonoticCampaignList
, destroy,
void
(
entity
));
15
16
ATTRIB
(
XonoticCampaignList
, campaignGlob,
float
, 0);
17
ATTRIB
(
XonoticCampaignList
, realFontSize,
vector
,
'0 0 0'
);
18
ATTRIB
(
XonoticCampaignList
, columnPreviewOrigin,
float
, 0);
19
ATTRIB
(
XonoticCampaignList
, columnPreviewSize,
float
, 0);
20
ATTRIB
(
XonoticCampaignList
, columnNameOrigin,
float
, 0);
21
ATTRIB
(
XonoticCampaignList
, columnNameSize,
float
, 0);
22
ATTRIB
(
XonoticCampaignList
, columnCheckMarkOrigin,
float
, 0);
23
ATTRIB
(
XonoticCampaignList
, columnCheckMarkSize,
float
, 0);
24
ATTRIB
(
XonoticCampaignList
, checkMarkOrigin,
vector
,
'0 0 0'
);
25
ATTRIB
(
XonoticCampaignList
, checkMarkSize,
vector
,
'0 0 0'
);
26
ATTRIB
(
XonoticCampaignList
, typeIconOrigin,
vector
,
'0 0 0'
);
27
ATTRIB
(
XonoticCampaignList
, typeIconSize,
vector
,
'0 0 0'
);
28
ATTRIB
(
XonoticCampaignList
, realUpperMargin1,
float
, 0);
29
ATTRIB
(
XonoticCampaignList
,
realUpperMargin2
,
float
, 0);
30
31
ATTRIB
(
XonoticCampaignList
,
origin
,
vector
,
'0 0 0'
);
32
ATTRIB
(
XonoticCampaignList
, itemAbsSize,
vector
,
'0 0 0'
);
33
ATTRIB
(
XonoticCampaignList
, emptyLineHeight,
float
, 0.5);
34
35
ATTRIB
(
XonoticCampaignList
, campaignIndex,
float
, 0);
36
ATTRIB
(
XonoticCampaignList
,
controlledCvar
,
string
);
37
METHOD
(
XonoticCampaignList
, loadCvars,
void
(
entity
));
38
METHOD
(
XonoticCampaignList
, saveCvars,
void
(
entity
));
39
ATTRIB
(
XonoticCampaignList
, hasNextCampaign,
bool
,
false
);
40
ATTRIB
(
XonoticCampaignList
, hasPrevCampaign,
bool
,
false
);
41
42
ATTRIB
(
XonoticCampaignList
, buttonNext,
entity
);
43
ATTRIB
(
XonoticCampaignList
, buttonPrev,
entity
);
44
ATTRIB
(
XonoticCampaignList
, labelTitle,
entity
);
45
ENDCLASS
(
XonoticCampaignList
)
46
entity
makeXonoticCampaignList
();
47
void
CampaignList_LoadMap
(
entity
btn,
entity
me);
48
void
MultiCampaign_Next
(
entity
btn,
entity
me);
49
void
MultiCampaign_Prev
(
entity
btn,
entity
me);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
MultiCampaign_Next
void MultiCampaign_Next(entity btn, entity me)
Definition:
campaign.qc:142
makeXonoticCampaignList
entity makeXonoticCampaignList()
Definition:
campaign.qc:48
entity
entity() spawn
listbox.qh
controlledCvar
string controlledCvar
Definition:
menu.qc:16
origin
origin
Definition:
ent_cs.qc:114
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
MultiCampaign_Prev
void MultiCampaign_Prev(entity btn, entity me)
Definition:
campaign.qc:146
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
XonoticCampaignList
Definition:
campaign.qh:4
realUpperMargin2
float realUpperMargin2
Definition:
playerlist.qc:3
CampaignList_LoadMap
void CampaignList_LoadMap(entity btn, entity me)
Definition:
campaign.qc:262
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
XonoticListBox
Definition:
listbox.qh:4
menu
xonotic
campaign.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13