#include "yaze.h"#include <cstring>#include <memory>#include <stdexcept>#include <string>#include <vector>#include "app/editor/message/message_data.h"#include "app/rom.h"#include "zelda3/overworld/overworld.h"#include "yaze_config.h"Go to the source code of this file.
Functions | |
| yaze_status | yaze_library_init () |
| Initialize the YAZE library. | |
| void | yaze_library_shutdown () |
| Shutdown the YAZE library. | |
| const char * | yaze_status_to_string (yaze_status status) |
| Convert a status code to a human-readable string. | |
| const char * | yaze_get_version_string () |
| Get the current YAZE version string. | |
| int | yaze_get_version_number () |
| Get the current YAZE version number. | |
| bool | yaze_check_version_compatibility (const char *expected_version) |
| Check if the current YAZE version is compatible with the expected version. | |
| yaze_status | yaze_init (yaze_editor_context *context, const char *rom_filename) |
| Initialize a YAZE editor context. | |
| yaze_status | yaze_shutdown (yaze_editor_context *context) |
| Shutdown and clean up a YAZE editor context. | |
| zelda3_rom * | yaze_load_rom (const char *filename) |
| Load a ROM file. | |
| void | yaze_unload_rom (zelda3_rom *rom) |
| Unload and free ROM data. | |
| int | yaze_save_rom (zelda3_rom *rom, const char *filename) |
| Save ROM to file. | |
| yaze_bitmap | yaze_load_bitmap (const char *filename) |
| Load a bitmap from file. | |
| snes_color | yaze_get_color_from_paletteset (const zelda3_rom *rom, int palette_set, int palette, int color) |
| Get a color from a palette set. | |
| zelda3_overworld * | yaze_load_overworld (const zelda3_rom *rom) |
| Load the overworld from ROM. | |
| zelda3_dungeon_room * | yaze_load_all_rooms (const zelda3_rom *rom) |
| yaze_status | yaze_load_messages (const zelda3_rom *rom, zelda3_message **messages, int *message_count) |
| Load all text messages from ROM. | |
| void | yaze_free_bitmap (yaze_bitmap *bitmap) |
| Free bitmap data. | |
| yaze_bitmap | yaze_create_bitmap (int width, int height, uint8_t bpp) |
| Create an empty bitmap. | |
| snes_color | yaze_rgb_to_snes_color (uint8_t r, uint8_t g, uint8_t b) |
| Convert RGB888 color to SNES color. | |
| void | yaze_snes_color_to_rgb (snes_color color, uint8_t *r, uint8_t *g, uint8_t *b) |
| Convert SNES color to RGB888. | |
| zelda3_version | zelda3_detect_version (const uint8_t *rom_data, size_t size) |
| Detect ROM version from header data. | |
| const char * | zelda3_version_to_string (zelda3_version version) |
| Get version name as string. | |
| const zelda3_version_pointers * | zelda3_get_version_pointers (zelda3_version version) |
| Get version-specific pointers. | |
| zelda3_dungeon_room * yaze_load_all_rooms | ( | const zelda3_rom * | rom | ) |
Definition at line 225 of file yaze.cc.
References zelda3_rom::impl.