From 0086b596e2fbf2526e34ec02111a1e178dcd6cbe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 31 Aug 2018 20:49:44 +0200 Subject: [PATCH] compiler in the Steam runtime produces an internal error... using a workaround --- archimedean.cpp | 18 +++++++++--------- changelog.txt | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/archimedean.cpp b/archimedean.cpp index 80ba3b17..cce79e82 100644 --- a/archimedean.cpp +++ b/archimedean.cpp @@ -1034,6 +1034,15 @@ void enable(archimedean_tiling& arct) { start_game(); } +function setcanvas(char c) { + return [c] () { + stop_game(); + firstland = specialland = laCanvas; + patterns::whichCanvas = c; + start_game(); + }; + }; + void show() { if(lastsample < isize(samples)) { string s = samples[lastsample].first; @@ -1134,15 +1143,6 @@ void show() { if(spos < 0) spos = 0; }); - auto setcanvas = [] (char c) { - return [c] () { - stop_game(); - firstland = specialland = laCanvas; - patterns::whichCanvas = c; - start_game(); - }; - }; - if(archimedean) { dialog::addSelItem(XLAT("size of the world"), current.world_size(), 0); dialog::addSelItem(XLAT("edge length"), current.get_class() == gcEuclid ? (fts(current.edgelength) + XLAT(" (arbitrary)")) : fts6(current.edgelength), 0); diff --git a/changelog.txt b/changelog.txt index 5f5d5cfd..05941aca 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2654,7 +2654,7 @@ Bugfixes: * pressing Backspace while the Archimedean symbol is already deleted does nothing instead of leaving the menu * Hypersian Rug mode works with Archimedean tilings -2018.08.30 19:17 Update 10.4t +2018.08.31 19:27 Update 10.4t Bugfixes: * Camelot a bit more frequent in Crossroads IV