ddnet/src/game/client/components
bors[bot] ea852d8f1c
Merge #4852
4852: Fixed some useless double promotion r=def- a=Chairn

Double promotion occurs quite often when an operator is an hidden double, like constants written without the 'f' at the end. We might get a tiny micro improvement. Unfortunately, we can't do anything for all the double promotion occurring in printf like functions as it is the default for both C and C++.

Only this line might change physics:
4d47fcda09 (diff-d76009083687ba43c59dc7bb2c7357457c999c2eb9d913967d598e913c6fd01fR406)

## 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
- [x] 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: Chairn <chairn.nq@hotmail.fr>
2022-03-25 18:29:02 +00:00
..
background.cpp Move InitTilemapSkip to CLayers 2022-01-19 22:22:31 +01:00
background.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
binds.cpp Merge #4790 2022-03-12 11:31:48 +00:00
binds.h Binds: Reorder modifiers according to the convention 2022-02-07 01:54:12 +03:00
broadcast.cpp Remove components pointers 2021-07-12 12:14:02 +02:00
broadcast.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
camera.cpp Don't clamp "zoom" command, we already clamp in ChangeZoom 2022-01-26 12:54:19 +01:00
camera.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
chat.cpp Merge #4845 2022-03-20 16:45:22 +00:00
chat.h Improvement of the automatic completion of player names in chat 2022-03-16 15:25:56 +01:00
console.cpp Fix clang-format 2022-02-15 00:32:04 +01:00
console.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
controls.cpp Format member variable's name correctly 2022-03-24 19:30:26 +01:00
controls.h Format member variable's name correctly 2022-03-24 19:30:26 +01:00
countryflags.cpp Check pTexName for nullptr, fix wrongly height->width 2022-03-22 20:28:33 +01:00
countryflags.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
damageind.cpp Small graphic refactoring 2021-09-14 00:21:17 +02:00
damageind.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
debughud.cpp Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
debughud.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
effects.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
effects.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
emoticon.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
emoticon.h Add some checksum functions to the client 2022-01-31 21:31:26 +01: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
ghost.cpp Seperate hook collision line from player rendering 2022-03-22 19:19:44 -05:00
ghost.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
hud.cpp Cleanup backend a bit for vulkan 2022-03-20 18:03:25 +01:00
hud.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
items.cpp Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
items.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
killmessages.cpp Reset text color after kill messages are created 2021-10-29 00:11:21 +02:00
killmessages.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
mapimages.cpp lazy load editor textures 2022-03-20 18:03:33 +01:00
mapimages.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
maplayers.cpp Merge #4852 2022-03-25 18:29:02 +00:00
maplayers.h Format member variable's name correctly 2022-03-24 19:30:26 +01:00
mapsounds.cpp Some char array naming convention 2021-09-13 12:21:56 +02:00
mapsounds.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
menu_background.cpp Add modernize-use-emplace 2022-02-15 00:15:06 +01:00
menu_background.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
menus.cpp Merge #4845 2022-03-20 16:45:22 +00:00
menus.h Add tutorial joining code and tutorial map 2022-03-19 23:35:27 +01:00
menus_browser.cpp Merge #4845 2022-03-20 16:45:22 +00:00
menus_demo.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
menus_ingame.cpp Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
menus_settings.cpp Merge #4852 2022-03-25 18:29:02 +00:00
menus_settings_assets.cpp Merge #4845 2022-03-20 16:45:22 +00:00
menus_start.cpp Retry tutorial join after 5 seconds 2022-03-25 17:37:55 +01:00
motd.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
motd.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
nameplates.cpp Improve nameplate boundary and clarify comments 2022-03-24 15:43:58 +01:00
nameplates.h Show keystrokes in the nametag and new option cl_show_direction_below to show the keypresses below the players 2022-02-11 14:05:37 +01:00
particles.cpp Add Vulkan backend 2022-03-21 12:39:51 +01:00
particles.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
players.cpp Improve nameplate boundary and clarify comments 2022-03-24 15:43:58 +01:00
players.h Seperate hook collision line from player rendering 2022-03-22 19:19:44 -05:00
race_demo.cpp Add modernize-deprecated-headers 2022-02-15 00:22:52 +01:00
race_demo.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
scoreboard.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
scoreboard.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
skins.cpp CheckImageFormatRGBA --> IsImageFormatRGBA 2022-02-23 00:39:31 +01:00
skins.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
sounds.cpp Enable readability-inconsistent-declaration-parameter-name 2022-01-22 14:12:59 +01:00
sounds.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
spectator.cpp make spectators team independent 2022-03-14 13:25:47 +01:00
spectator.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
statboard.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
statboard.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
voting.cpp Merge #4623 2022-01-21 21:26:21 +00:00
voting.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00