Xonotic
campaign.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
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);
30 
32  ATTRIB(XonoticCampaignList, itemAbsSize, vector, '0 0 0');
33  ATTRIB(XonoticCampaignList, emptyLineHeight, float, 0.5);
34 
35  ATTRIB(XonoticCampaignList, campaignIndex, float, 0);
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);
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(Object) Object
Definition: oo.qh:318
entity() spawn
origin
Definition: ent_cs.qc:114
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
float realUpperMargin2
Definition: playerlist.qc:3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269