Replace `"forceBmp": true` with `"format": "raw"`

This commit is contained in:
Gymnasiast 2024-03-21 17:58:08 +01:00
parent 27e43b3a94
commit eb2cda6a56
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 397 additions and 397 deletions

File diff suppressed because it is too large Load Diff

View File

@ -584,7 +584,7 @@ int32_t CommandLineForSprite(const char** argv, int32_t argc)
auto palette = (Json::GetString(jsonSprite["palette"]) == "keep") ? ImageImporter::Palette::KeepIndices
: ImageImporter::Palette::OpenRCT2;
bool forceBmp = !jsonSprite["palette"].is_null() && Json::GetBoolean(jsonSprite["forceBmp"]);
bool forceBmp = !jsonSprite["palette"].is_null() && Json::GetString(jsonSprite["format"]) == "raw";
auto imagePath = Path::GetAbsolute(Path::Combine(directoryPath, strPath));