DS-Homebrew / TWiLightMenu

DSi Menu replacement for DS/DSi/3DS/2DS
https://wiki.ds-homebrew.com/twilightmenu/
GNU General Public License v3.0
3.15k stars 197 forks source link

Cleanup/update quickmenu's texture loading #2399

Closed edo9300 closed 2 months ago

edo9300 commented 2 months ago

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