Xonotic
maplist.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
5  METHOD(XonoticMapList, configureXonoticMapList, void(entity));
6  ATTRIB(XonoticMapList, rowsPerItem, float, 4);
7  METHOD(XonoticMapList, draw, void(entity));
8  METHOD(XonoticMapList, drawListBoxItem, void(entity, int, vector, bool, bool));
9  METHOD(XonoticMapList, clickListBoxItem, void(entity, float, vector));
10  METHOD(XonoticMapList, doubleClickListBoxItem, void(entity, float, vector));
11  METHOD(XonoticMapList, resizeNotify, void(entity, vector, vector, vector, vector));
12  METHOD(XonoticMapList, refilter, void(entity));
13  METHOD(XonoticMapList, refilterCallback, void(entity, entity));
14  METHOD(XonoticMapList, keyDown, float(entity, float, float, float));
15 
16  ATTRIB(XonoticMapList, realFontSize, vector, '0 0 0');
17  ATTRIB(XonoticMapList, columnPreviewOrigin, float, 0);
18  ATTRIB(XonoticMapList, columnPreviewSize, float, 0);
19  ATTRIB(XonoticMapList, columnNameOrigin, float, 0);
20  ATTRIB(XonoticMapList, columnNameSize, float, 0);
21  ATTRIB(XonoticMapList, checkMarkOrigin, vector, '0 0 0');
22  ATTRIB(XonoticMapList, checkMarkSize, vector, '0 0 0');
23  ATTRIB(XonoticMapList, realUpperMargin1, float, 0);
25 
26  ATTRIB(XonoticMapList, lastGametype, entity);
27  ATTRIB(XonoticMapList, lastFeatures, float, 0);
28 
30  ATTRIB(XonoticMapList, itemAbsSize, vector, '0 0 0');
31 
32  ATTRIB(XonoticMapList, g_maplistCache, string);
33  METHOD(XonoticMapList, g_maplistCacheToggle, void(entity, float));
34  METHOD(XonoticMapList, g_maplistCacheQuery, float(entity, float));
35 
36  ATTRIB(XonoticMapList, stringFilter, string);
37  ATTRIB(XonoticMapList, stringFilterBox, entity);
38 
39  ATTRIB(XonoticMapList, startButton, entity);
40 
41  METHOD(XonoticMapList, loadCvars, void(entity));
42 
43  ATTRIB(XonoticMapList, typeToSearchString, string);
44  ATTRIB(XonoticMapList, typeToSearchTime, float, 0);
45 
46  METHOD(XonoticMapList, destroy, void(entity));
47 
48  ATTRIB(XonoticMapList, alphaBG, float, 0);
52 float MapList_StringFilterBox_keyDown(entity me, float key, float ascii, float shift);
53 void MapList_Add_Shown(entity btn, entity me);
54 void MapList_Remove_Shown(entity btn, entity me);
55 void MapList_Add_All(entity btn, entity me);
56 void MapList_Remove_All(entity btn, entity me);
57 void MapList_LoadMap(entity btn, entity me);
void MapList_Remove_All(entity btn, entity me)
Definition: maplist.qc:263
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
float MapList_StringFilterBox_keyDown(entity me, float key, float ascii, float shift)
Definition: maplist.qc:382
void MapList_Add_Shown(entity btn, entity me)
Definition: maplist.qc:227
origin
Definition: ent_cs.qc:114
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
void MapList_Remove_Shown(entity btn, entity me)
Definition: maplist.qc:239
void MapList_Add_All(entity btn, entity me)
Definition: maplist.qc:251
void MapList_LoadMap(entity btn, entity me)
Definition: maplist.qc:269
float realUpperMargin2
Definition: playerlist.qc:3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticMapList()
Definition: maplist.qc:15
void MapList_StringFilterBox_Change(entity box, entity me)
Definition: maplist.qc:218