Xonotic
util.qh
Go to the documentation of this file.
1
#pragma once
2
3
float
GL_CheckExtension
(
string
ext);
4
float
GL_Have_TextureCompression
();
5
6
void
forAllDescendants
(
entity
root,
void
(
entity
,
entity
) funcPre,
void
(
entity
,
entity
) funcPost,
entity
pass
);
7
void
saveAllCvars
(
entity
root);
8
void
loadAllCvars
(
entity
root);
9
10
void
makeMulti
(
entity
me,
string
otherCvars);
11
string
getCvarsMulti
(
entity
me);
12
void
makeCallback
(
entity
me,
entity
cbent,
void
(
entity
,
entity
) cbfunc);
13
14
void
setDependent
(
entity
e,
string
theCvarName,
float
theCvarMin,
float
theCvarMax);
15
void
setDependentAND
(
entity
e,
string
theCvarName,
float
theCvarMin,
float
theCvarMax,
string
theCvar2Name,
float
theCvar2Min,
float
theCvar2Max);
16
void
setDependentOR
(
entity
e,
string
theCvarName,
float
theCvarMin,
float
theCvarMax,
string
theCvar2Name,
float
theCvar2Min,
float
theCvar2Max);
17
void
setDependentAND3
(
entity
e,
string
theCvarName,
float
theCvarMin,
float
theCvarMax,
string
theCvar2Name,
float
theCvar2Min,
float
theCvar2Max,
string
theCvar3Name,
float
theCvar3Min,
float
theCvar3Max);
18
void
setDependentStringNotEqual
(
entity
e,
string
theCvarName,
string
theCvarValue);
19
void
setDependentWeird
(
entity
e,
float
(
entity
) func);
20
21
void
setZonedTooltip
(
entity
e,
string
theTooltip,
string
theCvar);
22
void
clearTooltip
(
entity
e);
23
24
string
resolvemod
(
string
m);
25
26
float
updateCompression
();
27
28
void
UpdateNotification_URI_Get_Callback
(
float
id
,
float
status,
string
data);
29
30
// game type list box stuff (does not NEED to contain all game types, other
31
// types stay available via console)
32
entity
GameType_GetID
(
int
cnt
);
33
string
GameType_GetName
(
int
cnt
);
34
string
GameType_GetIcon
(
int
cnt
);
35
//string GameType_GetTeams(float cnt);
36
int
GameType_GetCount
();
37
int
GameType_GetTotalCount
();
38
39
void
dialog_hudpanel_main_checkbox
(
entity
me,
string
panelname);
40
void
dialog_hudpanel_main_settings
(
entity
me,
string
panelname);
41
42
float
getFadedAlpha
(
float
currentAlpha,
float
startAlpha,
float
targetAlpha);
43
44
string
_Nex_ExtResponseSystem_BannedServers
;
45
float
_Nex_ExtResponseSystem_BannedServersNeedsRefresh
;
46
string
_Nex_ExtResponseSystem_PromotedServers
;
47
float
_Nex_ExtResponseSystem_PromotedServersNeedsRefresh
;
48
string
_Nex_ExtResponseSystem_RecommendedServers
;
49
float
_Nex_ExtResponseSystem_RecommendedServersNeedsRefresh
;
50
float
_Nex_ExtResponseSystem_NewToS
;
51
52
void
CheckSendCvars
(
entity
me,
string
cvarnamestring);
_Nex_ExtResponseSystem_BannedServers
string _Nex_ExtResponseSystem_BannedServers
Definition:
util.qh:44
GameType_GetID
entity GameType_GetID(int cnt)
Definition:
util.qc:706
resolvemod
string resolvemod(string m)
Definition:
util.qc:620
setDependentWeird
void setDependentWeird(entity e, float(entity) func)
Definition:
util.qc:249
setDependentStringNotEqual
void setDependentStringNotEqual(entity e, string theCvarName, string theCvarValue)
Definition:
util.qc:190
setDependent
void setDependent(entity e, string theCvarName, float theCvarMin, float theCvarMax)
Definition:
util.qc:178
updateCompression
float updateCompression()
Definition:
util.qc:628
_Nex_ExtResponseSystem_PromotedServersNeedsRefresh
float _Nex_ExtResponseSystem_PromotedServersNeedsRefresh
Definition:
util.qh:47
_Nex_ExtResponseSystem_RecommendedServersNeedsRefresh
float _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh
Definition:
util.qh:49
entity
entity() spawn
makeMulti
void makeMulti(entity me, string otherCvars)
Definition:
util.qc:90
setDependentAND
void setDependentAND(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max)
Definition:
util.qc:202
GameType_GetCount
int GameType_GetCount()
Definition:
util.qc:716
GameType_GetTotalCount
int GameType_GetTotalCount()
Definition:
util.qc:729
clearTooltip
void clearTooltip(entity e)
Definition:
util.qc:277
cnt
float cnt
Definition:
powerups.qc:24
dialog_hudpanel_main_checkbox
void dialog_hudpanel_main_checkbox(entity me, string panelname)
Definition:
util.qc:764
_Nex_ExtResponseSystem_NewToS
float _Nex_ExtResponseSystem_NewToS
Definition:
util.qh:50
_Nex_ExtResponseSystem_PromotedServers
string _Nex_ExtResponseSystem_PromotedServers
Definition:
util.qh:46
getCvarsMulti
string getCvarsMulti(entity me)
Definition:
util.qc:58
forAllDescendants
void forAllDescendants(entity root, void(entity, entity) funcPre, void(entity, entity) funcPost, entity pass)
Definition:
util.qc:24
GameType_GetName
string GameType_GetName(int cnt)
Definition:
util.qc:739
setZonedTooltip
void setZonedTooltip(entity e, string theTooltip, string theCvar)
Definition:
util.qc:257
saveAllCvars
void saveAllCvars(entity root)
Definition:
util.qc:47
GL_CheckExtension
float GL_CheckExtension(string ext)
Definition:
util.qc:13
dialog_hudpanel_main_settings
void dialog_hudpanel_main_settings(entity me, string panelname)
Definition:
util.qc:773
CheckSendCvars
void CheckSendCvars(entity me, string cvarnamestring)
Definition:
util.qc:841
GL_Have_TextureCompression
float GL_Have_TextureCompression()
Definition:
util.qc:18
loadAllCvars
void loadAllCvars(entity root)
Definition:
util.qc:51
_Nex_ExtResponseSystem_BannedServersNeedsRefresh
float _Nex_ExtResponseSystem_BannedServersNeedsRefresh
Definition:
util.qh:45
UpdateNotification_URI_Get_Callback
void UpdateNotification_URI_Get_Callback(float id, float status, string data)
Definition:
util.qc:321
makeCallback
void makeCallback(entity me, entity cbent, void(entity, entity) cbfunc)
Definition:
util.qc:105
getFadedAlpha
float getFadedAlpha(float currentAlpha, float startAlpha, float targetAlpha)
Definition:
util.qc:832
setDependentOR
void setDependentOR(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max)
Definition:
util.qc:217
pass
#define pass(name, colormin, colormax)
GameType_GetIcon
string GameType_GetIcon(int cnt)
Definition:
util.qc:745
_Nex_ExtResponseSystem_RecommendedServers
string _Nex_ExtResponseSystem_RecommendedServers
Definition:
util.qh:48
setDependentAND3
void setDependentAND3(entity e, string theCvarName, float theCvarMin, float theCvarMax, string theCvar2Name, float theCvar2Min, float theCvar2Max, string theCvar3Name, float theCvar3Min, float theCvar3Max)
Definition:
util.qc:232
menu
xonotic
util.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13