ddnet/data
bors[bot] 1e31db257f
Merge #5420
5420: Improvments for new HUD r=def- a=C0D3D3V

for testing set `#define CLIENT_VERSIONNR 16020`
Some of the changes are only available in the next version

Impressions: https://youtu.be/E770vGp4KKY

Implements a few of the recommendations from https://github.com/ddnet/ddnet/issues/5159 and Discord
- removes all player capability messages send by the server, that are now displayed in the HUD
- ~~remove `cl_ddrace_hud` and cl_show_freeze_bars~~, 
- Added option `cl_freezebars_alpha_inside_freeze` setting to change the opacity if the player is inside a freeze tile (default visible 100%)
- Added option `cl_show_jumps_indicator`
- We send now the real weapon the player is holding if he is frozen
    -> for that we added a new particle "snow flakes" or frozen flakes :D that are spawned over the tees body, to indicate he is frozen.
    -> new extras.png asset (+ corresponding asset tab, that can potentially be used for all sorts of extras for our mod, e.g. material particles, but in the future maybe also for other mods using a similar structure like it is for entities)
- stars are no longer send to new clients, because it is duplication to the freezebar, and we decided to not allow to disable it 
- also ninja stars are no longer send. They are not vanilla, and we now have a ninja bar in the new HUD.
- display target angle from 0 to 360 (looks mirrored on the x-axis to the normal trigonometry circle, but that is just how the world coordinates are) 
- dummy action display is increased in size ( but only the border margin :D not the icons. so the icons are still the same size as the icons on the left side)
- allow the server to also show old HUD elements (see https://github.com/ddnet/ddnet/pull/5427 for screenshots)


fixes #5149
fixes #198
closes #5159

fixes #2252   ~~(But not clear if we should also display the weapon, still investigating)~~
- we do no longer display a weapon inside freeze, instead we have nice freeze particles

## 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
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [x] 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: c0d3d3v <c0d3d3v@mag-keinen-spam.de>
2022-06-26 07:57:33 +00:00
..
assets update comfort png and dilate 2022-06-01 21:16:03 -05:00
audio Rename rifle to laser 2019-11-22 15:37:18 +01:00
countryflags Merge #4740 2022-02-20 10:11:36 +00:00
editor Implement shields that remove specific weapon (fixes #4572) 2022-04-28 16:49:32 +02:00
fonts Update icons font 2022-03-19 18:35:37 +01:00
languages Merge #5437 2022-06-23 08:08:22 +00:00
mapres Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
maps Make it easier to run integration tests 2022-06-06 18:53:59 +02:00
maps7 Add tutorial joining code and tutorial map 2022-03-19 23:35:27 +01:00
menuimages Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
shader Add Vulkan backend 2022-03-21 12:39:51 +01:00
skins Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
themes Add New Year season theme by mind and use for 2 days 2020-12-28 17:45:04 +01:00
arrow.png Optimize PNGs 2016-04-27 01:27:57 +02:00
autoexec_server.cfg Add loglevel config (fixes #5178, fixes #5174) 2022-05-21 12:06:54 +02:00
blob.png Merge remote-tracking branch 'timakro/new_hookthrough' 2016-04-27 18:59:51 +02:00
censorlist.txt Implement censoring words on server 2020-09-18 19:18:08 +02:00
console.png Optimize PNGs 2016-04-27 01:27:57 +02:00
console_bar.png Optimize PNGs 2016-04-27 01:27:57 +02:00
debug_font.png Optimize PNGs 2016-04-27 01:27:57 +02:00
demo_buttons.png Dilate & optimize non-dilated images 2020-11-24 11:15:24 +01:00
demo_buttons2.png Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
emoticons.png Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
extras.png Add new textures by ravie; Also add no gun hit for teleport gun 2022-06-25 16:05:38 +02:00
file_icons.png Optimize PNGs 2016-04-27 01:27:57 +02:00
game.png Move ninja shield to other position (fixes #5047) 2022-04-30 11:42:26 +02:00
gui_buttons.png Optimize PNGs 2016-04-27 01:27:57 +02:00
gui_cursor.png 0.7 cursor 2020-09-15 16:18:12 +02:00
gui_icons.png Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
gui_logo.png Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
hud.png Add new textures by ravie; Also add no gun hit for teleport gun 2022-06-25 16:05:38 +02:00
particles.png Revert "Dilate & optimize non-dilated images" 2021-02-03 20:40:10 +01:00
strong_weak.png change name file 2021-08-14 18:40:58 +05:00
wordlist.txt Generate passphrase for save-code 2020-06-15 11:14:15 +02:00