From: MirceaKitsune Date: Thu, 15 Mar 2012 22:06:51 +0000 (+0200) Subject: Added settings for anaglyph stereo in the Video menu, so people with 3D glasses can... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2aba863c30497f10a8b460ea20e902655b295505;p=voretournament%2Fvoretournament.git Added settings for anaglyph stereo in the Video menu, so people with 3D glasses can play Vore Tournament in 3D. Includes settings for any type of glasses. --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index e9b9670e..12929ae9 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -175,6 +175,16 @@ vid_conheight 600 // menu_conwidth, menu_conheight are set inside quake.rc v_deathtilt 0 // needed for spectators (who are dead to avoid prediction) +// anaglyph stereo +seta r_stereo_redcyan 0 "red/cyan anaglyph stereo glasses, the kind given away at drive-in movies like Creature From The Black Lagoon In 3D" +seta r_stereo_redblue 0 "red/blue anaglyph stereo glasses (note: most of these glasses are actually red/cyan, try that one too)" +seta r_stereo_redgreen 0 "red/green anaglyph stereo glasses (for those who don't mind yellow)" +seta r_stereo_sidebyside 0 "side by side views (for those who can't afford glasses but can afford eye strain)" +seta r_stereo_horizontal 0 "aspect skewed side by side view for special decoder/display hardware" +seta r_stereo_vertical 0 "aspect skewed top and bottom view for special decoder/display hardware" +seta r_stereo_separation 4 "separation of eyes in the world (try negative values too)" +seta r_stereo_angle 0 "separation angle of eyes (try negative values too)" + // these settings determine how much the view is affected by movement/damage cl_smoothviewheight 0.2 // time of the averaging to the viewheight value so that it creates a smooth transition for crouching and such. 0 for instant transition cl_deathfade 0.05 // fade screen to dark red when dead, value represents how fast the fade is (higher is faster) diff --git a/data/qcsrc/menu/voret/dialog_settings_video.c b/data/qcsrc/menu/voret/dialog_settings_video.c index 8e7437fe..1a115b39 100644 --- a/data/qcsrc/menu/voret/dialog_settings_video.c +++ b/data/qcsrc/menu/voret/dialog_settings_video.c @@ -120,6 +120,27 @@ void fillVoretVideoSettingsTab(entity me) me.TR(me); me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Intensity:")); me.TD(me, 1, 2, e = makeVoretSlider(0.5, 2.0, 0.05, "r_hdr_scenebrightness")); + me.TR(me); + me.TR(me); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Anaglyph stereo:")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, string_null, string_null, "Disabled")); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, "r_stereo_horizontal", string_null, "Horizontal")); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, "r_stereo_vertical", string_null, "Vertical")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, "r_stereo_redcyan", string_null, "Red-cyan")); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, "r_stereo_redblue", string_null, "Red-blue")); + me.TD(me, 1, 0.8, e = makeVoretRadioButton(3, "r_stereo_redgreen", string_null, "Red-green")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Separation:")); + me.TD(me, 1, 2, e = makeVoretSlider(-32, 32, 1, "r_stereo_separation")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Angle:")); + me.TD(me, 1, 2, e = makeVoretSlider(-45, 45, 1, "r_stereo_angle")); me.gotoRC(me, me.rows - 1, 0); me.TD(me, 1, me.columns, makeVoretCommandButton("Apply immediately", '0 0 0', "menu_cmd setresolution; vid_restart; menu_restart; togglemenu; defer 0.1 \"menu_cmd videosettings\"", COMMANDBUTTON_APPLY)); diff --git a/docs/Release notes.txt b/docs/Release notes.txt index d93a52b8..8af4e482 100644 --- a/docs/Release notes.txt +++ b/docs/Release notes.txt @@ -315,3 +315,5 @@ Features: - Character portraits, which show when getting fragged or shooting team mates. - Improved radar (minimap), which shows in both team games and standalone games by default. + +- Added settings for anaglyph stereo in the Video menu, so people with 3D glasses can play Vore Tournament in 3D. Includes settings for any type of glasses. diff --git a/docs/TODO.txt b/docs/TODO.txt index d0a63b10..9eae1c69 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -58,8 +58,6 @@ - 0.8: Add a checkpvs() check in sending entcs (where radar_showenemies used to be), to not send it for enemies behind walls -- 0.7: Anaglyph stereo in the menu - - +0.8: Once _shirt and _pants can be modded from qc, make fully RGB players? - 0.8: Loading screens with messages @@ -144,4 +142,8 @@ - 0.8: Colormod gibs when regurgitating them, although they are client side and the color cvars are server -- 0.8: scoreboard doesn't show when HUD is disabled (sbar_hudselector is 0) \ No newline at end of file +- 0.8: scoreboard doesn't show when HUD is disabled (sbar_hudselector is 0) + +- 0.7: Weapons menu: Center setting for the gun? + +- 0.7: Slower swallow progress \ No newline at end of file