v2.9.1: Shop im eShop-Stil mit Screenshots und Suche, GodMode9-Skript zum Installieren

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nico Meister
2026-10-18 18:31:41 +02:00
co-authored by Claude Opus 5.5
parent ca77952a9d
commit 1f69ff6c56
8 changed files with 687 additions and 194 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <citro2d.h>
#include <stdbool.h>
// Vorschaubilder (Screenshots, Banner) für die Shop-Seiten. Der Server liefert sie als fertige
// 3DS-Textur (512x256 RGB565, sichtbar 400x240), geladen wird im Hintergrund.
#define PIC_BANNER -1
typedef enum { PIC_LOADING, PIC_READY, PIC_MISSING } PicState;
void pics_init(void);
void pics_exit(void);
// Jedes Bild einmal pro Bild aufrufen: holt fertige Downloads in den Grafikspeicher
void pics_poll(void);
// Bild für eine App (which = Screenshot-Nummer oder PIC_BANNER). Startet bei Bedarf den Download.
PicState pics_get(const char *slug, int which, C2D_Image *out);