yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_edit_commands.cc File Reference
#include "cli/handlers/game/dungeon_edit_commands.h"
#include <cstdint>
#include <limits>
#include <optional>
#include <utility>
#include <vector>
#include "absl/strings/numbers.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "cli/util/hex_util.h"
#include "core/dungeon_stream_layout_adapter.h"
#include "core/hack_manifest.h"
#include "core/project.h"
#include "rom/rom.h"
#include "rom/snes.h"
#include "rom/transaction.h"
#include "util/macro.h"
#include "zelda3/dungeon/dungeon_stream_allocator.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/dungeon/room_object.h"
#include "zelda3/dungeon/track_collision_generator.h"
#include "zelda3/resource_labels.h"
#include "zelda3/sprite/sprite.h"

Go to the source code of this file.

Classes

struct  yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ObjectSaveManifestContext
 

Namespaces

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

Functions

absl::StatusOr< std::string > yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetRequiredString (const resources::ArgumentParser &parser, const char *name)
 
absl::StatusOr< int > yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetRequiredInt (const resources::ArgumentParser &parser, const char *name)
 
absl::StatusOr< int > yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetOptionalInt (const resources::ArgumentParser &parser, const char *name, int default_value)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateRoomId (int room_id)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateSpriteCoord (int value, char axis)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::SaveRomWithBackup (Rom *rom, resources::OutputFormatter &formatter)
 
template<typename Mutation >
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::MutateAndSaveRomWithBackup (Rom *rom, resources::OutputFormatter &formatter, Mutation &&mutation)
 
absl::StatusOr< std::optional< ObjectSaveManifestContext > > yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::LoadObjectSaveManifestContext (const resources::ArgumentParser &parser)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateObjectSaveManifestConflicts (const Rom &source_rom, int room_id, const zelda3::Room &pending_room, const ObjectSaveManifestContext &context)
 
absl::Status yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectSave (const Rom &source_rom, int room_id, const zelda3::RoomObject &object, const zelda3::Room &pending_room, const ObjectSaveManifestContext *manifest_context)