]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/main.qh
Replace some of the remaining cvar globals with autocvars, allows changing a few...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / main.qh
1 #pragma once
2
3 /** print(), but only print if the server is not local */
4 void dedicated_print(string input);
5
6 void remove_safely(entity e);
7
8 void remove_unsafely(entity e);
9
10 bool expr_evaluate(string s);
11
12 #ifdef PROFILING
13 float client_cefc_accumulator;
14 float client_cefc_accumulatortime;
15 #endif
16
17 float servertime, serverprevtime, serverframetime;
18
19 .vector oldvelocity; // for fall damage
20
21 .float watersound_finished;
22
23 .bool iscreature;
24 .float species;
25
26 .float contents_damagetime;
27
28 /*
29 ==================
30 main
31
32 unused but required by the engine
33 ==================
34 */
35 void main ();