add yaze_project primitive

This commit is contained in:
scawful
2024-08-09 01:44:02 -04:00
parent 596f5926dd
commit ef4f150470

View File

@@ -13,6 +13,7 @@ extern "C" {
#include "base/overworld.h" #include "base/overworld.h"
typedef struct yaze_flags yaze_flags; typedef struct yaze_flags yaze_flags;
typedef struct yaze_project yaze_project;
typedef struct z3_rom z3_rom; typedef struct z3_rom z3_rom;
/** /**
@@ -38,6 +39,16 @@ void yaze_init(yaze_flags*);
*/ */
void yaze_cleanup(yaze_flags*); void yaze_cleanup(yaze_flags*);
/**
* @brief Primitive of a Yaze project.
*/
struct yaze_project {
const char* filename;
z3_rom* rom;
z3_overworld* overworld;
};
/** /**
* @brief Primitive of a Zelda3 ROM. * @brief Primitive of a Zelda3 ROM.
*/ */