Go to the source code of this file.
◆ CheckEngineExtensions()
Definition at line 30 of file checkextension.qc.
31{
32 if (!
cvar(
"pr_checkextension"))
33 LOG_FATAL(
"Engine lacks the QC extension system.");
34
36 LOG_WARN(
"Engine lacks HTTP support, XonStat and map downloads are unavailable.");
37
39 LOG_WARN(
"Engine lacks DP_CRYPTO, Player IDs (required for XonStat, CTS/CTF records and pubkey authentication) are unavailable.");
40
41#ifdef SVQC
43 {
44 nudgeoutofsolid_OrFallback = nudgeoutofsolid;
45 }
46 else
47 {
48 LOG_WARN(
"Engine lacks DP_QC_NUDGEOUTOFSOLID, falling back to WarpZoneLib_MoveOutOfSolid().");
49
51 }
52
53 if (!
world.fullspawndata)
54 LOG_WARN(
"Engine lacks entity fullspawndata, on Quake 3 maps some entities will malfunction.");
55
57 LOG_WARN(
"Engine lacks DP_RM_CLIPGROUP, g_projectiles_interact < 2 won't take effect.");
58#endif
59
60#ifdef GAMEQC
62 {
63 findbox_OrFallback = findbox;
64 findbox_tofield_OrFallback = findbox_tofield;
65 }
66 else
67 {
68 LOG_WARN(
"Engine lacks DP_QC_FINDBOX, performance will be suboptimal.");
71 }
72#endif
73
74
75}
entity findbox_tofield_Fallback(vector mins, vector maxs,.entity tofield)
entity findbox_Fallback(vector mins, vector maxs)
int WarpZoneLib_MoveOutOfSolid(entity e)
References checkextension(), cvar(), findbox_Fallback(), findbox_tofield_Fallback(), LOG_FATAL, LOG_WARN, WarpZoneLib_MoveOutOfSolid(), and world.
Referenced by CSQC_Init(), m_init(), and spawnfunc().
◆ findbox_Fallback()
◆ findbox_tofield_Fallback()
Definition at line 4 of file checkextension.qc.
5{
6
7
11 {
14 else
15 {
17 prev.tofield = e.tofield;
18 else
20 }
21 }
23}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ERASEABLE float boxesoverlap(vector m1, vector m2, vector m3, vector m4)
requires that m2>m1 in all coordinates, and that m4>m3
References boxesoverlap(), chain, entity(), max(), maxs, mins, NULL, prev, vector, and vlen().
Referenced by CheckEngineExtensions(), and findbox_Fallback().