persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
TextManager.cpp File Reference
#include "TextManager.hpp"
#include "core/logger.hpp"
#include <sstream>
Include dependency graph for TextManager.cpp:

Go to the source code of this file.

Functions

constexpr uint16_t nds_rgb (uint8_t r, uint8_t g, uint8_t b)

Variables

static const uint16_t customPalette [21]

Function Documentation

◆ nds_rgb()

uint16_t nds_rgb ( uint8_t r,
uint8_t g,
uint8_t b )
constexpr

Definition at line 6 of file TextManager.cpp.

Variable Documentation

◆ customPalette

const uint16_t customPalette[21]
static
Initial value:
= {
ARGB16(1, 0, 0, 0),
ARGB16(1, 31, 31, 31),
nds_rgb(0, 202, 105),
nds_rgb(18, 168, 88),
nds_rgb(28, 118, 55),
nds_rgb(0, 69, 40),
nds_rgb(4, 34, 18),
nds_rgb(121, 206, 255),
nds_rgb(9, 137, 253),
nds_rgb(0, 104, 208),
nds_rgb(0, 44, 208),
nds_rgb(0, 0, 36),
nds_rgb(245, 198, 164),
nds_rgb(198, 164, 245),
ARGB16(1, 31, 0, 0),
ARGB16(1, 0, 31, 0),
ARGB16(1, 0, 0, 31),
ARGB16(1, 31, 31, 0),
ARGB16(1, 31, 0, 31),
ARGB16(1, 0, 31, 31),
ARGB16(1, 15, 15, 15),
}
constexpr uint16_t nds_rgb(uint8_t r, uint8_t g, uint8_t b)

Definition at line 11 of file TextManager.cpp.