]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/net_linked.qh
Make it compile without XONOTIC defined
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / net_linked.qh
1 #pragma once
2
3 REGISTER_NET_TEMP(TE_CSQC_PICTURE)
4 REGISTER_NET_TEMP(TE_CSQC_RACE)
5 REGISTER_NET_TEMP(TE_CSQC_TEAMNAGGER)
6 REGISTER_NET_TEMP(TE_CSQC_PINGPLREPORT)
7 REGISTER_NET_TEMP(TE_CSQC_WEAPONCOMPLAIN)
8 REGISTER_NET_TEMP(TE_CSQC_VEHICLESETUP)
9
10 const int RACE_NET_CHECKPOINT_HIT_QUALIFYING = 0; // byte checkpoint, short time, short recordtime, string recordholder
11 const int RACE_NET_CHECKPOINT_CLEAR = 1;
12 const int RACE_NET_CHECKPOINT_NEXT_QUALIFYING = 2; // byte nextcheckpoint, short recordtime, string recordholder
13 const int RACE_NET_CHECKPOINT_HIT_RACE = 3; // byte checkpoint, short delta, byte lapsdelta, string opponent
14 const int RACE_NET_CHECKPOINT_HIT_RACE_BY_OPPONENT = 4; // byte checkpoint, short delta, byte lapsdelta, string opponent
15 const int RACE_NET_CHECKPOINT_NEXT_SPEC_QUALIFYING = 5; // byte nextcheckpoint, float laptime, short recordtime, string recordholder
16 const int RACE_NET_PENALTY_RACE = 6; // byte penaltytime, string reason
17 const int RACE_NET_PENALTY_QUALIFYING = 7; // byte penaltytime, string reason
18 const int RACE_NET_SERVER_RECORD = 8; // server record, sent to client
19 const int RACE_NET_SPEED_AWARD = 9; // speed award, sent to client
20 const int RACE_NET_SPEED_AWARD_BEST = 10; // all time best speed award, sent to client
21 const int RACE_NET_SERVER_RANKINGS = 11;
22 const int RACE_NET_SERVER_STATUS = 12;
23 const int RANKINGS_CNT = 15;
24
25 REGISTER_NET_LINKED(_ENT_CLIENT_INIT)
26 #ifdef CSQC
27 NET_HANDLE(_ENT_CLIENT_INIT, bool isnew) { make_pure(this); return true; }
28 #endif
29 /** Sent as a temp entity from a persistent linked entity */
30 REGISTER_NET_TEMP(ENT_CLIENT_INIT)
31
32 REGISTER_NET_LINKED(ENT_CLIENT_SCORES_INFO)
33 REGISTER_NET_LINKED(ENT_CLIENT_SCORES)
34 REGISTER_NET_LINKED(ENT_CLIENT_TEAMSCORES)
35 REGISTER_NET_LINKED(ENT_CLIENT_NAGGER) // flags [votecalledvote]
36 REGISTER_NET_LINKED(ENT_CLIENT_RADARLINK) // flags [startorigin] [endorigin] [startcolor+16*endcolor]
37 REGISTER_NET_LINKED(ENT_CLIENT_PROJECTILE)
38 REGISTER_NET_LINKED(ENT_CLIENT_MAPVOTE)
39 REGISTER_NET_LINKED(ENT_CLIENT_CLIENTDATA)
40 REGISTER_NET_LINKED(ENT_CLIENT_RANDOMSEED)
41 REGISTER_NET_LINKED(ENT_CLIENT_ACCURACY)
42 REGISTER_NET_LINKED(ENT_CLIENT_ELIMINATEDPLAYERS)
43
44 REGISTER_NET_LINKED(ENT_CLIENT_MODEL)
45
46 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE)
47 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE_CAMERA)
48 REGISTER_NET_LINKED(ENT_CLIENT_WARPZONE_TELEPORTED)
49
50 REGISTER_NET_LINKED(ENT_CLIENT_ARC_BEAM)
51 REGISTER_NET_LINKED(ENT_CLIENT_HOOK)
52 REGISTER_NET_LINKED(ENT_CLIENT_TUBANOTE)
53
54 REGISTER_NET_LINKED(ENT_CLIENT_SPAWNPOINT)
55 REGISTER_NET_LINKED(ENT_CLIENT_SPAWNEVENT)
56 REGISTER_NET_LINKED(ENT_CLIENT_WALL)