Update tilemap tests for renderer backends
Migrate tilemap tests to pointer-based game globals and current loader signatures, initialize the renderer callback used by image comparisons, and refresh the character fixture schema. Preserve loaded tileset names by removing a duplicate heap allocation. Co-authored-by: Codex (GPT-5) <noreply@openai.com>
This commit is contained in:
@@ -129,7 +129,6 @@ akerr_ErrorContext *akgl_tilemap_load_tilesets_each(json_t *tileset, akgl_Tilema
|
||||
PASS(e, akgl_get_json_integer_value((json_t *)tileset, "tilewidth", &dest->tilesets[tsidx].tilewidth));
|
||||
|
||||
PASS(e, akgl_get_json_string_value((json_t *)tileset, "name", &tmpstr));
|
||||
PASS(e, akgl_heap_next_string(&tmpstr));
|
||||
PASS(e, akgl_heap_next_string(&tmppath));
|
||||
ATTEMPT {
|
||||
strncpy((char *)&dest->tilesets[tsidx].name,
|
||||
|
||||
Reference in New Issue
Block a user