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:
parent
56e4a84b1b
commit
a04638af3b
@ -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 }
|
||||
|
||||
|
4
tour.cpp
4
tour.cpp
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user