99% working. Only issues are: data aborts when installing a theme after viewing a preview, bgm only works when installed as part of a theme shuffle. Single themes are silent

This commit is contained in:
2017-07-28 23:12:22 -04:00
parent ac69ceda51
commit 0d59b5deea
7 changed files with 233 additions and 29 deletions

View File

@@ -18,10 +18,7 @@
#define MAX_TEXTURES 1024
#define TEXTURE_BOTTOM_SCREEN_BG 0
#define TEXTURE_TOP_SCREEN_BG 1
#define TEXTURE_ICON 2
#define TEXTURE_DRIVE_ICON 3
#define THEME_PREVIEW_TEXT 0
#define RGBA8(r, g, b, a) ((((a)&0xFF)<<24) | (((b)&0xFF)<<16) | (((g)&0xFF)<<8) | (((r)&0xFF)<<0))
@@ -56,5 +53,6 @@ void screen_draw_string(float x, float y, float scaleX, float scaleY, u32 color,
void screen_draw_stringf(float x, float y, float scaleX, float scaleY, u32 color, const char * text, ...);
void screen_draw_string_wrap(float x, float y, float scaleX, float scaleY, u32 color, float wrapX, const char * text);
void screen_draw_rect(float x, float y, float width, float height, u32 color);
void screen_clear(gfxScreen_t screen, u32 color);
#endif