Add imagemap that uses a prerendered background

This commit is contained in:
2026-05-13 08:03:40 -04:00
parent 6a518b562f
commit 41d0646dba
6 changed files with 108 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
CATCH(errctx, akgl_load_start_bgm((char *)&dirnamebuf));
CATCH(errctx, music_toggle(NULL, NULL));
strcpy((char *)&dirnamebuf, "assets/tilemap.tmj");
strcpy((char *)&dirnamebuf, "assets/imagemap.tmj");
CATCH(errctx, akgl_tilemap_load((char *)&dirnamebuf, (akgl_Tilemap *)&gamemap));
CATCH(errctx, akgl_text_loadfont("C64Pro", "assets/C64_Pro-STYLE.ttf", 18));