1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

using new setCanvas function in RogueViz presentations

This commit is contained in:
Zeno Rogue
2024-06-16 16:16:56 +02:00
parent e76e32e214
commit 263ee56427
22 changed files with 77 additions and 113 deletions

View File

@@ -324,7 +324,7 @@ auto hook = arg::add3("-inner-map", enable)
,
[] (presmode mode) {
slide_url(mode, 't', "Twitter link (with description)", "https://twitter.com/zenorogue/status/1212408644941295619");
setCanvas(mode, 'r');
setCanvas(mode, &ccolor::random, [] { slide_backup(ccolor::rwalls, 0); });
if(mode == pmStart) {
if(!shmup::on) restart_game(rg::shmup);