]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/main.qh
2fde70481f6839c5199a9ba53565025b56e786b6
[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 // copies a string to a tempstring (so one can strunzone it)
14 string strcat1(string s) = #115; // FRIK_FILE
15
16 #ifdef PROFILING
17 float client_cefc_accumulator;
18 float client_cefc_accumulatortime;
19 #endif
20
21 float servertime, serverprevtime, serverframetime;
22
23 .vector oldvelocity; // for fall damage
24
25 .float watersound_finished;
26
27 .bool iscreature;
28 .float species;
29
30 .float contents_damagetime;
31
32 /*
33 ==================
34 main
35
36 unused but required by the engine
37 ==================
38 */
39 void main ();