yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
message_commands.cc File Reference
#include "cli/handlers/game/message_commands.h"
#include <algorithm>
#include <cstddef>
#include <exception>
#include <filesystem>
#include <fstream>
#include <limits>
#include <optional>
#include <sstream>
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "app/editor/message/message_data.h"
#include "rom/snes.h"
#include "rom/transaction.h"
#include "zelda3/resource_labels.h"

Go to the source code of this file.

Classes

struct  yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ExpandedMutationContext
 
class  yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ScopedHackManifestBindingRestore
 

Namespaces

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

Functions

 ABSL_DECLARE_FLAG (std::string, rom)
 
std::string yaze::cli::handlers::anonymous_namespace{message_commands.cc}::NormalizeRange (const std::string &range)
 
bool yaze::cli::handlers::anonymous_namespace{message_commands.cc}::IncludeVanilla (const std::string &range)
 
bool yaze::cli::handlers::anonymous_namespace{message_commands.cc}::IncludeExpanded (const std::string &range)
 
std::string yaze::cli::handlers::anonymous_namespace{message_commands.cc}::BankLabel (editor::MessageBank bank)
 
std::vector< editor::MessageDatayaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages (const Rom &rom)
 
std::vector< editor::MessageDatayaze::cli::handlers::anonymous_namespace{message_commands.cc}::ReadExpandedMessages (const Rom &rom, int start, int end)
 
absl::StatusOr< std::filesystem::path > yaze::cli::handlers::anonymous_namespace{message_commands.cc}::CanonicalExistingPath (const std::string &path, absl::string_view label)
 
std::string yaze::cli::handlers::anonymous_namespace{message_commands.cc}::FormatManifestConflict (const core::WriteConflict &conflict)
 
bool yaze::cli::handlers::anonymous_namespace{message_commands.cc}::IsCanonicalMappedLoRomAddress (uint32_t address)
 
absl::StatusOr< ExpandedMutationContextyaze::cli::handlers::anonymous_namespace{message_commands.cc}::PreflightExpandedMutation (const resources::ArgumentParser &parser, const Rom &rom)
 
absl::Status yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ValidateExpandedMessageId (int id, const ExpandedMutationContext &context)
 
absl::Status yaze::cli::handlers::anonymous_namespace{message_commands.cc}::ValidateExpandedMessageBankSize (size_t message_count, const ExpandedMutationContext &context)
 

Function Documentation

◆ ABSL_DECLARE_FLAG()

ABSL_DECLARE_FLAG ( std::string ,
rom  )