ddnet/src/game/client/components
bors[bot] 623d8af04c
Merge #4623
4623: Refactor: Distinguish between two concepts previously called "Dummy" r=def- a=heinrich5991

On the one hand variables called "Dummy" would tell us whether the
current action refers to the currently inactive tee ("dummy"). On the
other hand, these variables could tell us whether the current action
refers to the main connection to the server, or the secondary one. The
latter use case is now renamed to "Client", with the choices
`CLIENT_MAIN`, `CLIENT_DUMMY` (and `CLIENT_CONTACT`).

Perhaps better names could be found, especially since `Client` also
refers to the engine client class in the game code.

Also fix a few bugs in dummy handling.

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


Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2022-01-21 21:26:21 +00:00
..
background.cpp Move InitTilemapSkip to CLayers 2022-01-19 22:22:31 +01:00
background.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
binds.cpp Fix normal binds (fixes #4477) 2021-12-19 23:42:19 +01:00
binds.h Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
broadcast.cpp Remove components pointers 2021-07-12 12:14:02 +02:00
broadcast.h Broadcast: Fix display time during demo replay 2019-04-02 23:28:13 +02:00
camera.cpp Allow floats arguments for zoom 2021-08-19 22:13:04 +02:00
camera.h Always send correct zoom dimensions 2021-09-11 01:08:32 +02:00
chat.cpp Refactor: Distinguish between two concepts previously called "Dummy" 2022-01-21 01:54:14 +01:00
chat.h Fix shift + tab selecting second last index in console, player name chat & command chat 2021-09-14 13:15:09 +02:00
console.cpp Fix console line bug when resizing 2022-01-14 22:36:41 +01:00
console.h Fix console line bug when resizing 2022-01-14 22:36:41 +01:00
controls.cpp Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
controls.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
countryflags.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
countryflags.h Small graphic refactoring 2021-09-14 00:21:17 +02:00
damageind.cpp Small graphic refactoring 2021-09-14 00:21:17 +02:00
damageind.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
debughud.cpp Don't crash with debug mode in demo 2020-11-12 22:56:50 +01:00
debughud.h hint for disabling debug mode 2020-11-03 15:06:31 +08:00
effects.cpp math: Rename frandom() to random_float() to match with random_int() 2021-08-03 14:29:52 +02:00
effects.h Run clang-format 2020-09-26 21:50:15 +02:00
emoticon.cpp Refactor: Distinguish between two concepts previously called "Dummy" 2022-01-21 01:54:14 +01:00
emoticon.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
flow.cpp Fix all Multiplication type alerts by CodeQL 2020-10-05 19:03:54 +02:00
flow.h Run clang-format 2020-09-26 21:50:15 +02:00
ghost.cpp Shutdown components 2022-01-20 12:20:29 +01:00
ghost.h Shutdown components 2022-01-20 12:20:29 +01:00
hud.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
hud.h Use NUM_DUMMIES for dummy array length 2020-10-18 23:15:25 +02:00
items.cpp Merge #4581 #4590 #4593 #4607 2022-01-17 23:36:14 +00:00
items.h Remove extra projectiles 2022-01-13 00:46:11 +01:00
killmessages.cpp Reset text color after kill messages are created 2021-10-29 00:11:21 +02:00
killmessages.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
mapimages.cpp invalidate texture when unloading a texture. 2021-09-13 13:23:00 +02:00
mapimages.h Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
maplayers.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
maplayers.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
mapsounds.cpp Some char array naming convention 2021-09-13 12:21:56 +02:00
mapsounds.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
menu_background.cpp Move InitTilemapSkip to CLayers 2022-01-19 22:22:31 +01:00
menu_background.h Make menu background camera impl more robust 2020-10-13 15:37:34 +02:00
menus.cpp Merge #4625 2022-01-21 15:39:36 +00:00
menus.h Merge #4625 2022-01-21 15:39:36 +00:00
menus_browser.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
menus_demo.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
menus_ingame.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
menus_settings.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
menus_settings_assets.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
menus_start.cpp Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
motd.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
motd.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
nameplates.cpp Merge #4121 #4124 2021-08-30 09:10:53 +00:00
nameplates.h Fix specchar transparency and move spec-char to character snap 2021-08-29 03:04:22 +02:00
particles.cpp Small graphic refactoring 2021-09-14 00:21:17 +02:00
particles.h Only render visible particles 2020-12-23 14:55:49 +01:00
players.cpp Remove comment 2022-01-07 17:12:57 +01:00
players.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
race_demo.cpp Shutdown components 2022-01-20 12:20:29 +01:00
race_demo.h Shutdown components 2022-01-20 12:20:29 +01:00
scoreboard.cpp Fix string functions not to truncate in the middle of a UTF-8 character 2021-12-20 02:34:02 +01:00
scoreboard.h Scoreboard same line height and font size for each team (fixes #3216, supersedes #3219) 2020-11-05 12:15:27 +01:00
skins.cpp Add IStorage::FormatTmpPath static method 2021-12-20 16:12:15 +01:00
skins.h Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
sounds.cpp Refactor: Distinguish between two concepts previously called "Dummy" 2022-01-21 01:54:14 +01:00
sounds.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
spectator.cpp Refactor: Distinguish between two concepts previously called "Dummy" 2022-01-21 01:54:14 +01:00
spectator.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
statboard.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
statboard.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
voting.cpp Merge #4623 2022-01-21 21:26:21 +00:00
voting.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00