mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-28 06:17:03 +00:00
compiler in the Steam runtime produces an internal error... using a workaround
This commit is contained in:
parent
5df1170d82
commit
0086b596e2
@ -1034,6 +1034,15 @@ void enable(archimedean_tiling& arct) {
|
|||||||
start_game();
|
start_game();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function<void()> setcanvas(char c) {
|
||||||
|
return [c] () {
|
||||||
|
stop_game();
|
||||||
|
firstland = specialland = laCanvas;
|
||||||
|
patterns::whichCanvas = c;
|
||||||
|
start_game();
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
if(lastsample < isize(samples)) {
|
if(lastsample < isize(samples)) {
|
||||||
string s = samples[lastsample].first;
|
string s = samples[lastsample].first;
|
||||||
@ -1134,15 +1143,6 @@ void show() {
|
|||||||
if(spos < 0) spos = 0;
|
if(spos < 0) spos = 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
auto setcanvas = [] (char c) {
|
|
||||||
return [c] () {
|
|
||||||
stop_game();
|
|
||||||
firstland = specialland = laCanvas;
|
|
||||||
patterns::whichCanvas = c;
|
|
||||||
start_game();
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
if(archimedean) {
|
if(archimedean) {
|
||||||
dialog::addSelItem(XLAT("size of the world"), current.world_size(), 0);
|
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);
|
dialog::addSelItem(XLAT("edge length"), current.get_class() == gcEuclid ? (fts(current.edgelength) + XLAT(" (arbitrary)")) : fts6(current.edgelength), 0);
|
||||||
|
@ -2654,7 +2654,7 @@ Bugfixes:
|
|||||||
* pressing Backspace while the Archimedean symbol is already deleted does nothing instead of leaving the menu
|
* pressing Backspace while the Archimedean symbol is already deleted does nothing instead of leaving the menu
|
||||||
* Hypersian Rug mode works with Archimedean tilings
|
* Hypersian Rug mode works with Archimedean tilings
|
||||||
|
|
||||||
2018.08.30 19:17 Update 10.4t
|
2018.08.31 19:27 Update 10.4t
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
* Camelot a bit more frequent in Crossroads IV
|
* Camelot a bit more frequent in Crossroads IV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user