yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_graph_commands.cc File Reference
#include "cli/handlers/game/dungeon_graph_commands.h"
#include <algorithm>
#include <cstdint>
#include <queue>
#include <set>
#include <string>
#include <vector>
#include "absl/strings/numbers.h"
#include "absl/strings/str_format.h"
#include "cli/util/hex_util.h"
#include "rom/rom.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/dungeon/room_entrance.h"

Go to the source code of this file.

Classes

struct  yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::RoomNode
 
struct  yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::RoomEdge
 

Namespaces

namespace  yaze
 
namespace  yaze::cli
 Namespace for the command line interface.
 
namespace  yaze::cli::handlers
 
namespace  yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}
 

Functions

int yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::GetRoomDungeonId (Rom *rom, int room_id)
 
bool yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::IsExitDoorType (zelda3::DoorType type)
 
int yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::NeighborRoomId (int room_id, zelda3::DoorDirection dir)
 
zelda3::DoorDirection yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::OppositeDir (zelda3::DoorDirection dir)
 
bool yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::RoomHasDoorIn (Rom *rom, int room_id, zelda3::DoorDirection dir)
 
std::string yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::DoorEdgeTypeName (zelda3::DoorDirection dir)
 

Variables

constexpr const char * yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::kEdgeTypeStair1 = "stair1"
 
constexpr const char * yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::kEdgeTypeStair2 = "stair2"
 
constexpr const char * yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::kEdgeTypeStair3 = "stair3"
 
constexpr const char * yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::kEdgeTypeStair4 = "stair4"
 
constexpr const char * yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::kEdgeTypeHolewarp = "holewarp"