diff options
author | red031000 <rubenru09@aol.com> | 2021-03-03 17:38:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 17:38:50 +0000 |
commit | 2e2dbd18e4c191474b6582adef02a481451b51d5 (patch) | |
tree | 42adde6c7d740d223dfcaf628800cdf7ff9b1364 /tools/nitrogfx/options.h | |
parent | 75dc81c75dc1dc86053303cdae9decdb2f05557d (diff) | |
parent | 28d8dc9f335da9e2111f3e2825ebf346b8d3117e (diff) |
Merge pull request #322 from red031000/master
NCER and NSCR processing
Diffstat (limited to 'tools/nitrogfx/options.h')
-rw-r--r-- | tools/nitrogfx/options.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/nitrogfx/options.h b/tools/nitrogfx/options.h index 8c1e7a0e..f4626df9 100644 --- a/tools/nitrogfx/options.h +++ b/tools/nitrogfx/options.h @@ -34,5 +34,58 @@ struct PngToNtrOptions { bool scanned; }; +struct Attr0 { + int YCoordinate; + bool Rotation; + bool SizeDisable; + int Mode; + bool Mosaic; + int Colours; + int Shape; +}; + +struct Attr1 { + int XCoordinate; + int RotationScaling; + int Size; +}; + +struct Attr2 { + int CharName; + int Priority; + int Palette; +}; + +struct OAM { + struct Attr0 attr0; + struct Attr1 attr1; + struct Attr2 attr2; +}; + +struct Cell { + short readOnly; + short maxX; + short maxY; + short minX; + short minY; + struct OAM oam; + char *label; +}; + +struct JsonToCellOptions { + bool label; + bool extended; + int imageHeight; + int imageWidth; + int cellCount; + struct Cell **cells; +}; + +struct JsonToScreenOptions { + int height; + int width; + unsigned short *data; + int bitdepth; +}; #endif // OPTIONS_H |