Go to the source code of this file.
Classes | |
struct | yaze_editor_context |
struct | yaze_project |
struct | yaze_bitmap |
struct | snes_color |
Primitive of 16-bit RGB SNES color. More... | |
struct | snes_palette |
Primitive of a SNES color palette. More... | |
struct | snes_tile8 |
struct | snes_tile_info |
struct | snes_tile16 |
struct | snes_tile32 |
struct | yaze_extension |
Extension interface for Yaze. More... | |
Typedefs | |
typedef struct yaze_project | yaze_project |
typedef struct yaze_editor_context | yaze_editor_context |
typedef enum yaze_status | yaze_status |
typedef struct yaze_bitmap | yaze_bitmap |
typedef struct snes_color | snes_color |
Primitive of 16-bit RGB SNES color. | |
typedef struct snes_palette | snes_palette |
Primitive of a SNES color palette. | |
typedef struct snes_tile8 | snes_tile8 |
typedef struct snes_tile_info | snes_tile_info |
typedef struct snes_tile16 | snes_tile16 |
typedef struct snes_tile32 | snes_tile32 |
typedef void(* | yaze_initialize_func) (yaze_editor_context *context) |
typedef void(* | yaze_cleanup_func) (void) |
typedef struct yaze_extension | yaze_extension |
Extension interface for Yaze. | |
Enumerations | |
enum | yaze_status { YAZE_UNKNOWN = -1 , YAZE_OK = 0 , YAZE_ERROR = 1 } |
Functions | |
int | yaze_app_main (int argc, char **argv) |
void | yaze_check_version (const char *version) |
yaze_status | yaze_init (yaze_editor_context *) |
yaze_status | yaze_shutdown (yaze_editor_context *) |
yaze_project | yaze_load_project (const char *filename) |
yaze_bitmap | yaze_load_bitmap (const char *filename) |
snes_color | yaze_get_color_from_paletteset (const zelda3_rom *rom, int palette_set, int palette, int color) |
zelda3_overworld * | yaze_load_overworld (const zelda3_rom *rom) |
zelda3_dungeon_room * | yaze_load_all_rooms (const zelda3_rom *rom) |
typedef struct yaze_editor_context yaze_editor_context |
typedef enum yaze_status yaze_status |
typedef struct yaze_bitmap yaze_bitmap |
typedef struct snes_color snes_color |
Primitive of 16-bit RGB SNES color.
typedef struct snes_palette snes_palette |
Primitive of a SNES color palette.
typedef struct snes_tile8 snes_tile8 |
typedef struct snes_tile_info snes_tile_info |
typedef struct snes_tile16 snes_tile16 |
typedef struct snes_tile32 snes_tile32 |
typedef void(* yaze_initialize_func) (yaze_editor_context *context) |
typedef struct yaze_extension yaze_extension |
Extension interface for Yaze.
Yaze extensions can be written in C or Python.
enum yaze_status |
int yaze_app_main | ( | int | argc, |
char ** | argv ) |
Definition at line 18 of file yaze.cc.
References EXIT_IF_ERROR, yaze::util::global_flag_registry(), yaze::util::FlagParser::Parse(), and RETURN_IF_EXCEPTION.
yaze_status yaze_init | ( | yaze_editor_context * | yaze_ctx | ) |
Definition at line 58 of file yaze.cc.
References yaze_editor_context::error_message, yaze_editor_context::project, yaze_editor_context::rom, yaze_project::rom_filename, and yaze_load_rom().
yaze_status yaze_shutdown | ( | yaze_editor_context * | yaze_ctx | ) |
Definition at line 73 of file yaze.cc.
References yaze_editor_context::rom, and yaze_unload_rom().
yaze_project yaze_load_project | ( | const char * | filename | ) |
Definition at line 80 of file yaze.cc.
References yaze_project::filepath.
yaze_bitmap yaze_load_bitmap | ( | const char * | filename | ) |
Definition at line 123 of file yaze.cc.
References yaze_bitmap::bpp, yaze_bitmap::data, yaze_bitmap::height, and yaze_bitmap::width.
snes_color yaze_get_color_from_paletteset | ( | const zelda3_rom * | rom, |
int | palette_set, | ||
int | palette, | ||
int | color ) |
Definition at line 132 of file yaze.cc.
References snes_color::blue, snes_color::green, zelda3_rom::impl, yaze::gfx::kPaletteGroupAddressesKeys, yaze::Rom::palette_group(), and snes_color::red.
zelda3_overworld * yaze_load_overworld | ( | const zelda3_rom * | rom | ) |
Definition at line 154 of file yaze.cc.
References zelda3_overworld_map::id, zelda3_overworld::impl, zelda3_rom::impl, and zelda3_overworld::maps.
zelda3_dungeon_room * yaze_load_all_rooms | ( | const zelda3_rom * | rom | ) |
Definition at line 176 of file yaze.cc.
References zelda3_rom::impl.