ddnet/src/tools
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
..
config_common.h Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
config_retrieve.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
config_store.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
crapnet.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
demo_extract_chat.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
dilate.cpp Fix undefined behavior on loading empty PNG files 2024-02-03 20:00:08 +01:00
dummy_map.cpp Merge pull request #7783 from Robyt3/Tools-Dummy-Map-Sha-Pointer-Fix 2024-01-09 19:41:13 +00:00
map_convert_07.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_create_pixelart.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_diff.cpp Improve Windows logger, add virtual terminal support 2024-01-20 18:19:08 +01:00
map_extract.cpp Use GetDataSize instead of CMapItemSound::m_SoundDataSize 2023-12-18 17:58:42 +01:00
map_find_env.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_optimize.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_replace_area.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_replace_image.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
map_resave.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
packetgen.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
stun.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
twping.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
unicode_confusables.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
uuid.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00