compiler in the Steam runtime produces an internal error... using a workaround

This commit is contained in:
Zeno Rogue 2018-08-31 20:49:44 +02:00
parent 5df1170d82
commit 0086b596e2
2 changed files with 10 additions and 10 deletions

View File

@ -1034,6 +1034,15 @@ void enable(archimedean_tiling& arct) {
start_game();
}
function<void()> 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);

View File

@ -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