ddnet/src/game/server
bors[bot] 98bf721587
Merge #4726 #4727 #4728 #4880 #5022
4726: Display super with "super" string in scoreboard (fixes #4724) r=heinrich5991 a=def-

instead of showing the number 64

Alternative to https://github.com/ddnet/ddnet/pull/4725

<!-- What is the motivation for the changes of this pull request -->

## 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 if it works standalone, system.c especially
- [ ] 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)


4727: Increase MAX_IDS to 32k (fixes #4723) r=heinrich5991 a=def-

Not sure I like it, otherwise we have to edit Game City.

Maybe we should fail this in map editor already instead of allowing to
create a map which requires > MAX_IDS

<!-- What is the motivation for the changes of this pull request -->

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


4728: Implement shields that remove specific weapon (fixes #4572) r=heinrich5991 a=def-

Thanks to Cellegen for graphics.

Functionality works, still a bit buggy sprite display (see screenshot), maybe someone can
quickly spot what I'm doing wrong

<img width="898" alt="Screenshot 2022-02-18 at 00 50 14" src="https://user-images.githubusercontent.com/2335377/154591108-d89cb475-daaf-4a6a-9748-17160a1e71a2.png">

## Checklist

- [x] Tested the change ingame
- [x] 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
- [ ] 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)


4880: Add mysql to github workflow in ubuntu 20.04 r=heinrich5991 a=def-

<!-- What is the motivation for the changes of this pull request -->

## 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 if it works standalone, system.c especially
- [ ] 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)


5022: Use std::clamp r=heinrich5991 a=def-

Not sure if we want to, there are some easy functions like this we could
take from stdlib now

<!-- What is the motivation for the changes of this pull request -->

## 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 if it works standalone, system.c especially
- [ ] 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: Dennis Felsing <dennis@felsin9.de>
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2022-04-29 00:30:17 +00:00
..
entities Implement shields that remove specific weapon (fixes #4572) 2022-04-28 16:49:32 +02:00
gamemodes Refactoring of g_Config.m_SvTeam, See #4601 2022-02-19 18:11:15 +01:00
alloc.h ms_Pool* --> gs_Pool* 2022-04-03 01:30:00 +02:00
ddracechat.cpp Enable swapping in team 0 2022-04-28 16:35:46 +02:00
ddracecommands.cpp add livefreeze commands to rcon 2022-04-18 16:37:35 +02:00
entity.cpp fix 4781 and refactor of the client id for server demos 2022-03-07 19:03:43 +01:00
entity.h Add some further readability checks, mostly redundancy 2022-01-22 17:22:01 +01:00
eventhandler.cpp fix 4781 and refactor of the client id for server demos 2022-03-07 19:03:43 +01:00
eventhandler.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
gamecontext.cpp Rename ActCur, some "actual" → "current" 2022-04-23 00:42:37 +02:00
gamecontext.h add livefreeze commands to rcon 2022-04-18 16:37:35 +02:00
gamecontroller.cpp Implement shields that remove specific weapon (fixes #4572) 2022-04-28 16:49:32 +02:00
gamecontroller.h Make spawn position independent of players in other teams 2022-02-06 00:01:50 +01:00
gameworld.cpp Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
gameworld.h Init m_pNextTraverseEntity 2022-02-09 15:26:50 +01:00
player.cpp Rename ActCur, some "actual" → "current" 2022-04-23 00:42:37 +02:00
player.h Rename ActCur, some "actual" → "current" 2022-04-23 00:42:37 +02:00
save.cpp Reset practice when loading team (fixes #4894) 2022-03-25 10:09:47 +01:00
save.h Remove unnecessary trailing semicolons after method declarations 2022-03-08 20:01:26 +01:00
score.cpp Differentiate team top 5 from player team top 5 2022-03-28 16:51:50 -03:00
score.h Differentiate team top 5 from player team top 5 2022-03-28 16:51:50 -03:00
scoreworker.cpp Always show /top local records 2022-03-28 20:20:23 -03:00
scoreworker.h Factor CScoreWorker out of CScore, add SaveScore test 2021-12-19 19:40:20 +01:00
teams.cpp Merge #4900 2022-03-28 18:17:40 +00:00
teams.h Reset practice when loading team (fixes #4894) 2022-03-25 10:09:47 +01:00
teehistorian.cpp Record player_ready event in teehistorian 2022-02-07 23:31:46 +01:00
teehistorian.h Record player_ready event in teehistorian 2022-02-07 23:31:46 +01: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