ddnet/src/game
bors[bot] 6c3d0e999b
Merge #5933 #5941
5933: Inline `Is(GameType)` functions and remove support for legacy 64 player info protocol r=def- a=heinrich5991

## Checklist

- [ ] 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)


5941: Get away from vector for skins r=def- a=Jupeyy

most of the time it uses the index just to get the skin, downloaded skins change the index. Now its simply a heap object and downloaded skins load directly. Also the loading might be a bit faster bcs it had a loop lookup .Also O(1) lookup

not 100% tested. also fixes a bug with favorite skins hopefully
## 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)


Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2022-10-12 22:08:17 +00:00
..
client Merge #5933 #5941 2022-10-12 22:08:17 +00:00
editor Use str_comp_filenames to sort maps and demos again 2022-09-30 14:48:53 +02:00
server Merge #5867 2022-09-23 23:41:20 +00: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 Running and AFK anim. states 2022-09-16 12:30:05 +02:00
gamecore.h Running and AFK anim. states 2022-09-16 12:30:05 +02:00
layers.cpp Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
layers.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01: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 Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex.cpp Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01:00
mapitems_ex_types.h Parallax Zoom: use CMapItemGroupEx to store parallax value 2022-08-10 03:05:23 +01: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 Use new ddnet.org domain 2022-08-30 10:09:06 +02:00
version.h Version 16.4 2022-09-16 13:07:36 +02:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00