mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
colortable single brace
This commit is contained in:
parent
256a7fa2cb
commit
296719c8ca
2
tour.cpp
2
tour.cpp
@ -137,7 +137,7 @@ EX void setCanvas(presmode mode, ccolor::data *canv, reaction_t f) {
|
||||
EX void setCanvas(presmode mode, ccolor::data *canv) { setCanvas(mode, canv, [] {}); }
|
||||
|
||||
EX void setCanvasColor(presmode mode, color_t col, reaction_t f) {
|
||||
setCanvas(mode, &ccolor::plain, [f, col] { slide_backup(ccolor::rwalls, 0); slide_backup(ccolor::plain.ctab, colortable{{col}}); f(); });
|
||||
setCanvas(mode, &ccolor::plain, [f, col] { slide_backup(ccolor::rwalls, 0); slide_backup(ccolor::plain.ctab, colortable{col}); f(); });
|
||||
}
|
||||
|
||||
EX void setWhiteCanvas(presmode mode, reaction_t f) {
|
||||
|
Loading…
Reference in New Issue
Block a user