ddnet/src/game/server
bors[bot] 5107b38d04
Merge #6324 #6345
6324: Optimize client ids map update r=def- a=0xfaulty

I have launched support for 128 players in testing mode on my server, it's means it's time for another step in this direction here. Perhaps not all changes will be clear, I am ready to answer/discuss them as usual. Let me know if I forgot or didn't take anything into account.

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


6345: Set constant and uniform names for the server and client CMake targets r=def- a=Kaffeine

This MR set the server and client CMake target names to `game-server` and `game-client` which are uniform with other targets such as `engine-gfx`, `engine-shared`, and `game-shared`.

Set uniform names for the targets to:
1. Avoid long rebuilds on the target _executable_ name changed
2. Provide the same name for different executables and/or different setup (use-cases are `cmake --build . --target game-server` and various CMake target lookups in IDEs)

Those changes are necessary but not enough to allow CI for custom app name on all platforms.

Personally this 'll allow me switch to between DDNet and Infclass branches faster and without breaking the targets configuration (e.g. with that patchset I can have `game-client` as an active target in both branches), and also reduces the conflicts in `CMakeLists.txt`.
Easier to switch between the forks => easier to contribute.

Co-authored-by: Valentin Bashkirov <valenteen3d@ya.ru>
Co-authored-by: Valentin Bashkirov <v.bashkirov@dev.tassta.com>
Co-authored-by: Alexander Akulich <akulichalexander@gmail.com>
2023-03-05 16:53:37 +00:00
..
entities Replace usages of C math functions 2023-03-01 19:26:53 +01:00
gamemodes rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
alloc.h Remove dead code 2022-05-31 19:32:07 +02:00
ddracechat.cpp Use str_copy instead of str_format 2023-01-28 16:37:33 +01:00
ddracecommands.cpp Fix empty chat message being sent when using moderate 2023-01-28 16:36:03 +01:00
entity.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
entity.h Remove projectiles on save and load 2023-01-03 23:38:58 +01:00
eventhandler.cpp rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
eventhandler.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
gamecontext.cpp Merge #6324 #6345 2023-03-05 16:53:37 +00:00
gamecontext.h Merge #6324 #6345 2023-03-05 16:53:37 +00:00
gamecontroller.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
gamecontroller.h move typedef to protocol.h 2023-01-26 11:56:48 +01:00
gameworld.cpp fixed comments 2023-02-28 13:06:50 +01:00
gameworld.h Remove projectiles on team change 2023-01-04 21:08:47 +01:00
player.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
player.h Persist AFK state of players on map change 2022-12-23 00:13:10 +01:00
save.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
save.h Remove projectiles on save and load 2023-01-03 23:38:58 +01:00
score.cpp Merge #6226 #6230 2023-01-04 18:03:11 +00:00
score.h Fix scoreboard showing wrong best time 2022-12-31 12:36:03 +01:00
scoreworker.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
scoreworker.h Merge #6226 #6230 2023-01-04 18:03:11 +00:00
teams.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
teams.h rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
teehistorian.cpp Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
teehistorian.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teeinfo.cpp Mark parameters as const when possible 2022-11-29 23:32:31 +01:00
teeinfo.h Mark parameters as const when possible 2022-11-29 23:32:31 +01:00