QTfrontend/gameuiconfig.cpp
branchexperimental3D
changeset 4812 f924be23ffb4
parent 4004 b1c2c2f6fc5e
parent 4809 9c7d5f802618
child 4844 20b81fafd236
equal deleted inserted replaced
4347:0ddb100fea61 4812:f924be23ffb4
   183     //quint32 rqLowRes = 0x00000001;  // use half land array
   183     //quint32 rqLowRes = 0x00000001;  // use half land array
   184     quint32 rqBlurryLand = 0x00000002;  // downscaled terrain
   184     quint32 rqBlurryLand = 0x00000002;  // downscaled terrain
   185     quint32 rqNoBackground = 0x00000004;  // don't draw background
   185     quint32 rqNoBackground = 0x00000004;  // don't draw background
   186     quint32 rqSimpleRope = 0x00000008;  // avoid drawing rope
   186     quint32 rqSimpleRope = 0x00000008;  // avoid drawing rope
   187     quint32 rq2DWater = 0x00000010;  // disabe 3D water effect
   187     quint32 rq2DWater = 0x00000010;  // disabe 3D water effect
   188     quint32 rqFancyBoom = 0x00000020;  // no fancy explosion effects
   188     quint32 rqAntiBoom = 0x00000020;  // no fancy explosion effects
   189     quint32 rqKillFlakes = 0x00000040;  // no flakes
   189     quint32 rqKillFlakes = 0x00000040;  // no flakes
   190     quint32 rqSlowMenu = 0x00000080;  // ammomenu appears with no animation
   190     quint32 rqSlowMenu = 0x00000080;  // ammomenu appears with no animation
   191     quint32 rqPlainSplash = 0x00000100;  // no droplets
   191     quint32 rqPlainSplash = 0x00000100;  // no droplets
   192     quint32 rqClampLess = 0x00000200;  // don't clamp textures
   192     quint32 rqClampLess = 0x00000200;  // don't clamp textures
   193     quint32 rqTooltipsOff = 0x00000400;  // tooltips are not drawn
   193     quint32 rqTooltipsOff = 0x00000400;  // tooltips are not drawn
   204       case 3:
   204       case 3:
   205         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash;
   205         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash;
   206         break;
   206         break;
   207       case 2:
   207       case 2:
   208         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   208         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   209                   rqFancyBoom | rqSlowMenu;
   209                   rqAntiBoom | rqSlowMenu;
   210         break;
   210         break;
   211       case 1:
   211       case 1:
   212         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   212         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   213                   rqFancyBoom | rqSlowMenu | rqSimpleRope | rqDesyncVBlank;
   213                   rqAntiBoom | rqSlowMenu | rqSimpleRope | rqDesyncVBlank;
   214         break;
   214         break;
   215       case 0:
   215       case 0:
   216         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   216         result |= rqBlurryLand | rqKillFlakes | rqPlainSplash | rq2DWater |
   217                   rqFancyBoom | rqSlowMenu | rqSimpleRope | rqDesyncVBlank |
   217                   rqAntiBoom | rqSlowMenu | rqSimpleRope | rqDesyncVBlank |
   218                   rqNoBackground | rqClampLess;
   218                   rqNoBackground | rqClampLess;
   219         break;
   219         break;
   220       default:
   220       default:
   221         fprintf(stderr,"unset value from slider");
   221         fprintf(stderr,"unset value from slider");
   222         break;
   222         break;