mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Add unfinished SRB2 sector edit form
This commit is contained in:
parent
4afeb9782f
commit
164c3aa9b1
7 changed files with 2981 additions and 1 deletions
|
@ -121,6 +121,7 @@ mapformat_doom
|
|||
// When this is set to true, sectors with the same tag will light up when a line is highlighted
|
||||
linetagindicatesectors = true;
|
||||
localsidedeftextureoffsets = false;
|
||||
distinctfloorandceilingbrightness = true;
|
||||
|
||||
// Special linedefs
|
||||
include("SRB222_misc.cfg", "speciallinedefs");
|
||||
|
|
|
@ -301,6 +301,12 @@
|
|||
<Compile Include="Windows\RunExternalCommandForm.Designer.cs">
|
||||
<DependentUpon>RunExternalCommandForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\SectorEditFormSRB2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Windows\SectorEditFormSRB2.Designer.cs">
|
||||
<DependentUpon>SectorEditFormSRB2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\ThingStatisticsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -696,6 +702,9 @@
|
|||
<EmbeddedResource Include="Windows\RunExternalCommandForm.resx">
|
||||
<DependentUpon>RunExternalCommandForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Windows\SectorEditFormSRB2.resx">
|
||||
<DependentUpon>SectorEditFormSRB2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Windows\ThingStatisticsForm.resx">
|
||||
<DependentUpon>ThingStatisticsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
@ -293,6 +293,12 @@
|
|||
<Compile Include="Windows\RunExternalCommandForm.Designer.cs">
|
||||
<DependentUpon>RunExternalCommandForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\SectorEditFormSRB2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Windows\SectorEditFormSRB2.Designer.cs">
|
||||
<DependentUpon>SectorEditFormSRB2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Windows\ThingStatisticsForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -688,6 +694,9 @@
|
|||
<EmbeddedResource Include="Windows\RunExternalCommandForm.resx">
|
||||
<DependentUpon>RunExternalCommandForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Windows\SectorEditFormSRB2.resx">
|
||||
<DependentUpon>SectorEditFormSRB2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Windows\ThingStatisticsForm.resx">
|
||||
<DependentUpon>ThingStatisticsForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
|
@ -4215,9 +4215,16 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
private ISectorEditForm GetSectorEditForm()
|
||||
{
|
||||
if (General.Map.UDMF)
|
||||
{
|
||||
if (General.Map.Config.EngineName == "srb2")
|
||||
{
|
||||
return new SectorEditFormSRB2();
|
||||
}
|
||||
else
|
||||
{
|
||||
return new SectorEditFormUDMF();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return new SectorEditForm();
|
||||
|
|
1171
Source/Core/Windows/SectorEditFormSRB2.Designer.cs
generated
Normal file
1171
Source/Core/Windows/SectorEditFormSRB2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
1568
Source/Core/Windows/SectorEditFormSRB2.cs
Normal file
1568
Source/Core/Windows/SectorEditFormSRB2.cs
Normal file
File diff suppressed because it is too large
Load diff
215
Source/Core/Windows/SectorEditFormSRB2.resx
Normal file
215
Source/Core/Windows/SectorEditFormSRB2.resx
Normal file
|
@ -0,0 +1,215 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="groupaction.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="groupeffect.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label16.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="resetdamagetype.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAG/SURBVDhPpZJLKERRGMdnPPKmCVEoibK0sJyUSFmQ
|
||||
SRQTNoaQhrzuZcPKbpq7YWNBymNl7T23yXvQDGPCmGai8RgLsrD8O+fTNYbSTBa/c7/z/b///5zbvSoA
|
||||
/4IWccrDHp8Ni+0RAttXjHiQb/ARvBanPZCZpswp0BJbcYKxGS/Myz6U9nuQOxhAwcQbiibfCV7zHtfM
|
||||
S15m+RGQ1nyJnOEnFAr3yBt9JrL7/Mjo9BK8Vvp5nW6YF4M3piVV70TO+DMjgGzBj6qJa0gLbjjdTwSv
|
||||
K0UXMo0+ZA3doaTnHPKRn0IoILHxGBmjt4Sm/wbtpgu8vr3QgIJ8dIfyITs0RjdSDRcQpDPSSYzT7SBl
|
||||
4JpINl4iXm+DKJ3SwHekeRcS2k6Q1O1EWc8+6SSoS1cQU7P9RXT1BnhPNNloSOH86gEx9VbEdTmQrtsk
|
||||
7UsMBx4QVbeJaIMNmtpV1oowQJpzQN1ggbptD9qOLdaKIEA+9ELbK0PdskshgumAtcMMkObsn+YmKwvY
|
||||
QXHrBiwHPiaFEcDfm67NT2bmFN0azLPBL/TL8BMWoOIGbixuXQ8xc0KG/4IbLfvBX1ghZBM5UH0A43jP
|
||||
b2gw2QkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="tooltip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="label9.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<data name="browseeffect.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGkSURBVDhPpVNrSwJRFDw/r689qIjoQRFBkZUUaBFE
|
||||
SEEUEVGYmWmLuZXiSiKrqImhvSiKgp7f+wF903W650QRIZE1MMze4Z4ze8/uJQD/ItWP6AMLxvPrxM4T
|
||||
nEFF7QGOwB3Gt24xtnkDu/cao+uXGHZfwLZ6hsGVEzjXj165Thq49p+tZfMFtdK2lLOkASf/hX3zh6pe
|
||||
NXBqj/xQM3pm0yxEju17MfqzIigWiygUCsjn88jlcshms0in00ilUjBNU8jociVZVAM1sJ9QqVQ+aVmW
|
||||
kNExnWAh4mmL8d5YUjOZDJLJJBKJBOLxOGKxGKLRKCKRCMLhsOxrn4qzEPGn+o5qqR8sl8uyp20yxkJk
|
||||
37gSo0GtuYDPyKmGYUiarusIBoPQNA2BQAB+v1/2tzqjLES2tXMxvqdx0leWSqVPMprG9lmIhlZOxahT
|
||||
ay7k83JyKBSSVJ/PB6/XC4/HA7fbLWQ02ndZiAaXj8WoFfWjOovcBb1/MS9/Vu9cBt2uFDpnTDXlAxlU
|
||||
64SBFkcEzeNh9dp7KlmHqmFyB6p6w2phVfP3BL0BYxQ+S88AMgkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="label8.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="groupfloorceiling.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="tabproperties.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="resetfloorlight.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAG/SURBVDhPpZJLKERRGMdnPPKmCVEoibK0sJyUSFmQ
|
||||
SRQTNoaQhrzuZcPKbpq7YWNBymNl7T23yXvQDGPCmGai8RgLsrD8O+fTNYbSTBa/c7/z/b///5zbvSoA
|
||||
/4IWccrDHp8Ni+0RAttXjHiQb/ARvBanPZCZpswp0BJbcYKxGS/Myz6U9nuQOxhAwcQbiibfCV7zHtfM
|
||||
S15m+RGQ1nyJnOEnFAr3yBt9JrL7/Mjo9BK8Vvp5nW6YF4M3piVV70TO+DMjgGzBj6qJa0gLbjjdTwSv
|
||||
K0UXMo0+ZA3doaTnHPKRn0IoILHxGBmjt4Sm/wbtpgu8vr3QgIJ8dIfyITs0RjdSDRcQpDPSSYzT7SBl
|
||||
4JpINl4iXm+DKJ3SwHekeRcS2k6Q1O1EWc8+6SSoS1cQU7P9RXT1BnhPNNloSOH86gEx9VbEdTmQrtsk
|
||||
7UsMBx4QVbeJaIMNmtpV1oowQJpzQN1ggbptD9qOLdaKIEA+9ELbK0PdskshgumAtcMMkObsn+YmKwvY
|
||||
QXHrBiwHPiaFEcDfm67NT2bmFN0azLPBL/TL8BMWoOIGbixuXQ8xc0KG/4IbLfvBX1ghZBM5UH0A43jP
|
||||
b2gw2QkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="resetceillight.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAG/SURBVDhPpZJLKERRGMdnPPKmCVEoibK0sJyUSFmQ
|
||||
SRQTNoaQhrzuZcPKbpq7YWNBymNl7T23yXvQDGPCmGai8RgLsrD8O+fTNYbSTBa/c7/z/b///5zbvSoA
|
||||
/4IWccrDHp8Ni+0RAttXjHiQb/ARvBanPZCZpswp0BJbcYKxGS/Myz6U9nuQOxhAwcQbiibfCV7zHtfM
|
||||
S15m+RGQ1nyJnOEnFAr3yBt9JrL7/Mjo9BK8Vvp5nW6YF4M3piVV70TO+DMjgGzBj6qJa0gLbjjdTwSv
|
||||
K0UXMo0+ZA3doaTnHPKRn0IoILHxGBmjt4Sm/wbtpgu8vr3QgIJ8dIfyITs0RjdSDRcQpDPSSYzT7SBl
|
||||
4JpINl4iXm+DKJ3SwHekeRcS2k6Q1O1EWc8+6SSoS1cQU7P9RXT1BnhPNNloSOH86gEx9VbEdTmQrtsk
|
||||
7UsMBx4QVbeJaIMNmtpV1oowQJpzQN1ggbptD9qOLdaKIEA+9ELbK0PdskshgumAtcMMkObsn+YmKwvY
|
||||
QXHrBiwHPiaFEcDfm67NT2bmFN0azLPBL/TL8BMWoOIGbixuXQ8xc0KG/4IbLfvBX1ghZBM5UH0A43jP
|
||||
b2gw2QkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="tabcustom.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
Loading…
Reference in a new issue