@@ -127,6 +127,7 @@ extern cvar_c debug_joyaxis;
127127extern cvar_c g_aggression;
128128extern cvar_c m_busywait;
129129extern cvar_c r_shadows;
130+ extern cvar_c r_textscale;
130131extern cvar_c r_bloom;
131132extern cvar_c r_lens;
132133extern cvar_c sound_pitch;
@@ -429,22 +430,22 @@ static optmenuitem_t vidoptions[] =
429430 {OPT_Switch , " Detail Level" , Details, 3 , &detail_level, M_ChangeMipMap, NULL },
430431 {OPT_Switch, " Texture Filtering" , MipMaps, 3 , &var_mipmapping, M_ChangeMipMap, NULL },
431432 { OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
432- { OPT_Plain , " " , NULL , 0 , NULL , NULL , NULL },
433+ // {OPT_Slider , "HUD Text Scale ", HudT, 20 , &r_textscale, M_ChangeHUDTextScale, "Set overall scale of HUD text" },
433434 {OPT_Boolean, " Show Disk Icon" , YesNo, 1 , &m_diskicon, NULL , NULL },
434435 // {OPT_Slider, "HUD Text Scale", HudT, 20, &r_textscale, NULL, "Experimental"},
435- {OPT_Boolean, " Screen Shake" , YesNo, 1 , &m_tactile, NULL , NULL },
436+ {OPT_Boolean, " Screen Shake" , YesNo, 1 , &m_tactile, NULL , " Will also affect user-defined values in COAL! " },
436437 {OPT_Switch, " Crosshair" , CrossH, 10 , &menu_crosshair, M_ChangeCrossHair, NULL },
437438 {OPT_Slider, " Crosshair Scale" , NULL , 15 , &menu_crosshair2, M_ChangeCrossHairSize, NULL }, // / -- New Crosshair Size Slider (like Global MD5 Scale), define this in LDF!
438439 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
439440 {OPT_Boolean, " Map Rotation" , YesNo, 2 , &rotatemap, NULL , NULL },
440- {OPT_Switch, " Teleport Flash" , YesNo, 2 , &telept_flash, NULL , NULL },
441+ {OPT_Switch, " Teleport Flash" , YesNo, 2 , &telept_flash, NULL , " Show a Teleport Flash? " },
441442 {OPT_Switch, " Teleport Effect" , TeleEff, 3 , &telept_effect, NULL , NULL },
442443 {OPT_Switch, " Wipe method" , WIPE_EnumStr, WIPE_NUMWIPES, &wipe_method, NULL , NULL },
443444};
444445
445446static optmenuitem_t advancedoptions[] =
446447{
447- {OPT_Switch, " OpenGL 3 Mode " , YesNo, 2 , &r_gl3_path, NULL , " OpenGL defaults to 1.x (off )" }, // / Change from GL1 to GL3
448+ {OPT_Switch, " GL3 Features " , YesNo, 2 , &r_gl3_path, NULL , " Toggles advanced features (normals, per-pixel lighting, etc )" }, // / Change from GL1 to GL3
448449 { OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
449450 {OPT_Switch, " Bloom Processing" , YesNo, 2 , &r_bloom, NULL , " Toggle Bloom Shader On or Off" },
450451 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
@@ -469,7 +470,7 @@ static optmenuitem_t advancedoptions[] =
469470
470471static optmenuitem_t debuggingoptions[] =
471472{
472- { OPT_Plain, " <---Debugging--->" , NULL , 0 , NULL , NULL , NULL },
473+ { OPT_Plain, " <---Debugging--->" , NULL , 0 , NULL , NULL , " Various useful options for developers " },
473474 { OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
474475 { OPT_Switch, " Framerate Info" , YesNo, 2 , &debug_fps, NULL , NULL },
475476 { OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
@@ -531,7 +532,7 @@ static optmenuitem_t resoptions[] =
531532 {OPT_Function, " New Mode" , NULL , 0 , NULL , M_ChangeResFull, NULL },
532533 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
533534 {OPT_Function, " Set Resolution" , NULL , 0 , NULL , M_OptionSetResolution, NULL },
534- /* {OPT_Function, "Test Resolution", NULL, 0, NULL, M_OptionTestResolution, NULL}, */
535+ // {OPT_Function, "Test Resolution", NULL, 0, NULL, M_OptionTestResolution, NULL},
535536 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
536537 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
537538 {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL }
@@ -607,7 +608,7 @@ static optmenuitem_t soundoptions[] =
607608 // {OPT_Switch, "Sample Rate", SampleRates, 6, &var_sample_rate, NULL, "NeedRestart"},
608609 // {OPT_Switch, "Sample Size", SoundBits, 3, &var_sound_bits, NULL, "NeedRestart"},
609610 {OPT_Switch, " Stereo" , StereoNess, 3 , &var_sound_stereo, NULL , " NeedRestart" },
610- { OPT_Switch, " Music Device" , MusicDevs, 3 , &var_music_dev, NULL , " Win32: SYSTEM will not work with Vista or higher! " },
611+ {OPT_Switch, " Music Device" , MusicDevs, 3 , &var_music_dev, NULL , " Choose Music Device Playback [default OPL] " },
611612
612613 { OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
613614 {OPT_Boolean, " Sound Pitching" , SoundPitching, 2 , &sound_pitch, NULL , " Emulate Doom 1.2 Random SFX Pitching" },
@@ -672,14 +673,15 @@ static optmenuitem_t playoptions[] =
672673 {OPT_Boolean, " Shoot-Through Scenery" , YesNo, 2 ,
673674 &global_flags.pass_missile , M_ChangePassMissile, NULL },
674675
675- {OPT_Plain, " Monster Aggression" , YesNo, 2 ,
676- &g_aggression, NULL , " Aggressive Monsters (EDGE feature)!" },
676+ {OPT_Boolean, " Monster Aggression" , YesNo, 2 ,
677+ &global_flags.g_agression , NULL , " Aggressive Monsters (EDGE feature)!" },
678+
679+ {OPT_Boolean, " Shadows" , YesNo, 2 ,
680+ &global_flags.shadows , M_ChangeShadows, NULL },
677681
678682 {OPT_Slider, " Gravity" , NULL , 20 ,
679683 &global_flags.menu_grav , NULL , " Gravity" },
680684
681- {OPT_Plain, " " , NULL , 0 , NULL , NULL , NULL },
682-
683685 {OPT_Boolean, " Enemy Respawn Mode" , Respw, 2 ,
684686 &global_flags.res_respawn , M_ChangeMonsterRespawn, NULL },
685687
@@ -790,6 +792,8 @@ static optmenuitem_t other_keyconfig[] =
790792 {OPT_KeyConfig, " Pause" , NULL , 0 , &key_pause, NULL , NULL },
791793 {OPT_KeyConfig, " Action 1" , NULL , 0 , &key_action1, NULL , NULL },
792794 {OPT_KeyConfig, " Action 2" , NULL , 0 , &key_action2, NULL , NULL },
795+ {OPT_KeyConfig, " Action 3" , NULL , 0 , &key_action3, NULL , NULL },
796+ {OPT_KeyConfig, " Action 4" , NULL , 0 , &key_action4, NULL , NULL },
793797
794798 // / {OPT_KeyConfig, "Multiplayer Talk", NULL, 0, &key_talk, NULL, NULL},
795799};
@@ -1873,14 +1877,19 @@ static void M_ChangeCrossHair(int keypressed)
18731877 r_crosshair = menu_crosshair;
18741878}
18751879
1880+ static void M_ChangeAgression (int keypressed)
1881+ {
1882+ g_aggression = global_flags.g_agression ;
1883+ }
1884+
18761885static void M_ChangeCrossHairSize (int keypressed)
18771886{
18781887 r_crosssize = menu_crosshair2;
18791888}
18801889
1881- #if 0
1890+ #if 1
18821891// Trying new user-defined scaling code for Heads-Up Display Text.
1883- extern void HUD_SetScale(float scale);
1892+ // extern void HUD_SetScale(float scale);
18841893static void M_ChangeHUDTextScale (int keypressed)
18851894{
18861895 float scale;
0 commit comments