From b47a43aa2866dbac7cc63b7a0f18d20b3b38883d Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Wed, 17 Jan 2007 18:52:24 +0000 Subject: Doom for the Gigabeat and some code reduction git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12051 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/m_misc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugins/doom/m_misc.c') diff --git a/apps/plugins/doom/m_misc.c b/apps/plugins/doom/m_misc.c index 75cef87..1e4b75d 100644 --- a/apps/plugins/doom/m_misc.c +++ b/apps/plugins/doom/m_misc.c @@ -291,7 +291,7 @@ default_t defaults[] = {"pitched_sounds",{&pitched_sounds, NULL},{0, NULL},0,1, // killough 2/21/98 def_bool,ss_none, 0, 0}, // enables variable pitch in sound effects (from id's original code) // {"samplerate",{&snd_samplerate, NULL},{22050, NULL},11025,48000, def_int,ss_none, 0, 0}, - {"nosfxparm",{(void *)&nosfxparm, NULL},{0, NULL},0,1, def_bool,ss_none, 0, 0}, + {"enable_sound",{(void *)&enable_sound, NULL},{0, NULL},0,1, def_bool,ss_none, 0, 0}, {"sfx_volume",{&snd_SfxVolume, NULL},{8, NULL},0,15, def_int,ss_none, 0, 0}, {"music_volume",{&snd_MusicVolume, NULL},{8, NULL},0,15, def_int,ss_none, 0, 0}, {"mus_pause_opt",{&mus_pause_opt, NULL},{2, NULL},0,2, // CPhipps - music pausing @@ -307,6 +307,10 @@ default_t defaults[] = def_int,ss_none, 0, 0}, {"screen_height",{&desired_screenheight, NULL},{200, NULL},200,1200, def_int,ss_none, 0, 0},*/ +#if(LCD_HEIGHT>LCD_WIDTH) + {"rotate_screen",{(void *)&rotate_screen, NULL},{0, NULL},0,1, + def_bool,ss_none, 0, 0}, /* kwk - rotate the screen 90 degrees */ +#endif {"fake_contrast",{&fake_contrast, NULL},{1, NULL},0,1, def_bool,ss_none, 0, 0}, /* cph - allow crappy fake contrast to be disabled */ // {"use_fullscreen",{&use_fullscreen, NULL},{1, NULL},0,1, /* proff 21/05/2000 */ -- cgit v1.1