ddnet/src/game/server
bors[bot] 47d63317aa
Merge #3826
3826: Respect TuneZone for characters r=def- a=TsFreddie

*I might be totally insane for doing this.
*The effect is only truly noticeable if you have high ping AND dropping packets.*

*clang-tidy's warning doesn't seems to relate to anything I've changed*


Now characters will try to respect TuneZones when ~~evolving and~~ predicting (like projectiles do). Since it is really important to keep TuningList as accurate as possible, I made a TuningList update logic so we try our best to update tunings only for the correct TuneZone (instead of constantly shoving current tuning into TuningList)

And each CCharacterCore now has its own Tunings to avoid any characters influencing GameWorld's tuning. Some server code has to be updated accordingly. I checked the code path, didn't notice anything that would make our server behave differently.

And I guess I should tag @trml myself this time.

## 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 if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps (as far as I could tell)
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Freddie Wang <tsfreddiewang@gmail.com>
Co-authored-by: def <dennis@felsin9.de>
2021-05-23 08:16:57 +00:00
..
entities Merge #3826 2021-05-23 08:16:57 +00:00
gamemodes Move DDRace-specific player initialization code to the Controller 2021-02-23 18:26:16 +03:00
alloc.h Extract allocation macros to alloc.h (mimic the upstream) 2021-01-10 14:25:12 +03:00
ddracechat.cpp Add sv_swap 2021-05-11 17:05:17 +02:00
ddracecommands.cpp Rename save/load to conform to the code style 2021-02-16 18:15:50 +01:00
entity.cpp Make netclipping of entities and events respect shown distance (fixes #3420) 2021-01-11 23:11:28 +01:00
entity.h Simplify entities destruction 2021-05-22 20:02:00 +02:00
eventhandler.cpp Make netclipping of entities and events respect shown distance (fixes #3420) 2021-01-11 23:11:28 +01:00
eventhandler.h Make netclipping of entities and events respect shown distance (fixes #3420) 2021-01-11 23:11:28 +01:00
gamecontext.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
gamecontext.h Merge pull request #5 from ddnet/master 2021-03-17 19:07:18 +02:00
gamecontroller.cpp GameController: Add OnPlayerConnect() like in the upstream 2021-02-23 18:26:16 +03:00
gamecontroller.h GameController: Add OnPlayerConnect() like in the upstream 2021-02-23 18:26:16 +03:00
gameworld.cpp Simplify entities destruction 2021-05-22 20:02:00 +02:00
gameworld.h Simplify entities destruction 2021-05-22 20:02:00 +02:00
player.cpp Avoid spawn effect being clipped 2021-04-30 15:37:20 +08:00
player.h PR feedback: 2021-03-20 18:08:54 +02:00
save.cpp PR feedback: 2021-03-20 18:08:54 +02:00
save.h Rename save/load to conform to the code style 2021-02-16 18:15:50 +01:00
score.cpp Fix team rank updating not working 2021-04-07 17:19:53 +02:00
score.h Applied community feedback. 2021-03-15 15:38:53 +02:00
teams.cpp Fix crash on test servers (fixes #3789) 2021-04-23 16:44:19 +02:00
teams.h Fixed names 2021-03-20 18:33:34 +02:00
teehistorian.cpp Clarify teehistorian code 2021-01-28 23:42:01 +01:00
teehistorian.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
teeinfo.cpp Fix variable names manually 2020-11-02 22:40:40 +01:00
teeinfo.h Run clang-format 2020-09-26 21:50:15 +02:00