mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-23 14:22:06 +00:00
compiler in the Steam runtime produces an internal error... using a workaround
This commit is contained in:
+9
-9
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user