yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_collision_commands.cc File Reference
#include "cli/handlers/game/dungeon_collision_commands.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <fstream>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "absl/types/span.h"
#include "cli/util/hex_util.h"
#include "nlohmann/json.hpp"
#include "rom/rom.h"
#include "util/macro.h"
#include "zelda3/dungeon/custom_collision.h"
#include "zelda3/dungeon/dungeon_rom_addresses.h"
#include "zelda3/dungeon/oracle_rom_safety_preflight.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/dungeon/water_fill_zone.h"

Go to the source code of this file.

Namespaces

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

Typedefs

using yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::json = nlohmann::json
 

Functions

absl::StatusOr< std::unordered_set< int > > yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ParseTileFilter (const resources::ArgumentParser &parser)
 
absl::StatusOr< int > yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ParseRoomIdToken (absl::string_view token)
 
absl::StatusOr< std::vector< int > > yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ParseRoomSelection (const resources::ArgumentParser &parser)
 
absl::StatusOr< std::string > yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ReadTextFile (const std::string &path)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::WriteTextFile (const std::string &path, const std::string &content)
 
std::string yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::StatusCodeName (absl::StatusCode code)
 
json yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::BuildBaseReport (absl::string_view command_name, bool dry_run)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::WriteReportIfRequested (const resources::ArgumentParser &parser, const json &report)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::FinalizeWithReport (const resources::ArgumentParser &parser, json report, const absl::Status &status)
 
json yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::BuildPreflightJson (const zelda3::OracleRomSafetyPreflightResult &preflight)
 
std::vector< int > yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::RequiredCollisionRoomsForImportedWaterFillZones (const std::vector< zelda3::WaterFillZoneEntry > &zones)
 

Variables

constexpr int yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::kCollisionGridSize = 64