ddnet/src/game
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
..
client Merge #3826 2021-05-23 08:16:57 +00:00
editor Make sure ctrl+shift+s works same as clicking UI 2021-05-22 11:40:08 +02:00
server Merge #3826 2021-05-23 08:16:57 +00:00
bezier.cpp Run clang-format 2020-09-26 21:50:15 +02:00
bezier.h Run clang-format 2020-09-26 21:50:15 +02:00
collision.cpp Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
collision.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
ddracechat.h Merge pull request #5 from ddnet/master 2021-03-17 19:07:18 +02:00
ddracecommands.h Add (un)endless_hook command 2020-12-26 23:09:38 +01:00
gamecore.cpp Try to fix clang-tidy warnings (untested) 2021-05-19 12:58:04 +02:00
gamecore.h Respect tunezone for characters 2021-05-13 00:57:50 +08:00
layers.cpp Run clang-format 2020-09-26 21:50:15 +02:00
layers.h Run clang-format 2020-09-26 21:50:15 +02:00
localization.cpp Run clang-format 2020-09-26 21:50:15 +02:00
localization.h Run clang-format 2020-09-26 21:50:15 +02:00
mapbugs.cpp Fix variable names manually 2020-11-02 22:40:40 +01: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 Merge #3586 #3587 2021-02-01 20:49:35 +00:00
mapitems.h SUBSTRACT -> SUBTRACT 2021-02-01 14:55:26 +01: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 Run clang-format 2020-09-26 21:50:15 +02:00
prng.h Use check_header_guards script 2020-09-11 00:03:31 +02:00
teamscore.cpp Run clang-format 2020-09-26 21:50:15 +02:00
teamscore.h Fix out of bounds access in GetSolo 2020-10-18 16:52:29 +02:00
tuning.h Add hammer_hit_fire_delay tune 2021-05-01 16:36:12 +02:00
variables.h Clear up documentation of cl_dummy_control 2021-03-23 14:54:47 +01:00
version.h Version 15.4 2021-03-25 07:58:27 +01:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00