Add setting

This commit is contained in:
Miloslav Číž 2020-11-13 19:22:35 +01:00
parent e6b29d179f
commit 7b18415c1a
2 changed files with 8 additions and 1 deletions

2
game.h
View File

@ -4333,7 +4333,7 @@ void SFG_drawMenu()
if (item == SFG_MENU_ITEM_NONE)
break;
#if SFG_GAME_RESOLUTION_Y < 70
#if (SFG_GAME_RESOLUTION_Y < 70) || SFG_FORCE_SINGLE_ITEM_MENU
// with low resolution only display the selected item
if (i != SFG_game.selectedMenuItem)

View File

@ -399,6 +399,13 @@
#define SFG_SPRITE_MAX_SIZE SFG_SCREEN_RESOLUTION_Y
#endif
/**
If set, single item menu will be forced.
*/
#ifndef SFG_FORCE_SINGLE_ITEM_MENU
#define SFG_FORCE_SINGLE_ITEM_MENU 0
#endif
//------ developer/debug settings ------
/**