1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-24 17:51:22 +00:00

shmup for product: player movement

This commit is contained in:
Zeno Rogue
2019-08-26 09:06:39 +02:00
parent a6951d1dbb
commit 61ea588ffb
6 changed files with 80 additions and 48 deletions

View File

@@ -1189,7 +1189,6 @@ EX void set_geometry(eGeometry target) {
if(GDIM == 2 && among(pmodel, mdPerspective, mdGeodesic)) pmodel = mdDisk;
if(nonisotropic && old_DIM == 2 && vid.texture_step < 4) vid.texture_step = 4;
if(prod) { pmodel = mdPerspective; if(vid.texture_step < 4) vid.texture_step = 4; }
if(prod && shmup::on) shmup::on = false;
}
}
@@ -1288,7 +1287,6 @@ EX void switch_game_mode(char switchWhat) {
chaosmode = false;
princess::challenge = false;
if(sol || bounded) set_geometry(gNormal);
if(prod) set_geometry(hybrid::underlying);
dual::disable();
break;
#endif
@@ -1310,7 +1308,6 @@ EX void switch_game_mode(char switchWhat) {
shmup::on = !shmup::on;
princess::challenge = false;
if(!shmup::on) racing::on = false;
if(prod) set_geometry(hybrid::underlying);
break;
case rg::randpattern: