1
0
Fork 0
forked from len0rd/rockbox

Better video update, add options to startup menu, change default screensize

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9754 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2006-04-22 03:48:15 +00:00
parent 8b2a563dfb
commit 65c15eb50b
4 changed files with 47 additions and 24 deletions

View file

@ -35,6 +35,8 @@
#include "rockmacros.h"
#include "doomstat.h"
#include "i_system.h"
#include "hu_stuff.h"
#include "st_stuff.h"
PLUGIN_HEADER
@ -686,6 +688,8 @@ static bool Doptions()
{ "Translucency", NULL },
{ "Fake Contrast", NULL },
{ "Always Run", NULL },
{ "Headsup Display", NULL },
{ "Statusbar Always Red", NULL },
};
m = rb->menu_init(items, sizeof(items) / sizeof(*items),
@ -726,10 +730,18 @@ static bool Doptions()
rb->set_option(items[6].desc, &fake_contrast, INT, onoff, 2, NULL );
break;
case 7: /* Fake Contrast */
case 7: /* Always Run */
rb->set_option(items[7].desc, &autorun, INT, onoff, 2, NULL );
break;
case 8: /* Headsup Display */
rb->set_option(items[8].desc, &hud_displayed, INT, onoff, 2, NULL );
break;
case 9: /* Statusbar always red */
rb->set_option(items[9].desc, &sts_always_red, INT, onoff, 2, NULL );
break;
default:
menuquit=1;
break;