11 constexpr std::array<std::string_view, 256> code_page =
14 "NULL",
"☺",
"☻",
"♥",
"♦",
"♣",
"♠",
"•",
"◘",
"○",
"◙",
"♂",
"♀",
"♪",
"♫",
"☼",
15 "►",
"◄",
"↕",
"‼",
"¶",
"§",
"▬",
"↨",
"↑",
"↓",
"→",
"←",
"∟",
"↔",
"▲",
"▼",
16 " ",
"!",
"\"",
"#",
"$",
"%",
"&",
"'",
"(",
")",
"*",
"+",
",",
"-",
".",
"/",
17 "0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
":",
";",
"<",
"=",
">",
"?",
18 "@",
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"I",
"J",
"K",
"L",
"M",
"N",
"O",
19 "P",
"Q",
"R",
"S",
"T",
"U",
"V",
"W",
"X",
"Y",
"Z",
"[",
"\\",
"]",
"^",
"_",
20 "`",
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i",
"j",
"k",
"l",
"m",
"n",
"o",
21 "p",
"q",
"r",
"s",
"t",
"u",
"v",
"w",
"x",
"y",
"z",
"{",
"|",
"}",
"~",
"⌂",
22 "Ç",
"ü",
"é",
"â",
"ä",
"à",
"å",
"ç",
"ê",
"ë",
"è",
"ï",
"î",
"ì",
"Ä",
"Å",
23 "É",
"æ",
"Æ",
"ô",
"ö",
"ò",
"û",
"ù",
"ÿ",
"Ö",
"Ü",
"¢",
"£",
"¥",
"₧",
"ƒ",
24 "á",
"í",
"ó",
"ú",
"ñ",
"Ñ",
"ª",
"º",
"¿",
"⌐",
"¬",
"½",
"¼",
"¡",
"«",
"»",
25 "░",
"▒",
"▓",
"│",
"┤",
"╡",
"╢",
"╖",
"╕",
"╣",
"║",
"╗",
"╝",
"╜",
"╛",
"┐",
26 "└",
"┴",
"┬",
"├",
"─",
"┼",
"╞",
"╟",
"╚",
"╔",
"╩",
"╦",
"╠",
"═",
"╬",
"╧",
27 "╨",
"╤",
"╥",
"╙",
"╘",
"╒",
"╓",
"╫",
"╪",
"┘",
"┌",
"█",
"▄",
"▌",
"▐",
"▀",
28 "α",
"ß",
"Γ",
"π",
"Σ",
"σ",
"µ",
"τ",
"Φ",
"Θ",
"Ω",
"δ",
"∞",
"φ",
"ε",
"∩",
29 "≡",
"±",
"≥",
"≤",
"⌠",
"⌡",
"÷",
"≈",
"°",
"∙",
"·",
"√",
"ⁿ",
"²",
"■",
"nbsp"
48 if(
c == 0x00) {
continue; }
49 if(
c == 0x20) {
continue; }
50 if(
c == 0xFF) {
continue; }
std::string_view get_random_cp437_in_utf8(Random *random)
std::string_view get_cp437(int c)
bool is_within_inclusive_as_int(int min, int c, int max)
T get_random_in_range(Random *rand, const Range< T > &range)
WEL512 Random Number Generator.