mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 06:45:59 +00:00
rogueviz:: various minor fixes to presentations
This commit is contained in:
@@ -901,11 +901,11 @@ slide dmv_slides[] = {
|
||||
dialog::display();
|
||||
return true;
|
||||
});
|
||||
no_other_hud(mode);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
|
||||
{"Compasses in Nil", 123, LEGAL::ANY,
|
||||
{"Compasses in Nil", 123, LEGAL::ANY | QUICKGEO,
|
||||
"However, it turns out that there actually exists a non-Euclidean geometry, "
|
||||
"known as the Nil geometry, where constructions such as Penrose staircases and "
|
||||
"triangles naturally appear!\n\n"
|
||||
@@ -952,7 +952,7 @@ slide dmv_slides[] = {
|
||||
}
|
||||
},
|
||||
|
||||
{"Cartesian coordinates", 999, LEGAL::NONE,
|
||||
{"Cartesian coordinates", 999, LEGAL::NONE | QUICKGEO,
|
||||
"The puzzle shows an important fact: every point on Earth has defined directions "
|
||||
"(North, East, South, West), and in most life situations, we can assume that these "
|
||||
"directions work the same as in the Cartesian system of coordinates."
|
||||
@@ -963,7 +963,7 @@ slide dmv_slides[] = {
|
||||
no_other_hud(mode);
|
||||
}
|
||||
},
|
||||
{"Nil coordinates", 999, LEGAL::NONE,
|
||||
{"Nil coordinates", 999, LEGAL::NONE | QUICKGEO,
|
||||
"However, because Earth is curved (non-Euclidean), these directions actually "
|
||||
"work different! If you are closer to the pole, moving East or West changes "
|
||||
"your longitude much more quickly.\n\n"
|
||||
@@ -981,7 +981,7 @@ slide dmv_slides[] = {
|
||||
no_other_hud(mode);
|
||||
}
|
||||
},
|
||||
{"Nil coordinates (area)", 999, LEGAL::NONE,
|
||||
{"Nil coordinates (area)", 999, LEGAL::NONE | QUICKGEO,
|
||||
"The formulas look strange at a first glance, but the idea is actually simple: "
|
||||
"the change in the 'z' coordinate is the area of a triangle, as shown in the picture. "
|
||||
"The change is positive if we go counterclockwise, and negative if we go clockwise.\n\n"
|
||||
@@ -992,7 +992,7 @@ slide dmv_slides[] = {
|
||||
no_other_hud(mode);
|
||||
}
|
||||
},
|
||||
{"Nil coordinates (loop)", 999, LEGAL::NONE,
|
||||
{"Nil coordinates (loop)", 999, LEGAL::NONE | QUICKGEO,
|
||||
"If we make a tour in Nil moving only in the directions N, W, S, E, such that "
|
||||
"the analogous tour in Euclidean space would return us to the starting point, "
|
||||
"then the tour in Nil would return us directly above or below the starting point, "
|
||||
@@ -1011,6 +1011,7 @@ slide dmv_slides[] = {
|
||||
,
|
||||
[] (presmode mode) {
|
||||
brick_slide(0, mode, gCubeTiling, mdHorocyclic, 0);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
{"Simple Penrose stairs in Nil", 999, LEGAL::NONE | QUICKGEO,
|
||||
@@ -1022,6 +1023,7 @@ slide dmv_slides[] = {
|
||||
[] (presmode mode) {
|
||||
brick_slide(0, mode, gNil, mdHorocyclic, 0);
|
||||
if(mode == pmKey) bricks::animation = !bricks::animation;
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
{"Simple Penrose stairs in Nil (FPP)", 999, LEGAL::NONE | QUICKGEO,
|
||||
@@ -1135,6 +1137,7 @@ slide dmv_slides[] = {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
non_game_slide_scroll(mode);
|
||||
// pmodel = (pmodel == mdGeodesic ? mdPerspective : mdGeodesic);
|
||||
}
|
||||
},
|
||||
@@ -1145,6 +1148,7 @@ slide dmv_slides[] = {
|
||||
brick_slide(1, mode, gNil, mdHorocyclic, 1);
|
||||
// if(mode == pmKey) DRAW
|
||||
// pmodel = (pmodel == mdGeodesic ? mdPerspective : mdGeodesic);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
{"Penrose triangle (FPP)", 999, LEGAL::NONE | QUICKGEO,
|
||||
@@ -1187,6 +1191,7 @@ slide dmv_slides[] = {
|
||||
,
|
||||
[] (presmode mode) {
|
||||
impossible_ring_slide(mode);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
{"impossible ring in Nil", 18, LEGAL::NONE | QUICKGEO,
|
||||
@@ -1234,6 +1239,7 @@ slide dmv_slides[] = {
|
||||
,
|
||||
[] (presmode mode) {
|
||||
brick_slide(2, mode, gCubeTiling, mdHorocyclic, 0);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
{"two Penrose triangles (Nil)", 999, LEGAL::NONE | QUICKGEO,
|
||||
@@ -1244,6 +1250,7 @@ slide dmv_slides[] = {
|
||||
"triangles with two different orientations.",
|
||||
[] (presmode mode) {
|
||||
brick_slide(2, mode, gNil, mdHorocyclic, 0);
|
||||
non_game_slide_scroll(mode);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user