Update yaze_project class to use 'filepath' instead of 'rom' for improved clarity
This commit is contained in:
@@ -35,9 +35,7 @@ BOOST_PYTHON_MODULE(yaze_py) {
|
||||
.def_readwrite("rom", &yaze_flags::rom);
|
||||
|
||||
class_<yaze_project>("yaze_project")
|
||||
.def_readonly("filename", &yaze_project::filename)
|
||||
.def_readonly("rom", &yaze_project::rom)
|
||||
.def_readonly("overworld", &yaze_project::overworld);
|
||||
.def_readonly("filename", &yaze_project::filepath);
|
||||
|
||||
class_<yaze_editor_context>("yaze_editor_context")
|
||||
.def_readonly("project", &yaze_editor_context::project);
|
||||
@@ -59,4 +57,4 @@ BOOST_PYTHON_MODULE(yaze_py) {
|
||||
def("yaze_unload_rom", &yaze_unload_rom); // No need to manage memory here
|
||||
def("yaze_get_color_from_paletteset", &yaze_get_color_from_paletteset);
|
||||
def("yaze_check_version", &yaze_check_version);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user