1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

remove ccolor::legacy

This commit is contained in:
Zeno Rogue 2024-06-16 16:22:30 +02:00
parent 56e4a84b1b
commit a04638af3b
2 changed files with 0 additions and 9 deletions

View File

@ -1961,11 +1961,6 @@ EX namespace ccolor {
dialog::end_list();
}
EX data *legacy(char c) {
if(c == 'd') return &landscape_dark;
return &plain;
}
#undef CCO
EX }

View File

@ -134,10 +134,6 @@ EX void setCanvas(presmode mode, ccolor::data *canv, reaction_t f) {
}
}
EX void setCanvas(presmode mode, char c) {
setCanvas(mode, ccolor::legacy(c));
}
EX void setCanvas(presmode mode, ccolor::data *canv) { setCanvas(mode, canv, [] {}); }
EX void setCanvasColor(presmode mode, color_t col, reaction_t f) {