1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-05 19:39:04 +00:00

smooth_scrolling now configurable

This commit is contained in:
?
2019-02-25 18:39:36 +01:00
committed by Zeno Rogue
parent 29afe683c3
commit 6808c4e926
4 changed files with 13 additions and 7 deletions

View File

@@ -379,6 +379,9 @@ struct shmup_configurer {
else dialog::addBreak(100);
if(playercfg > 3)
dialog::addItem(XLAT("configure player 4") + dsc(3), '4');
else if(!shmup::on && !multi::alwaysuse) {
dialog::addBoolItem(XLAT("smooth scrolling"), smooth_scrolling, 'c');
}
else dialog::addBreak(100);
if(playercfg > 4)
@@ -443,6 +446,7 @@ struct shmup_configurer {
#if CAP_SDLJOY
else if(uni == 'b') pushScreen(showJoyConfig);
#endif
else if(uni == 'c') smooth_scrolling = !smooth_scrolling;
else if(uni == 'r')
for(int i=0; i<MAXPLAYER; i++)
kills[i] = deaths[i] = treasures[i] = 0;