yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::dungeon_project_labels Namespace Reference

Functions

const core::DungeonEntryFindDungeonForRoom (const project::YazeProject *project, int room_id, size_t *dungeon_index=nullptr)
 
const core::DungeonRoomFindDungeonRoom (const project::YazeProject *project, int room_id)
 
std::string FormatDungeonName (const core::DungeonEntry &dungeon)
 
std::string GetDungeonNameForRoom (const project::YazeProject *project, int room_id)
 
std::string GetRoomFloorLabel (const project::YazeProject *project, int room_id)
 
std::string GetRoomLabel (const project::YazeProject *project, int room_id)
 

Function Documentation

◆ FindDungeonForRoom()

◆ FindDungeonRoom()

const core::DungeonRoom * yaze::editor::dungeon_project_labels::FindDungeonRoom ( const project::YazeProject * project,
int room_id )
inline

Definition at line 41 of file dungeon_project_labels.h.

References FindDungeonForRoom(), and yaze::core::DungeonEntry::rooms.

Referenced by GetRoomFloorLabel(), and GetRoomLabel().

Here is the call graph for this function:

◆ FormatDungeonName()

std::string yaze::editor::dungeon_project_labels::FormatDungeonName ( const core::DungeonEntry & dungeon)
inline

◆ GetDungeonNameForRoom()

std::string yaze::editor::dungeon_project_labels::GetDungeonNameForRoom ( const project::YazeProject * project,
int room_id )
inline

Definition at line 65 of file dungeon_project_labels.h.

References FindDungeonForRoom(), and FormatDungeonName().

Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfRoom().

Here is the call graph for this function:

◆ GetRoomFloorLabel()

std::string yaze::editor::dungeon_project_labels::GetRoomFloorLabel ( const project::YazeProject * project,
int room_id )
inline

Definition at line 71 of file dungeon_project_labels.h.

References FindDungeonRoom(), and yaze::core::DungeonRoom::floor.

Here is the call graph for this function:

◆ GetRoomLabel()