yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
palette_commands.cc File Reference
#include "cli/handlers/graphics/palette_commands.h"
#include <algorithm>
#include <cmath>
#include <set>
#include <string>
#include "absl/status/status.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_format.h"
#include "app/gfx/types/snes_color.h"
#include "app/gfx/types/snes_palette.h"
#include "util/macro.h"
#include "zelda3/game_data.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{palette_commands.cc}
 

Functions

absl::Status yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::LoadPalettes (Rom *rom, zelda3::GameData &game_data)
 
std::string yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::FormatColorHex (const gfx::SnesColor &color)
 
int yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::ColorBrightness (const gfx::SnesColor &color)
 
void yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::FormatPaletteColors (const gfx::SnesPalette &palette, resources::OutputFormatter &formatter)
 
void yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::AnalyzeGroup (const std::string &group_name, const gfx::PaletteGroup &group, resources::OutputFormatter &formatter)
 

Variables

constexpr const char * yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::kAllGroupNames []
 
constexpr int yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::kNumGroups = sizeof(kAllGroupNames) / sizeof(kAllGroupNames[0])