Sector Edit Form: negative brightness can now be entered.

Doom_misc.cfg, ZDoom_misc.cfg: changed the highest "sectorbrightness" value to 256 (was 255).
This commit is contained in:
MaxED 2014-08-06 08:17:39 +00:00
parent 7916cb6bbb
commit 9446de2d87
5 changed files with 4 additions and 7 deletions

View file

@ -104,7 +104,7 @@ thingflagstranslation
// Default sector brightness levels
sectorbrightness
{
255; 240; 224; 208; 192; 176; 160; 144;
256; 240; 224; 208; 192; 176; 160; 144;
128; 112; 96; 80; 64; 48; 32; 16; 0;
}

View file

@ -156,7 +156,7 @@ thingflagscompare_udmf
// Default sector brightness levels
sectorbrightness
{
255; 248; 240; 232; 224; 216; 208; 200; 192; 184; 176; 168; 160; 152; 144; 136;
256; 248; 240; 232; 224; 216; 208; 200; 192; 184; 176; 168; 160; 152; 144; 136;
128; 120; 112; 104; 96; 88; 80; 72; 64; 56; 48; 40; 32; 24; 16; 8; 0;
}

View file

@ -175,7 +175,7 @@ namespace CodeImp.DoomBuilder.Windows
// brightness
//
this.brightness.AllowDecimal = false;
this.brightness.AllowNegative = false;
this.brightness.AllowNegative = true;
this.brightness.AllowRelative = true;
this.brightness.ButtonStep = 8;
this.brightness.ButtonStepFloat = 1F;

View file

@ -135,9 +135,6 @@
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label9.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>

View file

@ -211,7 +211,7 @@
// brightness
//
this.brightness.AllowDecimal = false;
this.brightness.AllowNegative = false;
this.brightness.AllowNegative = true;
this.brightness.AllowRelative = true;
this.brightness.ButtonStep = 8;
this.brightness.ButtonStepFloat = 1F;