Remove all the redoundancies from grit texture loading by adding some templates/macros to allow an easier loading of those textures.
Added an enum for the rom type to make the code easier to follow, rather than using magic numbers.
Added dlp icons for all the officially supported languages with their different text (they've been added as a single png, but the menu will only load 1 row from that texture.
Updated all the grit files in the graphics folder to only generate the required number of palletted, rather than a fixed 16.
Added the 4th dlp texture removed in https://github.com/DS-Homebrew/TWiLightMenu/pull/2358, to be used for when the icon is pressed but the cursor moved away.
Where have you tested it?
Melonds ds/dsi mode
Pull Request status
[ ] This PR has been tested using the latest version of devkitARM and libnds.
What's changed?
Remove all the redoundancies from grit texture loading by adding some templates/macros to allow an easier loading of those textures. Added an enum for the rom type to make the code easier to follow, rather than using magic numbers. Added dlp icons for all the officially supported languages with their different text (they've been added as a single png, but the menu will only load 1 row from that texture. Updated all the grit files in the graphics folder to only generate the required number of palletted, rather than a fixed 16. Added the 4th dlp texture removed in https://github.com/DS-Homebrew/TWiLightMenu/pull/2358, to be used for when the icon is pressed but the cursor moved away.
Where have you tested it?
Melonds ds/dsi mode
Pull Request status