1#ifndef YAZE_APP_EDITOR_DUNGEON_DUNGEON_ROOM_SELECTOR_H
2#define YAZE_APP_EDITOR_DUNGEON_DUNGEON_ROOM_SELECTOR_H
5#include "imgui/imgui.h"
54 std::array<zelda3::Room, 0x128>*
rooms_ =
nullptr;
55 std::array<zelda3::RoomEntrance, 0x8C>*
entrances_ =
nullptr;
The Rom class is used to load, save, and modify Rom data.
Handles room and entrance selection UI.
void set_entrances(std::array< zelda3::RoomEntrance, 0x8C > *entrances)
int current_room_id() const
const ImVector< int > & active_rooms() const
void set_current_room_id(uint16_t room_id)
void set_current_entrance_id(int entrance_id)
ImVector< int > & mutable_active_rooms()
void set_room_selected_callback(std::function< void(int)> callback)
DungeonRoomSelector(Rom *rom=nullptr)
std::array< zelda3::RoomEntrance, 0x8C > * entrances_
int current_entrance_id() const
uint16_t current_room_id_
void DrawEntranceSelector()
std::function< void(int)> room_selected_callback_
std::array< zelda3::Room, 0x128 > * rooms_
void set_active_rooms(const ImVector< int > &rooms)
ImVector< int > active_rooms_
void set_rooms(std::array< zelda3::Room, 0x128 > *rooms)
Main namespace for the application.