]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/main.qh
Move initialization stage handling out of miscfunctions and into world.qc
[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 .float remove_except_protected_forbidden;
7 void remove_except_protected(entity e);
8
9 void remove_safely(entity e);
10
11 void remove_unsafely(entity e);
12
13 bool expr_evaluate(string s);
14
15 #ifdef PROFILING
16 float client_cefc_accumulator;
17 float client_cefc_accumulatortime;
18 #endif
19
20 float servertime, serverprevtime, serverframetime;
21
22 .vector oldvelocity; // for fall damage
23
24 .float watersound_finished;
25
26 .bool iscreature;
27 .float species;
28
29 .float contents_damagetime;
30
31 /*
32 ==================
33 main
34
35 unused but required by the engine
36 ==================
37 */
38 void main ();