Make Door action: added missing activation properties for maps in Hexen and UDMF map formats.

Make Door action: made Make Door form a bit smaller.
Make Door action: sector highlight was not updated after performing the action when a single sector was selected.
This commit is contained in:
MaxED 2014-03-05 12:26:09 +00:00
parent 7faf6bc13e
commit f7f8c1e894
6 changed files with 170 additions and 179 deletions

View file

@ -206,7 +206,7 @@ mapformat_hexen
} }
// Door making // Door making
include("ZDoom_misc.cfg", "doormaking_hexenudmf"); include("ZDoom_misc.cfg", "doormaking_hexen");
// Generalized actions // Generalized actions
generalizedlinedefs = false; generalizedlinedefs = false;
@ -326,7 +326,7 @@ mapformat_udmf
} }
// Door making // Door making
include("ZDoom_misc.cfg", "doormaking_hexenudmf"); include("ZDoom_misc.cfg", "doormaking_udmf");
// Generalized actions // Generalized actions
generalizedlinedefs = false; generalizedlinedefs = false;

View file

@ -1630,9 +1630,22 @@ doormaking_doom
makedooraction = 1; // See linedeftypes makedooraction = 1; // See linedeftypes
} }
doormaking_hexenudmf doormaking_hexen
{ {
makedooraction = 202; // See linedeftypes makedooraction = 202; // See linedeftypes
makedooractivate = 1024;
makedoorflags { 512; }
makedoorarg0 = 0;
makedoorarg1 = 16;
makedoorarg2 = 0;
makedoorarg3 = 3;
makedoorarg4 = 0;
}
doormaking_udmf
{
makedooraction = 202; // See linedeftypes
makedoorflags { playeruse; repeatspecial; }
makedoorarg0 = 0; makedoorarg0 = 0;
makedoorarg1 = 16; makedoorarg1 = 16;
makedoorarg2 = 0; makedoorarg2 = 0;

View file

@ -244,8 +244,6 @@ namespace CodeImp.DoomBuilder.Config
// Constructor // Constructor
internal GameConfiguration(Configuration cfg) internal GameConfiguration(Configuration cfg)
{ {
object obj;
// Initialize // Initialize
this.cfg = cfg; this.cfg = cfg;
this.thingflags = new Dictionary<string, string>(StringComparer.Ordinal); this.thingflags = new Dictionary<string, string>(StringComparer.Ordinal);
@ -314,7 +312,7 @@ namespace CodeImp.DoomBuilder.Config
// Flags have special (invariant culture) conversion // Flags have special (invariant culture) conversion
// because they are allowed to be written as integers in the configs // because they are allowed to be written as integers in the configs
obj = cfg.ReadSettingObject("singlesidedflag", 0); object obj = cfg.ReadSettingObject("singlesidedflag", 0);
if(obj is int) singlesidedflag = ((int)obj).ToString(CultureInfo.InvariantCulture); else singlesidedflag = obj.ToString(); if(obj is int) singlesidedflag = ((int)obj).ToString(CultureInfo.InvariantCulture); else singlesidedflag = obj.ToString();
obj = cfg.ReadSettingObject("doublesidedflag", 0); obj = cfg.ReadSettingObject("doublesidedflag", 0);
if(obj is int) doublesidedflag = ((int)obj).ToString(CultureInfo.InvariantCulture); else doublesidedflag = obj.ToString(); if(obj is int) doublesidedflag = ((int)obj).ToString(CultureInfo.InvariantCulture); else doublesidedflag = obj.ToString();
@ -393,12 +391,9 @@ namespace CodeImp.DoomBuilder.Config
#region ================== Loading #region ================== Loading
// This loads the map lumps // This loads the map lumps
private void LoadMapLumps() private void LoadMapLumps() {
{
IDictionary dic;
// Get map lumps list // Get map lumps list
dic = cfg.ReadSetting("maplumpnames", new Hashtable()); IDictionary dic = cfg.ReadSetting("maplumpnames", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Make map lumps // Make map lumps
@ -452,11 +447,10 @@ namespace CodeImp.DoomBuilder.Config
// Things and thing categories // Things and thing categories
private void LoadThingCategories() private void LoadThingCategories()
{ {
IDictionary dic;
ThingCategory thingcat; ThingCategory thingcat;
// Get thing categories // Get thing categories
dic = cfg.ReadSetting("thingtypes", new Hashtable()); IDictionary dic = cfg.ReadSetting("thingtypes", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
if(de.Value is IDictionary) if(de.Value is IDictionary)
@ -486,10 +480,8 @@ namespace CodeImp.DoomBuilder.Config
// Linedef flags // Linedef flags
private void LoadLinedefFlags() private void LoadLinedefFlags()
{ {
IDictionary dic;
// Get linedef flags // Get linedef flags
dic = cfg.ReadSetting("linedefflags", new Hashtable()); IDictionary dic = cfg.ReadSetting("linedefflags", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
linedefflags.Add(de.Key.ToString(), de.Value.ToString()); linedefflags.Add(de.Key.ToString(), de.Value.ToString());
@ -593,10 +585,8 @@ namespace CodeImp.DoomBuilder.Config
// Linedef activates // Linedef activates
private void LoadLinedefActivations() private void LoadLinedefActivations()
{ {
IDictionary dic;
// Get linedef activations // Get linedef activations
dic = cfg.ReadSetting("linedefactivations", new Hashtable()); IDictionary dic = cfg.ReadSetting("linedefactivations", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Add to the list // Add to the list
@ -610,10 +600,8 @@ namespace CodeImp.DoomBuilder.Config
// Linedef generalized actions // Linedef generalized actions
private void LoadLinedefGeneralizedActions() private void LoadLinedefGeneralizedActions()
{ {
IDictionary dic;
// Get linedef activations // Get linedef activations
dic = cfg.ReadSetting("gen_linedeftypes", new Hashtable()); IDictionary dic = cfg.ReadSetting("gen_linedeftypes", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Check for valid structure // Check for valid structure
@ -648,12 +636,11 @@ namespace CodeImp.DoomBuilder.Config
// Sector effects // Sector effects
private void LoadSectorEffects() private void LoadSectorEffects()
{ {
IDictionary dic;
SectorEffectInfo si; SectorEffectInfo si;
int actionnumber; int actionnumber;
// Get sector effects // Get sector effects
dic = cfg.ReadSetting("sectortypes", new Hashtable()); IDictionary dic = cfg.ReadSetting("sectortypes", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Try paring the action number // Try paring the action number
@ -681,11 +668,10 @@ namespace CodeImp.DoomBuilder.Config
// Brightness levels // Brightness levels
private void LoadBrightnessLevels() private void LoadBrightnessLevels()
{ {
IDictionary dic;
int level; int level;
// Get brightness levels structure // Get brightness levels structure
dic = cfg.ReadSetting("sectorbrightness", new Hashtable()); IDictionary dic = cfg.ReadSetting("sectorbrightness", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Try paring the level // Try paring the level
@ -708,10 +694,8 @@ namespace CodeImp.DoomBuilder.Config
// Sector generalized effects // Sector generalized effects
private void LoadSectorGeneralizedEffects() private void LoadSectorGeneralizedEffects()
{ {
IDictionary dic;
// Get sector effects // Get sector effects
dic = cfg.ReadSetting("gen_sectortypes", new Hashtable()); IDictionary dic = cfg.ReadSetting("gen_sectortypes", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Check for valid structure // Check for valid structure
@ -730,10 +714,8 @@ namespace CodeImp.DoomBuilder.Config
// Thing flags // Thing flags
private void LoadThingFlags() private void LoadThingFlags()
{ {
IDictionary dic;
// Get linedef flags // Get linedef flags
dic = cfg.ReadSetting("thingflags", new Hashtable()); IDictionary dic = cfg.ReadSetting("thingflags", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
thingflags.Add(de.Key.ToString(), de.Value.ToString()); thingflags.Add(de.Key.ToString(), de.Value.ToString());
@ -759,10 +741,8 @@ namespace CodeImp.DoomBuilder.Config
// Default thing flags // Default thing flags
private void LoadDefaultThingFlags() private void LoadDefaultThingFlags()
{ {
IDictionary dic;
// Get linedef flags // Get linedef flags
dic = cfg.ReadSetting("defaultthingflags", new Hashtable()); IDictionary dic = cfg.ReadSetting("defaultthingflags", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
// Check if flag exists // Check if flag exists
@ -780,10 +760,8 @@ namespace CodeImp.DoomBuilder.Config
// Skills // Skills
private void LoadSkills() private void LoadSkills()
{ {
IDictionary dic;
// Get skills // Get skills
dic = cfg.ReadSetting("skills", new Hashtable()); IDictionary dic = cfg.ReadSetting("skills", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
int num; int num;
@ -799,12 +777,9 @@ namespace CodeImp.DoomBuilder.Config
} }
// Texture Sets // Texture Sets
private void LoadTextureSets() private void LoadTextureSets() {
{
IDictionary dic;
// Get sets // Get sets
dic = cfg.ReadSetting("texturesets", new Hashtable()); IDictionary dic = cfg.ReadSetting("texturesets", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
DefinedTextureSet s = new DefinedTextureSet(cfg, "texturesets." + de.Key); DefinedTextureSet s = new DefinedTextureSet(cfg, "texturesets." + de.Key);
@ -815,10 +790,8 @@ namespace CodeImp.DoomBuilder.Config
// Thing Filters // Thing Filters
private void LoadThingFilters() private void LoadThingFilters()
{ {
IDictionary dic;
// Get sets // Get sets
dic = cfg.ReadSetting("thingsfilters", new Hashtable()); IDictionary dic = cfg.ReadSetting("thingsfilters", new Hashtable());
foreach(DictionaryEntry de in dic) foreach(DictionaryEntry de in dic)
{ {
ThingsFilter f = new ThingsFilter(cfg, "thingsfilters." + de.Key); ThingsFilter f = new ThingsFilter(cfg, "thingsfilters." + de.Key);
@ -829,9 +802,7 @@ namespace CodeImp.DoomBuilder.Config
// Make door flags // Make door flags
private void LoadMakeDoorFlags() private void LoadMakeDoorFlags()
{ {
IDictionary dic; IDictionary dic = cfg.ReadSetting("makedoorflags", new Hashtable());
dic = cfg.ReadSetting("makedoorflags", new Hashtable());
foreach (DictionaryEntry de in dic) foreach (DictionaryEntry de in dic)
{ {
// Using minus will unset the flag // Using minus will unset the flag

View file

@ -1421,6 +1421,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
orderedselection.Clear(); orderedselection.Clear();
General.Map.Map.ClearSelectedSectors(); General.Map.Map.ClearSelectedSectors();
General.Map.Map.ClearSelectedLinedefs(); General.Map.Map.ClearSelectedLinedefs();
updateOverlaySurfaces();//mxd
} }
} }

View file

@ -43,63 +43,68 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
// //
// doortexture // doortexture
// //
this.doortexture.Location = new System.Drawing.Point(21, 34); this.doortexture.Location = new System.Drawing.Point(12, 29);
this.doortexture.MultipleTextures = false;
this.doortexture.Name = "doortexture"; this.doortexture.Name = "doortexture";
this.doortexture.Required = false; this.doortexture.Required = false;
this.doortexture.Size = new System.Drawing.Size(96, 115); this.doortexture.Size = new System.Drawing.Size(83, 105);
this.doortexture.TabIndex = 0; this.doortexture.TabIndex = 0;
this.doortexture.TextureName = ""; this.doortexture.TextureName = "";
// //
// label1 // label1
// //
this.label1.Location = new System.Drawing.Point(21, 15); this.label1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(12, 10);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(96, 21); this.label1.Size = new System.Drawing.Size(83, 21);
this.label1.TabIndex = 1; this.label1.TabIndex = 1;
this.label1.Text = "Door"; this.label1.Text = "Door";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
// //
// label2 // label2
// //
this.label2.Location = new System.Drawing.Point(247, 15); this.label2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(190, 10);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(99, 21); this.label2.Size = new System.Drawing.Size(83, 21);
this.label2.TabIndex = 2; this.label2.TabIndex = 2;
this.label2.Text = "Ceiling"; this.label2.Text = "Ceiling";
this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
// //
// ceilingtexture // ceilingtexture
// //
this.ceilingtexture.Location = new System.Drawing.Point(247, 34); this.ceilingtexture.Location = new System.Drawing.Point(190, 29);
this.ceilingtexture.MultipleTextures = false;
this.ceilingtexture.Name = "ceilingtexture"; this.ceilingtexture.Name = "ceilingtexture";
this.ceilingtexture.Size = new System.Drawing.Size(96, 115); this.ceilingtexture.Size = new System.Drawing.Size(83, 105);
this.ceilingtexture.TabIndex = 1; this.ceilingtexture.TabIndex = 1;
this.ceilingtexture.TextureName = ""; this.ceilingtexture.TextureName = "";
// //
// floortexture // floortexture
// //
this.floortexture.Location = new System.Drawing.Point(360, 34); this.floortexture.Location = new System.Drawing.Point(279, 29);
this.floortexture.MultipleTextures = false;
this.floortexture.Name = "floortexture"; this.floortexture.Name = "floortexture";
this.floortexture.Size = new System.Drawing.Size(96, 115); this.floortexture.Size = new System.Drawing.Size(83, 105);
this.floortexture.TabIndex = 2; this.floortexture.TabIndex = 2;
this.floortexture.TextureName = ""; this.floortexture.TextureName = "";
// //
// label3 // label3
// //
this.label3.Location = new System.Drawing.Point(360, 15); this.label3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(279, 10);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(99, 21); this.label3.Size = new System.Drawing.Size(83, 21);
this.label3.TabIndex = 4; this.label3.TabIndex = 4;
this.label3.Text = "Floor"; this.label3.Text = "Floor";
this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
// //
// cancel // cancel
// //
this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancel.Location = new System.Drawing.Point(243, 180); this.cancel.Location = new System.Drawing.Point(279, 140);
this.cancel.Name = "cancel"; this.cancel.Name = "cancel";
this.cancel.Size = new System.Drawing.Size(112, 25); this.cancel.Size = new System.Drawing.Size(83, 25);
this.cancel.TabIndex = 4; this.cancel.TabIndex = 4;
this.cancel.Text = "Cancel"; this.cancel.Text = "Cancel";
this.cancel.UseVisualStyleBackColor = true; this.cancel.UseVisualStyleBackColor = true;
@ -107,10 +112,9 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
// //
// apply // apply
// //
this.apply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.apply.Location = new System.Drawing.Point(190, 140);
this.apply.Location = new System.Drawing.Point(125, 180);
this.apply.Name = "apply"; this.apply.Name = "apply";
this.apply.Size = new System.Drawing.Size(112, 25); this.apply.Size = new System.Drawing.Size(83, 25);
this.apply.TabIndex = 3; this.apply.TabIndex = 3;
this.apply.Text = "OK"; this.apply.Text = "OK";
this.apply.UseVisualStyleBackColor = true; this.apply.UseVisualStyleBackColor = true;
@ -121,7 +125,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
this.resetoffsets.AutoSize = true; this.resetoffsets.AutoSize = true;
this.resetoffsets.Checked = true; this.resetoffsets.Checked = true;
this.resetoffsets.CheckState = System.Windows.Forms.CheckState.Checked; this.resetoffsets.CheckState = System.Windows.Forms.CheckState.Checked;
this.resetoffsets.Location = new System.Drawing.Point(21, 156); this.resetoffsets.Location = new System.Drawing.Point(12, 140);
this.resetoffsets.Name = "resetoffsets"; this.resetoffsets.Name = "resetoffsets";
this.resetoffsets.Size = new System.Drawing.Size(129, 18); this.resetoffsets.Size = new System.Drawing.Size(129, 18);
this.resetoffsets.TabIndex = 5; this.resetoffsets.TabIndex = 5;
@ -130,18 +134,20 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
// //
// tracktexture // tracktexture
// //
this.tracktexture.Location = new System.Drawing.Point(134, 34); this.tracktexture.Location = new System.Drawing.Point(101, 29);
this.tracktexture.MultipleTextures = false;
this.tracktexture.Name = "tracktexture"; this.tracktexture.Name = "tracktexture";
this.tracktexture.Required = false; this.tracktexture.Required = false;
this.tracktexture.Size = new System.Drawing.Size(96, 115); this.tracktexture.Size = new System.Drawing.Size(83, 105);
this.tracktexture.TabIndex = 6; this.tracktexture.TabIndex = 6;
this.tracktexture.TextureName = ""; this.tracktexture.TextureName = "";
// //
// label4 // label4
// //
this.label4.Location = new System.Drawing.Point(134, 15); this.label4.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(101, 10);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(96, 21); this.label4.Size = new System.Drawing.Size(83, 21);
this.label4.TabIndex = 7; this.label4.TabIndex = 7;
this.label4.Text = "Track"; this.label4.Text = "Track";
this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
@ -152,7 +158,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.CancelButton = this.cancel; this.CancelButton = this.cancel;
this.ClientSize = new System.Drawing.Size(481, 219); this.ClientSize = new System.Drawing.Size(372, 170);
this.Controls.Add(this.tracktexture); this.Controls.Add(this.tracktexture);
this.Controls.Add(this.label4); this.Controls.Add(this.label4);
this.Controls.Add(this.resetoffsets); this.Controls.Add(this.resetoffsets);
@ -165,7 +171,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
this.Controls.Add(this.doortexture); this.Controls.Add(this.doortexture);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "MakeDoorForm"; this.Name = "MakeDoorForm";

View file

@ -1,120 +1,120 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, 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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value> <value>[base64 mime encoded serialized .NET Framework object]</value>
</data> </data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <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> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : 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: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:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true"> <xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType> <xsd:complexType>
<xsd:choice maxOccurs="unbounded"> <xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata"> <xsd:element name="metadata">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" /> <xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" /> <xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="assembly"> <xsd:element name="assembly">
<xsd:complexType> <xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="data"> <xsd:element name="data">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <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:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <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="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" /> <xsd:attribute ref="xml:space" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
<xsd:element name="resheader"> <xsd:element name="resheader">
<xsd:complexType> <xsd:complexType>
<xsd:sequence> <xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence> </xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" /> <xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
</xsd:choice> </xsd:choice>
</xsd:complexType> </xsd:complexType>
</xsd:element> </xsd:element>
</xsd:schema> </xsd:schema>
<resheader name="resmimetype"> <resheader name="resmimetype">
<value>text/microsoft-resx</value> <value>text/microsoft-resx</value>
</resheader> </resheader>
<resheader name="version"> <resheader name="version">
<value>2.0</value> <value>2.0</value>
</resheader> </resheader>
<resheader name="reader"> <resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
</root> </root>