mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
ads-game:: cleanup nomap
This commit is contained in:
parent
0ddc6c722f
commit
5423eebc2d
@ -130,7 +130,6 @@ void set_config() {
|
||||
|
||||
nohelp = true;
|
||||
nomenukey = true;
|
||||
nomap = true;
|
||||
no_find_player = true;
|
||||
showstartmenu = false;
|
||||
}
|
||||
|
@ -45,18 +45,15 @@ void switch_underlying() {
|
||||
|
||||
initcells();
|
||||
initgame();
|
||||
nomap = false;
|
||||
models::desitter_projections = true;
|
||||
}
|
||||
|
||||
else if(hyperbolic) {
|
||||
nomap = true;
|
||||
geometry = gSphere;
|
||||
variation = eVariation::bitruncated;
|
||||
swap(currentmap, map_hyp);
|
||||
pmodel = mdDisk;
|
||||
check_cgi();
|
||||
nomap = true;
|
||||
}
|
||||
|
||||
}
|
||||
@ -68,7 +65,6 @@ void switch_underlying() {
|
||||
hybrid::switch_to_actual();
|
||||
pmodel = mdRelPerspective;
|
||||
hyperpoint res;
|
||||
nomap = false;
|
||||
nonisotropic_weird_transforms = true;
|
||||
NLP = Id;
|
||||
Duality = Id;
|
||||
@ -78,7 +74,6 @@ void switch_underlying() {
|
||||
else if(hybri) {
|
||||
hybrid::switch_to_underlying();
|
||||
pmodel = mdDisk;
|
||||
nomap = true;
|
||||
}
|
||||
cgi.use_count++;
|
||||
}
|
||||
@ -104,6 +99,8 @@ bool ads_draw_cell(cell *c, const shiftmatrix& V) {
|
||||
}
|
||||
|
||||
void replay_animation() {
|
||||
nomap = main_rock ? (!hyperbolic || among(pmodel, mdRelPerspective, mdRelOrthogonal)) : !sl2;
|
||||
|
||||
if(in_replay) {
|
||||
view_pt = (ticks / 1000.) * DS_(simspeed);
|
||||
ld maxt = history.back().start + 0.001;
|
||||
|
Loading…
Reference in New Issue
Block a user