#include "cli/handlers/graphics/gfx_sheet_png_commands.h"
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <optional>
#include <string>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/match.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/strings/str_split.h"
#include "absl/strings/strip.h"
#include "core/gfx_sheet_policy_adapter.h"
#include "core/project.h"
#include "nlohmann/json.hpp"
#include "rom/rom.h"
#include "rom/rom_diff.h"
#include "util/hex.h"
#include "util/indexed_png.h"
#include "util/macro.h"
#include "zelda3/game_data.h"
#include "zelda3/gfx_sheet_inventory.h"
#include "zelda3/gfx_sheet_png.h"
#include "zelda3/gfx_sheet_storage.h"
Go to the source code of this file.
|
| absl::StatusOr< int > | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ParseNumber (absl::string_view text, const char *what) |
| |
| absl::StatusOr< uint16_t > | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ParseSheet (const resources::ArgumentParser &parser) |
| |
| absl::StatusOr< int > | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ParseIntArg (const resources::ArgumentParser &parser, const char *name, int fallback) |
| |
| absl::StatusOr< zelda3::SheetPalette > | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette (Rom &rom, const resources::ArgumentParser &parser, int sheet=-1, std::optional< zelda3::RoomSheetPaletteContext > *context=nullptr) |
| |
| std::string | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::PaletteText (const zelda3::SheetPalette &palette) |
| |
| nlohmann::json | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::PaletteContextJson (const zelda3::RoomSheetPaletteContext &context) |
| |
| absl::Status | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ValidateExportPaths (const Rom &rom, const std::vector< std::string > &outputs) |
| |
| absl::Status | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::WriteJson (const std::string &path, const nlohmann::json &value) |
| |
| std::string | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::RangeText (const std::vector< std::pair< int, int > > &ranges) |
| |
| absl::StatusOr< RoomContext > | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext (Rom &rom, const resources::ArgumentParser &parser) |
| |
| absl::Status | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle (Rom &rom, RoomContext &context, const std::string &directory, resources::OutputFormatter &formatter) |
| |
| std::string | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::HexIds (const std::vector< int > &ids) |
| |
| absl::Status | yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::RequireUsGfxTables (const Rom &rom) |
| |