ddnet/src
Robert Müller 594968fe07 Improve cl_show_ids: support spectator menu, optimize, refactor
Also show client IDs in the spectator menu when `cl_show_ids` is enabled. Previously, this setting applied to scoreboard and chat, although the setting and config variable descriptions were only mentioning the scoreboard.

Extract client ID formatting in `CGameClient::FormatClientId` function to reduce duplicate code and ensure it is consistent.

Correctly indent client IDs also when largest client ID is 100 or larger. Fix scoreboard spectator client ID buffer not being large enough for IDs 100 and larger.

Make client ID formatting more efficient by avoiding `str_format` except for formatting the number itself and appending text directly to the text cursor when possible.
2024-08-12 22:59:32 +02:00
..
android Implement client restarting on Android 2024-07-16 12:52:19 +02:00
antibot Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
base Fix UDP socket creation/cleanup if opening IPv6 socket fails 2024-08-11 17:09:09 +02:00
engine Improve cl_show_ids: support spectator menu, optimize, refactor 2024-08-12 22:59:32 +02:00
game Improve cl_show_ids: support spectator menu, optimize, refactor 2024-08-12 22:59:32 +02:00
macos Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
masterping update ci actions, update rust edition to 2021 since our MSRV covers it 2024-02-25 15:55:10 +01:00
mastersrv Use Ipv6::to_ipv4_mapped in mastersrv 2024-08-08 00:00:41 +02:00
rust-bridge Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
steam Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
test Add 0.7 client support 2024-08-10 14:50:42 +02:00
tools Add 0.7 client support 2024-08-10 14:50:42 +02:00