1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Mass rename constants (#23656)

This commit is contained in:
Michael Steenbeek
2025-01-19 16:59:45 +01:00
committed by GitHub
parent bf413b2ab7
commit be9f27e4f9
270 changed files with 1636 additions and 1640 deletions

View File

@@ -25,7 +25,7 @@ ImportMode gSpriteMode = ImportMode::Default;
static const char* _mode;
// clang-format off
static constexpr CommandLineOptionDefinition SpriteOptions[]
static constexpr CommandLineOptionDefinition kSpriteOptions[]
{
{ CMDLINE_TYPE_STRING, &_mode, 'm', "mode", "the type of sprite conversion <" SZ_DEFAULT "|" SZ_CLOSEST "|" SZ_DITHERING ">" },
kOptionTableEnd
@@ -36,14 +36,14 @@ static exitcode_t HandleSprite(CommandLineArgEnumerator *argEnumerator);
const CommandLineCommand CommandLine::SpriteCommands[]
{
// Main commands
DefineCommand("append", "<spritefile> <input> [x_offset y_offset]", SpriteOptions, HandleSprite),
DefineCommand("build", "<spritefile> <json path> [silent]", SpriteOptions, HandleSprite),
DefineCommand("combine", "<index file> <image file> <output>", SpriteOptions, HandleSprite),
DefineCommand("create", "<spritefile>", SpriteOptions, HandleSprite),
DefineCommand("details", "<spritefile> [idx]", SpriteOptions, HandleSprite),
DefineCommand("export", "<spritefile> <idx> <output>", SpriteOptions, HandleSprite),
DefineCommand("exportall", "<spritefile> <output directory>", SpriteOptions, HandleSprite),
DefineCommand("exportalldat", "<DAT identifier> <output directory>", SpriteOptions, HandleSprite),
DefineCommand("append", "<spritefile> <input> [x_offset y_offset]", kSpriteOptions, HandleSprite),
DefineCommand("build", "<spritefile> <json path> [silent]", kSpriteOptions, HandleSprite),
DefineCommand("combine", "<index file> <image file> <output>", kSpriteOptions, HandleSprite),
DefineCommand("create", "<spritefile>", kSpriteOptions, HandleSprite),
DefineCommand("details", "<spritefile> [idx]", kSpriteOptions, HandleSprite),
DefineCommand("export", "<spritefile> <idx> <output>", kSpriteOptions, HandleSprite),
DefineCommand("exportall", "<spritefile> <output directory>", kSpriteOptions, HandleSprite),
DefineCommand("exportalldat", "<DAT identifier> <output directory>", kSpriteOptions, HandleSprite),
kCommandTableEnd
};