smooth_scrolling now configurable

This commit is contained in:
?
2019-09-12 22:38:40 +02:00
committed by Zeno Rogue
parent 29afe683c3
commit 6808c4e926
4 changed files with 13 additions and 7 deletions
+4
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;