ddnet/src/engine/client
heinrich5991 17402cc43f Rename all variables for strict camel-casing of abbreviations
This is the strict version, ID → Id, UI → Ui, except DDNet which stays
DDNet.

This would fix #7750.

Done using a naive rename script (for bash, use `shopt -s globstar`):

```fish
sed -i \
	-e 's/\([a-z]_\?\)ID/\1Id/g' \
	-e 's/\([^ ]\)\<UI\>/\1Ui/g' \
	-e 's/UI()/Ui()/g' \
	-e 's/\<CUI\>/CUi/g' \
	-e 's/\([\ta-z.(&]\|[,=|] \)ID\>/\1Id/g' \
	-e 's/\<ID\>\([^ ").]\)/Id\1/g' \
	-e 's/\<ID\([0-9]\)/Id\1/g' \
	-e 's/\<ID\>\( [<=>:+*/-]\)/Id\1/g' \
	-e 's/int ID/int Id/g' \
	-e 's/\([a-z]_\?\)GPU/\1Gpu/g' \
	-e 's/\([a-z]_\?\)IP/\1Ip/g' \
	-e 's/\([a-z]_\?\)CID/\1Cid/g' \
	-e 's/\([a-z]_\?\)MySQL/\1Mysql/g' \
	-e 's/MySql/Mysql/g' \
	-e 's/\([a-xz]_\?\)SQL/\1Sql/g' \
	-e 's/DPMode/DpMode/g' \
	-e 's/TTWGraphics/TTwGraphics/g' \
	\
	-e 's/Ipointer/IPointer/g' \
	-e 's/\.vendorId/.vendorID/g' \
	-e 's/\.windowId/.windowID/g' \
	-e 's/SDL_GetWindowFromId/SDL_GetWindowFromID/g' \
	-e 's/SDL_AudioDeviceId/SDL_AudioDeviceID/g' \
	-e 's/SDL_JoystickId/SDL_JoystickID/g' \
	-e 's/SDL_JoystickInstanceId/SDL_JoystickInstanceID/g' \
	-e 's/AVCodecId/AVCodecID/g' \
	src/**/*.cpp src/**/*.h {datasrc,scripts}/**/*.py
git checkout -- src/engine/external
```

I like this option because it presents clear rules.

Still needs fixups because of the naive replacement, I'd do this if we
want this merged.
2024-03-05 15:44:09 +01:00
..
backend Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
backend_sdl.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
backend_sdl.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
blocklist_driver.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
checksum.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
client.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
client.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
demoedit.cpp add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
demoedit.h add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
discord.cpp Fix discord build 2023-12-15 00:55:26 +01:00
favorites.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
friends.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
friends.h Organize engine-client includes 2022-06-17 17:46:43 +02:00
ghost.cpp Small fixes for cl_race_ghost_strict_map 2023-10-28 14:54:35 +02:00
ghost.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
graph.cpp Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graph.h Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graphics_defines.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
graphics_threaded.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
graphics_threaded.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
input.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
input.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
keynames.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
notifications.cpp Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
notifications.h Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
serverbrowser.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
serverbrowser.h add sort by number of friends to server browser 2024-03-03 02:01:28 +01:00
serverbrowser_http.cpp Allow background jobs to be aborted, refactoring 2024-02-25 17:03:45 +01:00
serverbrowser_http.h Use curl-multi 2023-12-18 20:06:43 +01:00
serverbrowser_ping_cache.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
serverbrowser_ping_cache.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
smooth_time.cpp Properly initialize all CClient member variables 2023-12-02 18:33:46 +01:00
smooth_time.h Make prediction margin take effect immediately 2023-11-19 19:52:39 +01:00
sound.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
sound.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
text.cpp Various fixes to map settings handling 2024-01-23 20:15:30 +01:00
updater.cpp Fix client/server updates 2024-01-28 19:34:30 +01:00
updater.h Fix client/server updates 2024-01-28 19:34:30 +01:00
video.cpp Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
video.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
warning.cpp Fix warning title being uninitialized in some cases 2024-01-16 20:12:25 +01:00