ddnet/src/game/client/components
bors[bot] e9f95dbefd
Merge #5598
5598: Fix the HUD bug I intoduced with  #5592 r=def- a=C0D3D3V

The bug was, if you spectate other players, the jump display and weapon display was broken.

Use for weapon and jump display now render information instead of the predicted data, so that these Displays are also correct if you spectate other players.
This is necessary since with https://github.com/ddnet/ddnet/pull/5592 this information is no longer present in the predicted character (if the character is not predicted)

## 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
- [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-07-09 22:13:18 +00:00
..
background.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
background.h Organize game-client and editor includes 2022-06-17 20:32:56 +02:00
binds.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
binds.h Huge variable naming format 2022-07-08 18:01:29 +02:00
broadcast.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
broadcast.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
camera.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
camera.h Huge variable naming format 2022-07-08 18:01:29 +02:00
chat.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
chat.h Merge #5591 2022-07-09 09:47:48 +00:00
console.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
console.h Unify logging infrastructure between IConsole and dbg_msg 2022-04-29 15:21:26 +02:00
controls.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
controls.h Huge variable naming format 2022-07-08 18:01:29 +02:00
countryflags.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
countryflags.h Huge variable naming format 2022-07-08 18:01:29 +02:00
damageind.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
damageind.h Huge variable naming format 2022-07-08 18:01:29 +02:00
debughud.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
debughud.h Player position, speed and angle can now be displayed in the HUD. 2022-04-14 13:42:19 +02:00
effects.cpp Add freezing snow flakes effect and fix 50HZ timer + add 10Hz Timer to particle system 2022-06-15 22:05:40 +02:00
effects.h Add freezing snow flakes effect and fix 50HZ timer + add 10Hz Timer to particle system 2022-06-15 22:05:40 +02:00
emoticon.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
emoticon.h Integrate joystick with game controls and menus/editor UI 2022-06-13 20:40:37 +02:00
flow.cpp Fix all Multiplication type alerts by CodeQL 2020-10-05 19:03:54 +02:00
flow.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
freezebars.cpp move DDNetCharacterDisplayInfo to DDNetCharacter 2022-06-27 01:10:25 +02:00
freezebars.h add vertical ninja bar 2022-04-14 13:40:44 +02:00
ghost.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
ghost.h send the weapon the player is really holding (except for ninjajetpack) 2022-06-15 22:01:46 +02:00
hud.cpp Use for weapon and jump display now render information instead of the 2022-07-09 16:03:16 +02:00
hud.h Huge variable naming format 2022-07-08 18:01:29 +02:00
items.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
items.h Huge variable naming format 2022-07-08 18:01:29 +02:00
killmessages.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
killmessages.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
mapimages.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
mapimages.h Huge variable naming format 2022-07-08 18:01:29 +02:00
maplayers.cpp Replace 3.14159265f with 'pi' from math.h 2022-07-09 19:19:21 +03:00
maplayers.h Reworked color system 2022-07-06 11:39:51 +02:00
mapsounds.cpp Reworked color system 2022-07-06 11:39:51 +02:00
mapsounds.h Use std::vector<CSourceQueueEntry> instead of array 2022-05-27 16:31:18 +02:00
menu_background.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menu_background.h Huge variable naming format 2022-07-08 18:01:29 +02:00
menus.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus.h Huge variable naming format 2022-07-08 18:01:29 +02:00
menus_browser.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus_demo.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus_ingame.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus_settings.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus_settings_assets.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
menus_start.cpp Organize game-client includes 2022-05-29 21:24:43 +02:00
motd.cpp Organize game-client includes 2022-05-29 21:24:43 +02:00
motd.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
nameplates.cpp Merge #5591 2022-07-09 09:47:48 +00:00
nameplates.h Organize game-client and editor includes 2022-06-17 20:32:56 +02:00
particles.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
particles.h Add freezing snow flakes effect and fix 50HZ timer + add 10Hz Timer to particle system 2022-06-15 22:05:40 +02:00
players.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
players.h Huge variable naming format 2022-07-08 18:01:29 +02:00
race_demo.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
race_demo.h Switch to nanoseconds 2022-05-18 18:05:41 +02:00
scoreboard.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
scoreboard.h no goals hud when empty 2022-06-16 16:28:50 +02:00
skins.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
skins.h Huge variable naming format 2022-07-08 18:01:29 +02:00
sounds.cpp Merge #5486 2022-06-30 14:36:58 +00:00
sounds.h Add IsPlaying to sounds client component 2022-06-26 22:43:32 +02:00
spectator.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
spectator.h Integrate joystick with game controls and menus/editor UI 2022-06-13 20:40:37 +02:00
statboard.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
statboard.h Organize game-client includes 2022-05-29 21:24:43 +02:00
tooltips.cpp Update tooltip text after changing language 2022-05-14 12:49:12 +02:00
tooltips.h fix tooltips rendering when they shouldn't, fixes #5035 2022-04-30 10:05:28 +02:00
voting.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
voting.h Organize game-client and editor includes 2022-06-17 20:32:56 +02:00