ddnet/src/game
Robert Müller 9a012312b8 Move and extend GetClientVersion to remove many version.h includes
The `CServer::GetClientVersion` method needs the `version.h` include, so it's moved from the header to the source file, so the include can be removed from the header.

The `GetClientVersion` method is often called with the same `Client != SERVER_DEMO_CLIENT ? GetClientVersion(Client) : CLIENT_VERSIONNR` expression, which also needs the `version.h` include. This expression is moved inside the method, so the include can be removed from all the server entities' and player code.

The `CGameContext::GetClientVersion` method is made a delegate to reduce duplicate code.

The includes of the server entities are also organized further.
2022-07-31 23:21:10 +02:00
..
client Fix out of bounds access with highlighted messages in server demos 2022-07-21 15:32:11 +02:00
editor Merge #5678 2022-07-31 20:03:31 +00:00
server Move and extend GetClientVersion to remove many version.h includes 2022-07-31 23:21:10 +02:00
bezier.cpp Run clang-format 2020-09-26 21:50:15 +02:00
bezier.h clang-format 2022-03-24 17:59:49 +01:00
collision.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
collision.h Huge variable naming format 2022-07-08 18:01:29 +02:00
ddracechat.h Add /timecp command to get another players time checkpoints 2022-06-08 21:10:36 +02:00
ddracecommands.h put it above left up down 2022-04-19 08:58:26 +02:00
gamecore.cpp Rename "NoSomething" to "SomethingDisabled" 2022-07-11 13:40:01 +02:00
gamecore.h Rename "NoSomething" to "SomethingDisabled" 2022-07-11 13:40:01 +02:00
layers.cpp Organize game-shared includes 2022-06-17 17:39:25 +02:00
layers.h Organize game-shared includes 2022-06-17 17:39:25 +02:00
localization.cpp Format vector variables names (fixes #5209) 2022-06-11 21:38:49 +02:00
localization.h Format vector variables names (fixes #5209) 2022-06-11 21:38:49 +02:00
mapbugs.cpp Fix more unsafe define 2022-06-29 23:52:03 +02:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Implement shields that remove specific weapon (fixes #4572) 2022-04-28 16:49:32 +02:00
mapitems.h Merge #5544 2022-07-07 12:30:29 +00:00
mapitems_ex.cpp Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex.h Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex_types.h Run clang-format 2020-09-26 21:50:15 +02:00
prng.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
prng.h Organize game-shared includes 2022-05-29 20:02:22 +02:00
teamscore.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
teamscore.h Huge variable naming format 2022-07-08 18:01:29 +02:00
tuning.h Add hammer_hit_fire_delay tune 2021-05-01 16:36:12 +02:00
variables.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
version.h Version 16.2.2 2022-07-27 12:22:43 +02:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00