Made images match there definition in fxconv-metadata.txt
This commit is contained in:
parent
a63096e629
commit
c66ddc94a5
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue