yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
graphics_doctor_commands.cc File Reference
#include "cli/handlers/tools/graphics_doctor_commands.h"
#include <algorithm>
#include <iostream>
#include <optional>
#include <string>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "cli/handlers/tools/diagnostic_types.h"
#include "rom/rom.h"
#include "rom/snes.h"
#include "zelda3/dungeon/dungeon_rom_addresses.h"
#include "zelda3/game_data.h"
#include "zelda3/gfx_sheet_storage.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::cli
 
namespace  yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}
 

Functions

void yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::AddFinding (DiagnosticReport &report, const std::string &id, DiagnosticSeverity severity, const std::string &message, const std::string &location, const std::string &suggested_action="")
 
bool yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::IsSelected (int target_sheet, uint32_t sheet)
 
std::vector< std::optional< zelda3::GfxSheetExtent > > yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ScanSheets (const Rom &rom, DiagnosticReport &report, int target_sheet, bool verbose, int &successful, int &failed, int &oversized)
 
void yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::CheckSheetOverlaps (const std::vector< std::optional< zelda3::GfxSheetExtent > > &extents, DiagnosticReport &report, int target_sheet, int &aliased, int &overlapping)
 
void yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ValidateGroupTables (const Rom &rom, DiagnosticReport &report, int &invalid_refs)
 
void yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::CheckSheetContents (const Rom &rom, const std::vector< std::optional< zelda3::GfxSheetExtent > > &extents, DiagnosticReport &report, int target_sheet, bool verbose, int &empty_sheets, int &suspicious_sheets)
 

Variables

constexpr uint32_t yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::kNumGfxSheets = zelda3::kGfxSheetCount
 
constexpr uint32_t yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::kNumMainBlocksets = 37
 
constexpr uint32_t yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::kNumRoomBlocksets = 82
 
constexpr uint32_t yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::kNumSpritesets = 144
 
constexpr uint32_t yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::kSpriteSheetBase = 0x73