ddnet/src/game/client/components
bors[bot] 72afa17349
Merge #4449 #4461 #4466 #4469 #4470 #4472 #4473
4449: Fix text selection cursor position (fixes #4444) r=heinrich5991 a=def-

after moving window to a screen with different dimensions than the
initial one

<!-- 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
- [x] 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
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4461: Support cl_video_show_direction 2 r=heinrich5991 a=def-

Currently to show your own key presses when recording you need
cl_video_showdirection 1 and cl_show_direction 2 which is kind of
unintuitive.

Also changed the name to be consistent with cl_show_direction

Thanks to hussainx3 for report.

<!-- 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
- [x] 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
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


4466: Fix GLEW system lib linking on macOS (fixes #4439) r=heinrich5991 a=def-

Only GLEW::GLEW is provided, GLEW_LIBRARIES is empty by default

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


4469: Consider initial chat delays as normal mutes, implement unmuteid (fixes # 4460) r=heinrich5991 a=def-

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


4470: Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts r=heinrich5991 a=def-

like ctrl-f / cmd-f

On macOS all these system shortcuts are done with cmd while on Windows
ctrl is used. Support both now

Added support for cmd key as modifier for binds

Fixed missing right variants of modifiers in some places

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


4472: Make /rescue handle switch freeze too r=heinrich5991 a=def-

As reported by RonIn

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


4473: Fix comment in CMakeLists.txt 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)


Co-authored-by: def <dennis@felsin9.de>
2021-12-19 16:58:46 +00:00
..
background.cpp Remove components pointers 2021-07-12 12:14:02 +02:00
background.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
binds.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +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 Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +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 Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
console.h Increase console backlog size from 64 KB to 1 MB 2021-11-15 23:26:19 +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 Revert "Add new mouse state" 2021-10-23 13:48:21 +02: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 Remove components pointers 2021-07-12 12:14:02 +02:00
ghost.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
hud.cpp Center timer in HUD (fixes #4438) 2021-12-10 18:27:32 +01:00
hud.h Use NUM_DUMMIES for dummy array length 2020-10-18 23:15:25 +02:00
items.cpp Fix unsafe usage of CLaser casts 2021-12-12 00:35:33 +01:00
items.h Replace projectile hack with a new extended snapshot object 2021-01-26 20:58:42 +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 Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
menu_background.h Make menu background camera impl more robust 2020-10-13 15:37:34 +02:00
menus.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus.h remove delegate functions in CMenus, fix variable names 2021-12-03 20:26:26 +01:00
menus_browser.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus_demo.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus_ingame.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus_settings.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus_settings_assets.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
menus_start.cpp Revert "Add new mouse state" 2021-10-23 13:48:21 +02: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 Support cl_video_show_direction 2 2021-12-17 10:10:03 +01:00
players.h Make components member of CGameClient 2021-07-12 12:07:31 +02:00
race_demo.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
race_demo.h fix fs_listdir and fs_listdir_fileinfo with unicode on windows 2021-08-23 12:49:15 +02:00
scoreboard.cpp Remove components pointers 2021-07-12 12:14:02 +02: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 Escape skin name when downloading (fixes #4333) 2021-11-07 17:01:50 +01:00
skins.h Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
sounds.cpp Remove components pointers 2021-07-12 12:14:02 +02:00
sounds.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
spectator.cpp Revert "Add new mouse state" 2021-10-23 13:48:21 +02: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 Some char array naming convention 2021-09-13 12:21:56 +02:00
voting.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00