mirror of https://gitlab.com/drummyfish/anarch.git
Add setting
This commit is contained in:
parent
e6b29d179f
commit
7b18415c1a
2
game.h
2
game.h
|
@ -4333,7 +4333,7 @@ void SFG_drawMenu()
|
||||||
if (item == SFG_MENU_ITEM_NONE)
|
if (item == SFG_MENU_ITEM_NONE)
|
||||||
break;
|
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
|
// with low resolution only display the selected item
|
||||||
|
|
||||||
if (i != SFG_game.selectedMenuItem)
|
if (i != SFG_game.selectedMenuItem)
|
||||||
|
|
|
@ -399,6 +399,13 @@
|
||||||
#define SFG_SPRITE_MAX_SIZE SFG_SCREEN_RESOLUTION_Y
|
#define SFG_SPRITE_MAX_SIZE SFG_SCREEN_RESOLUTION_Y
|
||||||
#endif
|
#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 ------
|
//------ developer/debug settings ------
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue