1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Rename G1Element members, add unions for palette entries

This commit is contained in:
Gymnasiast
2025-12-27 14:30:36 +01:00
parent 8ce8eec426
commit e6fa262b9e
18 changed files with 92 additions and 84 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenRCT2::CommandLine::Sprite
}
path = fs::u8path(path).generic_u8string();
fprintf(stdout, "{ \"path\": \"%s\", \"x\": %d, \"y\": %d }", path.c_str(), g1.x_offset, g1.y_offset);
fprintf(stdout, "{ \"path\": \"%s\", \"x\": %d, \"y\": %d }", path.c_str(), g1.xOffset, g1.yOffset);
}
fprintf(stdout, (spriteIndex + 1 != maxIndex) ? ",\n" : "\n");