Porytiles
Loading...
Searching...
No Matches
tiles_pal_mode.hpp File Reference
#include <algorithm>
#include <cctype>
#include <format>
#include <optional>
#include <ostream>
#include <string>
#include "porytiles/utilities/panic/panic.hpp"
Include dependency graph for tiles_pal_mode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::formatter< porytiles::TilesPalMode >
 

Namespaces

namespace  porytiles
 

Enumerations

enum class  porytiles::TilesPalMode { porytiles::true_color , porytiles::greyscale }
 Controls how tiles.png is rendered. More...
 

Functions

std::optional< TilesPalModeporytiles::tiles_pal_mode_from_str (const std::string &str)
 Parses a string into a TilesPalMode with fuzzy matching.
 
std::string porytiles::to_string (const TilesPalMode m)
 Converts a TilesPalMode to its canonical string representation.
 
std::ostream & porytiles::operator<< (std::ostream &os, const TilesPalMode m)
 Stream insertion operator for TilesPalMode.