1#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_SCREEN_H
2#define YAZE_APP_ZELDA3_OVERWORLD_MAP_SCREEN_H
6#include "absl/status/status.h"
71 absl::Status
SaveCustomMap(
const std::string& file_path,
bool use_dark_world);
The Rom class is used to load, save, and modify Rom data.
Represents a bitmap image optimized for SNES ROM hacking.
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
OverworldMapScreen manages the overworld map (pause menu) graphics.
auto & mutable_lw_tiles()
std::array< uint8_t, 64 *64 > dw_map_tiles_
absl::Status SaveCustomMap(const std::string &file_path, bool use_dark_world)
Save map data to external binary file.
auto & mutable_dw_tiles()
gfx::SnesPalette lw_palette_
absl::Status LoadCustomMap(const std::string &file_path)
Load custom map from external binary file.
std::array< uint8_t, 64 *64 > lw_map_tiles_
absl::Status LoadMapData(Rom *rom)
Load map tile data from ROM Reads the interleaved tile format from 4 ROM sections.
absl::Status Save(Rom *rom)
Save changes back to ROM.
absl::Status RenderMapLayer(bool use_dark_world)
Render map tiles into bitmap.
gfx::Bitmap tiles8_bitmap_
gfx::SnesPalette dw_palette_
absl::Status Create(Rom *rom)
Initialize and load overworld map data from ROM.
Main namespace for the application.