Made images match there definition in fxconv-metadata.txt

This commit is contained in:
Ulysse Cura 2025-08-12 19:44:16 +02:00
parent a63096e629
commit c66ddc94a5
2 changed files with 6 additions and 6 deletions

View File

@ -6,8 +6,8 @@
#include "game_data.hpp" #include "game_data.hpp"
struct texture_t builtin_textures[NB_TEXTURES] = { struct texture_t builtin_textures[NB_TEXTURES] = {
{"player_idle_sheet", &player_idle_sheet}, {"player_idle_sheet", &img_player_idle_sheet},
{"player_run_sheet", &player_run_sheet} {"player_run_sheet", &img_player_run_sheet}
}; };
void load_json_into_game_data(json *json_input, game_data_t *bin_output) void load_json_into_game_data(json *json_input, game_data_t *bin_output)

View File

@ -7,8 +7,8 @@
using nlohmann::json; using nlohmann::json;
extern bopti_image_t player_idle_sheet; extern bopti_image_t img_player_idle_sheet;
extern bopti_image_t player_run_sheet; extern bopti_image_t img_player_run_sheet;
typedef struct texture_t { typedef struct texture_t {
const char *name; const char *name;