1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 14:56:00 +00:00

rogueviz:: use enable_canvas

This commit is contained in:
Zeno Rogue
2021-09-30 10:49:12 +02:00
parent 2377ccb434
commit 402fabeefb
9 changed files with 20 additions and 20 deletions

View File

@@ -465,7 +465,7 @@ void enable_earth() {
texture::texture_aura = true;
stop_game();
set_geometry(gSphere);
firstland = specialland = laCanvas;
enable_canvas();
patterns::whichCanvas = 'F';
start_game();
texture::config.configname = "textures/earth.txc";
@@ -499,7 +499,7 @@ slide dmv_slides[] = {
{"Euclidean plane", 999, LEGAL::NONE | QUICKGEO,
"The sum of angles of a triangle is 180 degrees.\n\n",
[] (presmode mode) {
if(mode == pmStartAll) firstland = specialland = laCanvas;
if(mode == pmStartAll) enable_canvas();
setCanvas(mode, 'F');
if(mode == pmStart) {
stop_game();
@@ -573,7 +573,7 @@ slide dmv_slides[] = {
"Hyperbolic geometry works the opposite way to spherical geometry."
"In hyperbolic geometry, the sum of angles of a triangle is less than 180 degrees.\n\n",
[] (presmode mode) {
if(mode == pmStartAll) firstland = specialland = laCanvas;
if(mode == pmStartAll) enable_canvas();
setCanvas(mode, 'F');
if(mode == pmStart) {
stop_game();