MLO editing progress

This commit is contained in:
dexy 2019-12-28 04:08:45 +11:00
parent 906602eb13
commit 88a926202f
15 changed files with 1682 additions and 132 deletions

View File

@ -306,7 +306,7 @@ namespace CodeWalker.GameFiles
entities = new MCEntityDef[centities.Length];
for (int i = 0; i < centities.Length; i++)
{
entities[i] = new MCEntityDef(meta, ref centities[i]) { Archetype = this };
entities[i] = new MCEntityDef(meta, ref centities[i]) { OwnerMlo = this, Index = i };
}
}
@ -316,7 +316,7 @@ namespace CodeWalker.GameFiles
rooms = new MCMloRoomDef[crooms.Length];
for (int i = 0; i < crooms.Length; i++)
{
rooms[i] = new MCMloRoomDef(meta, crooms[i]) { Archetype = this, Index = i };
rooms[i] = new MCMloRoomDef(meta, crooms[i]) { OwnerMlo = this, Index = i };
}
}
@ -326,7 +326,7 @@ namespace CodeWalker.GameFiles
portals = new MCMloPortalDef[cportals.Length];
for (int i = 0; i < cportals.Length; i++)
{
portals[i] = new MCMloPortalDef(meta, cportals[i]);
portals[i] = new MCMloPortalDef(meta, cportals[i]) { OwnerMlo = this, Index = i };
}
}
@ -336,7 +336,7 @@ namespace CodeWalker.GameFiles
entitySets = new MCMloEntitySet[centitySets.Length];
for (int i = 0; i < centitySets.Length; i++)
{
entitySets[i] = new MCMloEntitySet(meta, centitySets[i]);
entitySets[i] = new MCMloEntitySet(meta, centitySets[i], this) { OwnerMlo = this, Index = i };
}
}
@ -345,38 +345,91 @@ namespace CodeWalker.GameFiles
}
public MCMloRoomDef GetEntityRoom(MCEntityDef ent)
public int GetEntityObjectIndex(MCEntityDef ent)
{
int objectIndex = -1;
if (entities == null) return -1;
for (int i = 0; i < entities.Length; i++)
{
MCEntityDef e = entities[i];
var e = entities[i];
if (e == ent)
{
objectIndex = i;
break;
return i;
}
}
if (objectIndex == -1) return null;
return -1;
}
public MCMloRoomDef GetEntityRoom(MCEntityDef ent)
{
if (rooms == null) return null;
int objectIndex = GetEntityObjectIndex(ent);
if (objectIndex < 0) return null;
MCMloRoomDef room = null;
for (int i = 0; i < rooms.Length; i++)
{
MCMloRoomDef r = rooms[i];
for (int j = 0; j < r.AttachedObjects.Length; j++)
var r = rooms[i];
if (r.AttachedObjects != null)
{
uint ind = r.AttachedObjects[j];
if (ind == objectIndex)
for (int j = 0; j < r.AttachedObjects.Length; j++)
{
room = r;
break;
var ind = r.AttachedObjects[j];
if (ind == objectIndex)
{
return r;
}
}
}
if (room != null) break;
}
return room;
return null;
}
public MCMloPortalDef GetEntityPortal(MCEntityDef ent)
{
if (portals == null) return null;
int objectIndex = GetEntityObjectIndex(ent);
if (objectIndex < 0) return null;
for (int i = 0; i < portals.Length; i++)
{
var p = portals[i];
if (p.AttachedObjects != null)
{
for (int j = 0; j < p.AttachedObjects.Length; j++)
{
var ind = p.AttachedObjects[j];
if (ind == objectIndex)
{
return p;
}
}
}
}
return null;
}
public MCMloEntitySet GetEntitySet(MCEntityDef ent)
{
if (entitySets == null) return null;
for (int i = 0; i < entitySets.Length; i++)
{
var set = entitySets[i];
if (set.Entities != null)
{
for (int j = 0; j < set.Entities.Length; j++)
{
if (set.Entities[j] == ent)
{
return set;
}
}
}
}
return null;
}
}
[TypeConverter(typeof(ExpandableObjectConverter))]
@ -548,11 +601,16 @@ namespace CodeWalker.GameFiles
public bool DeleteEntity(YmapEntityDef ent)
{
if (ent.MloEntitySet != null)
{
return ent.MloEntitySet.DeleteEntity(ent);
}
if (Entities == null)
{
throw new NullReferenceException("The Entities list returned null in our MloInstanceData. This could be an issue with initialization. The MloInstance probably doesn't exist.");
}
if (ent.Index >= Entities.Length)
{
throw new ArgumentOutOfRangeException("The index of the entity was greater than the amount of entities that exist in this MloInstance. Likely an issue with initializion.");
@ -574,22 +632,21 @@ namespace CodeWalker.GameFiles
newentities[index].Index = index;
index++;
}
if (!del)
throw new ArgumentException("The entity specified was not found in this MloInstance. It cannot be deleted.");
if (Owner.Archetype is MloArchetype arch)
if (del)
{
if (arch.RemoveEntity(ent))
if (Owner.Archetype is MloArchetype arch)
{
if (ent.MloEntitySet != null)
if (!ent.MloEntitySet.Entities.Remove(ent))
return false;
// Delete was successful...
Entities = newentities;
return true;
if (arch.RemoveEntity(ent))
{
// Delete was successful...
Entities = newentities;
return true;
}
else throw new ArgumentException("The entity could not be removed from the MloArchetype! This shouldn't happen...");
}
else throw new InvalidCastException("The owner of this archetype's archetype definition is not an MloArchetype. (wtf?)");
}
throw new InvalidCastException("The owner of this archetype's archetype definition is not an MloArchetype.");
else throw new ArgumentException("The entity specified was not found in this MloInstance. It cannot be deleted.");
}
public YmapEntityDef CreateYmapEntity(YmapEntityDef owner, MCEntityDef ment, int index)
@ -612,10 +669,26 @@ namespace CodeWalker.GameFiles
if (ymapEntity == null) return null;
if (Owner?.Archetype == null) return null;
if (!(Owner.Archetype is MloArchetype mloa)) return null;
if (ymapEntity.Index >= mloa.entities.Length) return null;
var entity = mloa.entities[ymapEntity.Index];
return entity;
if (ymapEntity.Index < mloa.entities.Length)
{
return mloa.entities[ymapEntity.Index];
}
else
{
var idx = ymapEntity.Index - mloa.entities.Length;
if (mloa.entitySets == null) return null;
for (int i = 0; i < mloa.entitySets.Length; i++)
{
var set = mloa.entitySets[i];
if (set?.Entities == null) continue;
if (idx < set.Entities.Length)
{
return set.Entities[idx];
}
idx -= set.Entities.Length;
}
return null;
}
}
public YmapEntityDef TryGetYmapEntity(MCEntityDef mcEntity)
@ -625,8 +698,26 @@ namespace CodeWalker.GameFiles
if (!(Owner.Archetype is MloArchetype mloa)) return null;
var index = Array.FindIndex(mloa.entities, x => x == mcEntity);
if (index == -1 || index >= Entities.Length) return null;
return Entities[index];
if ((index >= 0) && (index < Entities.Length))
{
return Entities[index];
}
foreach (var entset in EntitySets.Values)
{
var ents = entset.Entities;
var set = entset.EntitySet;
var setents = set?.Entities;
if ((ents == null) || (setents == null)) continue;
var idx = Array.FindIndex(setents, x => x == mcEntity);
if ((idx >= 0) && (idx < ents.Count))
{
return ents[idx];
}
}
return null;
}
public void SetPosition(Vector3 pos)
@ -720,6 +811,46 @@ namespace CodeWalker.GameFiles
}
public bool Visible { get; set; }
public bool VisibleOrForced
{
get
{
if (Visible) return true;
if (EntitySet == null) return false;
return EntitySet.ForceVisible;
}
}
public bool DeleteEntity(YmapEntityDef ent)
{
var locs = Locations;
if ((Entities == null) || (locs == null)) return false;
var idx = Entities.IndexOf(ent);
if ((idx < 0) || (idx >= locs.Length)) return false;
var newlocs = new uint[locs.Length-1];
var j = 0;
for (int i = 0; i < locs.Length; i++)
{
if (i == idx) continue;
newlocs[j] = locs[i];
j++;
}
Locations = newlocs;
var i0 = (Entities.Count > 0) ? Entities[0].Index : 0;
Entities.RemoveAt(idx);
for (int i = 0; i < Entities.Count; i++)
{
Entities[i].Index = i0 + i;
}
return true;
}
}

View File

@ -2467,7 +2467,7 @@ namespace CodeWalker.GameFiles
public Vector3 BBMin_CW { get; set; }
public Vector3 BBMax_CW { get; set; }
public MloArchetype Archetype { get; set; }
public MloArchetype OwnerMlo { get; set; } // for browsing/reference purposes
public int Index { get; set; }
public MCMloRoomDef() { }
@ -2558,6 +2558,9 @@ namespace CodeWalker.GameFiles
}
}
public MloArchetype OwnerMlo { get; set; } // for browsing/reference purposes
public int Index { get; set; }
public MCMloPortalDef() { }
public MCMloPortalDef(Meta meta, CMloPortalDef data)
{
@ -2627,10 +2630,16 @@ namespace CodeWalker.GameFiles
public uint[] Locations { get; set; }
public MCEntityDef[] Entities { get; set; }
public MloArchetype OwnerMlo { get; set; } // for browsing/reference purposes
public int Index { get; set; }
public bool ForceVisible { get; set; } = false; //forces this entity set visible from the project window, for rendering purpose
public MCMloEntitySet() { }
public MCMloEntitySet(Meta meta, CMloEntitySet data)
public MCMloEntitySet(Meta meta, CMloEntitySet data, MloArchetype owner)
{
_Data = data;
OwnerMlo = owner;
Load(meta);
}
@ -2650,7 +2659,7 @@ namespace CodeWalker.GameFiles
Entities = new MCEntityDef[ents.Length];
for (int i = 0; i < ents.Length; i++)
{
Entities[i] = new MCEntityDef(meta, ref ents[i]);
Entities[i] = new MCEntityDef(meta, ref ents[i]) { OwnerMlo = OwnerMlo };
}
}
}
@ -2794,7 +2803,8 @@ namespace CodeWalker.GameFiles
public MetaWrapper[] Extensions { get; set; }
public MloArchetype Archetype { get; set; } // for browsing/reference purposes
public MloArchetype OwnerMlo { get; set; } // for browsing/reference purposes
public int Index { get; set; }
public MCEntityDef(MCEntityDef copy)
{
@ -2808,7 +2818,7 @@ namespace CodeWalker.GameFiles
public MCEntityDef(ref CEntityDef d, MloArchetype arch)
{
_Data = d;
Archetype = arch;
OwnerMlo = arch;
}
public override void Load(Meta meta, MetaPOINTER ptr)

View File

@ -140,6 +140,18 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Project\Panels\EditYtypArchetypeMloEntSetPanel.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Project\Panels\EditYtypArchetypeMloEntSetPanel.Designer.cs">
<DependentUpon>EditYtypArchetypeMloEntSetPanel.cs</DependentUpon>
</Compile>
<Compile Include="Project\Panels\EditYtypArchetypeMloPortalPanel.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Project\Panels\EditYtypArchetypeMloPortalPanel.Designer.cs">
<DependentUpon>EditYtypArchetypeMloPortalPanel.cs</DependentUpon>
</Compile>
<Compile Include="Rendering\Shaders\DeferredScene.cs" />
<Compile Include="Rendering\Utils\UnitCone.cs" />
<Compile Include="Tools\AboutForm.cs">
@ -609,6 +621,12 @@
<DependentUpon>WorldForm.cs</DependentUpon>
</Compile>
<Compile Include="World\Widget.cs" />
<EmbeddedResource Include="Project\Panels\EditYtypArchetypeMloEntSetPanel.resx">
<DependentUpon>EditYtypArchetypeMloEntSetPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Project\Panels\EditYtypArchetypeMloPortalPanel.resx">
<DependentUpon>EditYtypArchetypeMloPortalPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tools\AboutForm.resx">
<DependentUpon>AboutForm.cs</DependentUpon>
</EmbeddedResource>

View File

@ -0,0 +1,184 @@
namespace CodeWalker.Project.Panels
{
partial class EditYtypArchetypeMloEntSetPanel
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditYtypArchetypeMloEntSetPanel));
this.EntitySetNameTextBox = new CodeWalker.WinForms.TextBoxFix();
this.label3 = new System.Windows.Forms.Label();
this.ForceVisibleCheckBox = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label();
this.LocationsListBox = new System.Windows.Forms.ListBox();
this.SelectedLocationGroupBox = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.SelectedLocationEntityLabel = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.SelectedLocationRoomCombo = new System.Windows.Forms.ComboBox();
this.SelectedLocationGroupBox.SuspendLayout();
this.SuspendLayout();
//
// EntitySetNameTextBox
//
this.EntitySetNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.EntitySetNameTextBox.Location = new System.Drawing.Point(72, 40);
this.EntitySetNameTextBox.Name = "EntitySetNameTextBox";
this.EntitySetNameTextBox.Size = new System.Drawing.Size(269, 20);
this.EntitySetNameTextBox.TabIndex = 7;
this.EntitySetNameTextBox.TextChanged += new System.EventHandler(this.EntitySetNameTextBox_TextChanged);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(19, 43);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 13);
this.label3.TabIndex = 6;
this.label3.Text = "Name: ";
//
// ForceVisibleCheckBox
//
this.ForceVisibleCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ForceVisibleCheckBox.AutoSize = true;
this.ForceVisibleCheckBox.Location = new System.Drawing.Point(403, 42);
this.ForceVisibleCheckBox.Name = "ForceVisibleCheckBox";
this.ForceVisibleCheckBox.Size = new System.Drawing.Size(125, 17);
this.ForceVisibleCheckBox.TabIndex = 8;
this.ForceVisibleCheckBox.Text = "Force visible in editor";
this.ForceVisibleCheckBox.UseVisualStyleBackColor = true;
this.ForceVisibleCheckBox.CheckedChanged += new System.EventHandler(this.ForceVisibleCheckBox_CheckedChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 76);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 13);
this.label1.TabIndex = 9;
this.label1.Text = "Locations:";
//
// LocationsListBox
//
this.LocationsListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.LocationsListBox.FormattingEnabled = true;
this.LocationsListBox.Location = new System.Drawing.Point(72, 75);
this.LocationsListBox.Name = "LocationsListBox";
this.LocationsListBox.Size = new System.Drawing.Size(200, 342);
this.LocationsListBox.TabIndex = 10;
this.LocationsListBox.SelectedIndexChanged += new System.EventHandler(this.LocationsListBox_SelectedIndexChanged);
//
// SelectedLocationGroupBox
//
this.SelectedLocationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.SelectedLocationGroupBox.Controls.Add(this.SelectedLocationRoomCombo);
this.SelectedLocationGroupBox.Controls.Add(this.label4);
this.SelectedLocationGroupBox.Controls.Add(this.SelectedLocationEntityLabel);
this.SelectedLocationGroupBox.Controls.Add(this.label2);
this.SelectedLocationGroupBox.Location = new System.Drawing.Point(278, 76);
this.SelectedLocationGroupBox.Name = "SelectedLocationGroupBox";
this.SelectedLocationGroupBox.Size = new System.Drawing.Size(275, 83);
this.SelectedLocationGroupBox.TabIndex = 11;
this.SelectedLocationGroupBox.TabStop = false;
this.SelectedLocationGroupBox.Text = "Selected Location";
this.SelectedLocationGroupBox.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(36, 13);
this.label2.TabIndex = 10;
this.label2.Text = "Entity:";
//
// SelectedLocationEntityLabel
//
this.SelectedLocationEntityLabel.AutoSize = true;
this.SelectedLocationEntityLabel.Location = new System.Drawing.Point(48, 25);
this.SelectedLocationEntityLabel.Name = "SelectedLocationEntityLabel";
this.SelectedLocationEntityLabel.Size = new System.Drawing.Size(10, 13);
this.SelectedLocationEntityLabel.TabIndex = 11;
this.SelectedLocationEntityLabel.Text = "-";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(6, 48);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(38, 13);
this.label4.TabIndex = 12;
this.label4.Text = "Room:";
//
// SelectedLocationRoomCombo
//
this.SelectedLocationRoomCombo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.SelectedLocationRoomCombo.FormattingEnabled = true;
this.SelectedLocationRoomCombo.Location = new System.Drawing.Point(51, 45);
this.SelectedLocationRoomCombo.Name = "SelectedLocationRoomCombo";
this.SelectedLocationRoomCombo.Size = new System.Drawing.Size(199, 21);
this.SelectedLocationRoomCombo.TabIndex = 13;
this.SelectedLocationRoomCombo.SelectedIndexChanged += new System.EventHandler(this.SelectedLocationRoomCombo_SelectedIndexChanged);
//
// EditYtypArchetypeMloEntSetPanel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(565, 505);
this.Controls.Add(this.SelectedLocationGroupBox);
this.Controls.Add(this.LocationsListBox);
this.Controls.Add(this.label1);
this.Controls.Add(this.ForceVisibleCheckBox);
this.Controls.Add(this.EntitySetNameTextBox);
this.Controls.Add(this.label3);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "EditYtypArchetypeMloEntSetPanel";
this.Text = "Entity Set";
this.SelectedLocationGroupBox.ResumeLayout(false);
this.SelectedLocationGroupBox.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private WinForms.TextBoxFix EntitySetNameTextBox;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox ForceVisibleCheckBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListBox LocationsListBox;
private System.Windows.Forms.GroupBox SelectedLocationGroupBox;
private System.Windows.Forms.Label SelectedLocationEntityLabel;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox SelectedLocationRoomCombo;
private System.Windows.Forms.Label label4;
}
}

View File

@ -0,0 +1,176 @@
using CodeWalker.GameFiles;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CodeWalker.Project.Panels
{
public partial class EditYtypArchetypeMloEntSetPanel : ProjectPanel
{
public ProjectForm ProjectForm;
public MCMloEntitySet CurrentEntitySet { get; set; }
private bool SelectingLocation = false;
public EditYtypArchetypeMloEntSetPanel(ProjectForm owner)
{
ProjectForm = owner;
InitializeComponent();
}
public void SetEntitySet(MCMloEntitySet entset)
{
CurrentEntitySet = entset;
Tag = entset;
UpdateFormTitle();
MloInstanceData instance = ProjectForm.TryGetMloInstance(entset?.OwnerMlo);
//ProjectForm.WorldForm?.SelectMloEntitySet(entset, instance);
UpdateControls();
}
private void UpdateControls()
{
if (CurrentEntitySet != null)
{
EntitySetNameTextBox.Text = CurrentEntitySet.Name;
ForceVisibleCheckBox.Checked = CurrentEntitySet.ForceVisible;
SelectedLocationGroupBox.Visible = false;
UpdateSelectedLocationRoomCombo();
}
UpdateLocationsListBox();
}
private void UpdateLocationsListBox()
{
LocationsListBox.Items.Clear();
if (CurrentEntitySet.Locations != null)
{
for (int i = 0; i < CurrentEntitySet.Locations.Length; i++)
{
var loc = CurrentEntitySet.Locations[i];
var ent = ((CurrentEntitySet.Entities != null) && (i < CurrentEntitySet.Entities.Length)) ? CurrentEntitySet.Entities[i] : null;
var item = new LocationItem() { Location = loc, Entity = ent, Index = i };
LocationsListBox.Items.Add(item);
}
}
}
private void UpdateSelectedLocationRoomCombo()
{
SelectedLocationRoomCombo.Items.Clear();
if (CurrentEntitySet.OwnerMlo?.rooms != null)
{
foreach (var room in CurrentEntitySet.OwnerMlo.rooms)
{
SelectedLocationRoomCombo.Items.Add(room);
}
}
}
private void UpdateFormTitle()
{
Text = CurrentEntitySet?.Name ?? "Entity Set";
}
private void EntitySetNameTextBox_TextChanged(object sender, EventArgs e)
{
if (CurrentEntitySet == null) return;
var str = EntitySetNameTextBox.Text;
if (CurrentEntitySet.Name != str)
{
uint h = 0;
if (uint.TryParse(str, out h))
{
CurrentEntitySet._Data.name = h;
}
else
{
JenkIndex.Ensure(str);
CurrentEntitySet._Data.name = JenkHash.GenHash(str);
}
TreeNode tn = ProjectForm.ProjectExplorer?.FindMloEntitySetTreeNode(CurrentEntitySet);
if (tn != null)
{
tn.Text = CurrentEntitySet.Name;
}
UpdateFormTitle();
ProjectForm.SetYtypHasChanged(true);
}
}
private void ForceVisibleCheckBox_CheckedChanged(object sender, EventArgs e)
{
if (CurrentEntitySet == null) return;
CurrentEntitySet.ForceVisible = ForceVisibleCheckBox.Checked;
}
private void LocationsListBox_SelectedIndexChanged(object sender, EventArgs e)
{
SelectedLocationGroupBox.Visible = false;
if (CurrentEntitySet == null) return;
var item = LocationsListBox.SelectedItem as LocationItem;
if (item == null) return;
SelectingLocation = true;
SelectedLocationEntityLabel.Text = (item.Entity != null) ? item.Entity.Name : "-";
SelectedLocationRoomCombo.SelectedIndex = (item.Location < SelectedLocationRoomCombo.Items.Count) ? (int)item.Location : 0;
SelectingLocation = false;
SelectedLocationGroupBox.Visible = true;
}
private void SelectedLocationRoomCombo_SelectedIndexChanged(object sender, EventArgs e)
{
if (SelectingLocation) return;
if (CurrentEntitySet?.Locations == null) return;
var item = LocationsListBox.SelectedItem as LocationItem;
if (item == null) return;
item.Location = (SelectedLocationRoomCombo.SelectedIndex >= 0) ? (uint)SelectedLocationRoomCombo.SelectedIndex : 0;
var ind = item.Index;
if (ind < CurrentEntitySet.Locations.Length)
{
CurrentEntitySet.Locations[ind] = item.Location;
ProjectForm.SetYtypHasChanged(true);
if ((ind >= 0) && (ind < LocationsListBox.Items.Count))
{
LocationsListBox.Items[ind] = LocationsListBox.Items[ind];//refresh the item text...
}
}
}
class LocationItem
{
public uint Location { get; set; }
public MCEntityDef Entity { get; set; }
public int Index { get; set; }
public override string ToString()
{
if (Entity == null) return Location.ToString();
return Location.ToString() + ": " + Entity.ToString();
}
}
}
}

View File

@ -0,0 +1,409 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAMAICAAAAAAGACoDAAANgAAABAQAAAAABgAaAMAAN4MAABAQAAAAAAYACgyAABGEAAAKAAAACAA
AABAAAAAAQAYAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///+vv/fL1/v///wAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///4+Vx7/F5v///wAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAP///4CHtrS62////////////////////wAAAAAAAAAAAP////H0/vf6/v//
/////////4yTwrrB4f///+zw+7rA6P39/////wAAAAAAAAAAAP///56l2BkcguXr/P///////42Uw8jO
6P///ysvjWVqtP///////wAAAAAAAAAAAP////D0/0hPpsDG6////////6y02d7k8////3qAx+/z/f//
/wAAAAAAAAAAAAAAAAAAAP///////////////8zT8V5ns1Rcrdzh9f///////////wAAAAAAAAAAAAAA
AAAAAP////////7+/6ix3nmBxFthtmdwu09WqbC54/v9//r8//j6//39/wAAAAAAAAAAAOjt/H6I0FJc
skpSqHF+wRMahFZhs4iT1AsNc1pgrm52v2RsuO/z/gAAAP////////L2/cLJ7rrD64+V4DY+ozU+mYmU
0X2Hy1hfss7V8urv/PP2/v///wAAAP///+Pp+d/k9////////+Pp/4uR3ysymW14xYOM0fD0/P///+Xq
+ri/6Pj6/wAAAOrv/j5DnbS75P////////////X4/+/0/ubr+/r7/////////9rh+hgZhKGo2QAAAPDz
/eLn+f////j6/2Nqttrg9////+Hn+P3+//3+/1hescLJ6/////L2/eru/AAAAAAAAAAAAP///8rR70tR
p/3+//v8/zY6jNPY7////09WqWpwu////wAAAAAAAAAAAAAAAAAAAAAAAPb4/vr7//////v8/5Wd1eHm
+P////v8//T3/wAAAAAAAAAAAAAAAP//AAD8PwAA/D8AAPwDAACAAwAAgAMAAIAHAADABwAAwAEAAMAB
AAAAAQAAAAEAAAABAAAAAQAAwAcAAOAPAAAoAAAAQAAAAIAAAAABABgAAAAAAAAwAAAAAAAAAAAAAAAA
AAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7//P3/+fv/+fv/+vv/+Pr/+vv/
/P3//v7/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7//f7/
/f3//P3//f7//v7//v//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////
///////4D/////////AH////////8Af////////wB/////////AH////////8Af////////wB///////
//AH////////8Af////////wB/////////AH////////8AfwP//////wB8Af//+Af/AHgB///wA/8AcA
H///AB/wBgAf//8AD/AGAB///wAH8AYAH///AAPwBAAf//8AA/AEAD///wAD8AQAP///AAPwBAB///+A
A/AEAP///8AD4AAA////4AcAAAH////wDgAAAf/////8AAAH//////gAAAf/////4AAAAf/////gAAAA
/f//+AAAAAAAD//AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+A
AAAAAAAP/4AAAAAAAB//wAAAAABAf/4HwAAAAYAf8APAAAADgA/gA+AAAAMAA8AD8AAABwADgAP8AAAf
AAOAA/4AAB8AA4ADAAAAAQADgAIAcA4AgAOABgBwDgBAA4AMAGAMADADwDwAYAwAOAfg+ABgBAAeH//4
AEAEAB////gAwAYAH///+ADABgAf///4AcAGAB////gBwAcAH///+APAB4A////8B+AHwH//////4A//
///////gD/////////Af//////////////8=
</value>
</data>
</root>

View File

@ -0,0 +1,48 @@
namespace CodeWalker.Project.Panels
{
partial class EditYtypArchetypeMloPortalPanel
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditYtypArchetypeMloPortalPanel));
this.SuspendLayout();
//
// EditYtypArchetypeMloPortalPanel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(565, 505);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "EditYtypArchetypeMloPortalPanel";
this.Text = "Portal";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,49 @@
using CodeWalker.GameFiles;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CodeWalker.Project.Panels
{
public partial class EditYtypArchetypeMloPortalPanel : ProjectPanel
{
public ProjectForm ProjectForm;
public MCMloPortalDef CurrentPortal { get; set; }
public EditYtypArchetypeMloPortalPanel(ProjectForm owner)
{
ProjectForm = owner;
InitializeComponent();
}
public void SetPortal(MCMloPortalDef portal)
{
CurrentPortal = portal;
Tag = portal;
UpdateFormTitle();
MloInstanceData instance = ProjectForm.TryGetMloInstance(portal?.OwnerMlo);
//ProjectForm.WorldForm?.SelectMloPortal(portal, instance);
UpdateControls();
}
private void UpdateControls()
{
if (CurrentPortal != null)
{
//PortalNameTextBox.Text = CurrentPortal.Name;
}
}
private void UpdateFormTitle()
{
Text = "Portal " + (CurrentPortal?.Name ?? "");
}
}
}

View File

@ -0,0 +1,409 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAMAICAAAAAAGACoDAAANgAAABAQAAAAABgAaAMAAN4MAABAQAAAAAAYACgyAABGEAAAKAAAACAA
AABAAAAAAQAYAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPv8/u3v+Pn6//7+/wAAAA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rB4f///+zw+7rA6P39/////wAAAAAAAAAAAP///56l2BkcguXr/P///////42Uw8jO
6P///ysvjWVqtP///////wAAAAAAAAAAAP////D0/0hPpsDG6////////6y02d7k8////3qAx+/z/f//
/wAAAAAAAAAAAAAAAAAAAP///////////////8zT8V5ns1Rcrdzh9f///////////wAAAAAAAAAAAAAA
AAAAAP////////7+/6ix3nmBxFthtmdwu09WqbC54/v9//r8//j6//39/wAAAAAAAAAAAOjt/H6I0FJc
skpSqHF+wRMahFZhs4iT1AsNc1pgrm52v2RsuO/z/gAAAP////////L2/cLJ7rrD64+V4DY+ozU+mYmU
0X2Hy1hfss7V8urv/PP2/v///wAAAP///+Pp+d/k9////////+Pp/4uR3ysymW14xYOM0fD0/P///+Xq
+ri/6Pj6/wAAAOrv/j5DnbS75P////////////X4/+/0/ubr+/r7/////////9rh+hgZhKGo2QAAAPDz
/eLn+f////j6/2Nqttrg9////+Hn+P3+//3+/1hescLJ6/////L2/eru/AAAAAAAAAAAAP///8rR70tR
p/3+//v8/zY6jNPY7////09WqWpwu////wAAAAAAAAAAAAAAAAAAAAAAAPb4/vr7//////v8/5Wd1eHm
+P////v8//T3/wAAAAAAAAAAAAAAAP//AAD8PwAA/D8AAPwDAACAAwAAgAMAAIAHAADABwAAwAEAAMAB
AAAAAQAAAAEAAAABAAAAAQAAwAcAAOAPAAAoAAAAQAAAAIAAAAABABgAAAAAAAAwAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v7//f7/
/f3//P3//f7//v7//v//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////
///////4D/////////AH////////8Af////////wB/////////AH////////8Af////////wB///////
//AH////////8Af////////wB/////////AH////////8AfwP//////wB8Af//+Af/AHgB///wA/8AcA
H///AB/wBgAf//8AD/AGAB///wAH8AYAH///AAPwBAAf//8AA/AEAD///wAD8AQAP///AAPwBAB///+A
A/AEAP///8AD4AAA////4AcAAAH////wDgAAAf/////8AAAH//////gAAAf/////4AAAAf/////gAAAA
/f//+AAAAAAAD//AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+AAAAAAAAH/4AAAAAAAAf/gAAAAAAAB/+A
AAAAAAAP/4AAAAAAAB//wAAAAABAf/4HwAAAAYAf8APAAAADgA/gA+AAAAMAA8AD8AAABwADgAP8AAAf
AAOAA/4AAB8AA4ADAAAAAQADgAIAcA4AgAOABgBwDgBAA4AMAGAMADADwDwAYAwAOAfg+ABgBAAeH//4
AEAEAB////gAwAYAH///+ADABgAf///4AcAGAB////gBwAcAH///+APAB4A////8B+AHwH//////4A//
///////gD/////////Af//////////////8=
</value>
</data>
</root>

View File

@ -21,7 +21,7 @@ namespace CodeWalker.Project.Panels
CurrentRoom = room;
Tag = room;
UpdateFormTitle();
MloInstanceData instance = ProjectForm.TryGetMloInstance(room?.Archetype);
MloInstanceData instance = ProjectForm.TryGetMloInstance(room?.OwnerMlo);
ProjectForm.WorldForm?.SelectMloRoom(room, instance);
UpdateControls();
}

View File

@ -121,7 +121,7 @@
// ArchetypeDeleteButton
//
this.ArchetypeDeleteButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.ArchetypeDeleteButton.Location = new System.Drawing.Point(270, 450);
this.ArchetypeDeleteButton.Location = new System.Drawing.Point(270, 440);
this.ArchetypeDeleteButton.Name = "ArchetypeDeleteButton";
this.ArchetypeDeleteButton.Size = new System.Drawing.Size(126, 23);
this.ArchetypeDeleteButton.TabIndex = 79;
@ -134,7 +134,7 @@
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(8, 411);
this.label13.Location = new System.Drawing.Point(8, 405);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(57, 13);
this.label13.TabIndex = 78;
@ -144,7 +144,7 @@
//
this.BSRadiusTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.BSRadiusTextBox.Location = new System.Drawing.Point(71, 408);
this.BSRadiusTextBox.Location = new System.Drawing.Point(71, 402);
this.BSRadiusTextBox.Name = "BSRadiusTextBox";
this.BSRadiusTextBox.Size = new System.Drawing.Size(552, 20);
this.BSRadiusTextBox.TabIndex = 77;
@ -154,7 +154,7 @@
//
this.BSCenterTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.BSCenterTextBox.Location = new System.Drawing.Point(71, 382);
this.BSCenterTextBox.Location = new System.Drawing.Point(71, 376);
this.BSCenterTextBox.Name = "BSCenterTextBox";
this.BSCenterTextBox.Size = new System.Drawing.Size(552, 20);
this.BSCenterTextBox.TabIndex = 75;
@ -164,7 +164,7 @@
//
this.BBMaxTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.BBMaxTextBox.Location = new System.Drawing.Point(71, 356);
this.BBMaxTextBox.Location = new System.Drawing.Point(71, 350);
this.BBMaxTextBox.Name = "BBMaxTextBox";
this.BBMaxTextBox.Size = new System.Drawing.Size(552, 20);
this.BBMaxTextBox.TabIndex = 73;
@ -174,7 +174,7 @@
//
this.BBMinTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.BBMinTextBox.Location = new System.Drawing.Point(71, 330);
this.BBMinTextBox.Location = new System.Drawing.Point(71, 324);
this.BBMinTextBox.Name = "BBMinTextBox";
this.BBMinTextBox.Size = new System.Drawing.Size(552, 20);
this.BBMinTextBox.TabIndex = 71;
@ -249,7 +249,7 @@
this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(8, 385);
this.label12.Location = new System.Drawing.Point(8, 379);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(55, 13);
this.label12.TabIndex = 76;
@ -260,7 +260,7 @@
this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(19, 359);
this.label11.Location = new System.Drawing.Point(19, 353);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(44, 13);
this.label11.TabIndex = 74;
@ -271,7 +271,7 @@
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(24, 333);
this.label5.Location = new System.Drawing.Point(24, 327);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 13);
this.label5.TabIndex = 72;

View File

@ -270,25 +270,82 @@ namespace CodeWalker.Project.Panels
if (yarch is MloArchetype mlo)
{
if ((mlo.entities.Length) > 0 && (mlo.rooms.Length > 0))
var rooms = mlo.rooms;
var entities = mlo.entities;
var entsets = mlo.entitySets;
var portals = mlo.portals;
if ((rooms != null) && (rooms.Length > 0))
{
MCEntityDef[] entities = mlo.entities;
var roomsnode = tarch.Nodes.Add("Rooms (" + mlo.rooms.Length.ToString() + ")");
var roomsnode = tarch.Nodes.Add("Rooms (" + rooms.Length.ToString() + ")");
roomsnode.Name = "Rooms";
for (int j = 0; j < mlo.rooms.Length; j++)
for (int j = 0; j < rooms.Length; j++)
{
MCMloRoomDef room = mlo.rooms[j];
var room = rooms[j];
var roomnode = roomsnode.Nodes.Add(room.RoomName);
roomnode.Tag = room;
var entitiesnode = roomnode.Nodes.Add("Attached Objects (" + room.AttachedObjects.Length + ")");
entitiesnode.Name = "Attached Objects";
for (int k = 0; k < room.AttachedObjects.Length; k++)
var roomentities = room.AttachedObjects;
if ((roomentities != null) && (entities != null))
{
uint attachedObject = room.AttachedObjects[k];
MCEntityDef ent = entities[attachedObject];
TreeNode entnode = entitiesnode.Nodes.Add(ent.ToString());
entnode.Tag = ent;
for (int k = 0; k < roomentities.Length; k++)
{
var attachedObject = roomentities[k];
if (attachedObject < entities.Length)
{
var ent = entities[attachedObject];
var entnode = roomnode.Nodes.Add(ent.ToString());
entnode.Tag = ent;
}
}
}
}
}
if ((portals != null) && (portals.Length > 0))
{
var portalsnode = tarch.Nodes.Add("Portals (" + portals.Length.ToString() + ")");
portalsnode.Name = "Portals";
for (int j = 0; j < portals.Length; j++)
{
var portal = portals[j];
var portalnode = portalsnode.Nodes.Add(portal.Name);
portalnode.Tag = portal;
var portalentities = portal.AttachedObjects;
if ((portalentities != null) && (entities != null))
{
for (int k = 0; k < portalentities.Length; k++)
{
var attachedObject = portalentities[k];
if (attachedObject < entities.Length)
{
var ent = entities[attachedObject];
var entnode = portalnode.Nodes.Add(ent.ToString());
entnode.Tag = ent;
}
}
}
}
}
if ((entsets != null) && (entsets.Length > 0))
{
var setsnode = tarch.Nodes.Add("Entity Sets (" + entsets.Length.ToString() + ")");
setsnode.Name = "EntitySets";
for (int j = 0; j < entsets.Length; j++)
{
var entset = entsets[j];
var setnode = setsnode.Nodes.Add(entset.Name);
setnode.Tag = entset;
var setlocs = entset.Locations;
var setents = entset.Entities;
if ((setents != null) && (setlocs != null))
{
for (int k = 0; k < setents.Length; k++)
{
//var loc = (k < setlocs.Length) ? setlocs[k] : 0;
//var room = ((rooms != null) && (loc < rooms.Length)) ? rooms[loc] : null;
//var roomname = (room != null) ? room.RoomName : "[Room not found!]";
var ent = setents[k];
var entnode = setnode.Nodes.Add(/*roomname + ": " + */ ent.ToString());
entnode.Tag = ent;
}
}
}
}
@ -856,13 +913,13 @@ namespace CodeWalker.Project.Panels
public TreeNode FindArchetypeTreeNode(Archetype archetype)
{
if (archetype == null) return null;
TreeNode ytypnode = FindYtypTreeNode(archetype.Ytyp);
var ytypnode = FindYtypTreeNode(archetype.Ytyp);
if (ytypnode == null) return null;
var archetypenode = GetChildTreeNode(ytypnode, "Archetypes");
if (archetypenode == null) return null;
for (int i = 0; i < archetypenode.Nodes.Count; i++)
{
TreeNode archnode = archetypenode.Nodes[i];
var archnode = archetypenode.Nodes[i];
if (archnode.Tag == archetype) return archnode;
}
return null;
@ -871,68 +928,103 @@ namespace CodeWalker.Project.Panels
{
if (room == null) return null;
TreeNode ytypnode = FindYtypTreeNode(room.Archetype.Ytyp);
if (ytypnode == null) return null;
TreeNode archetypesnode = GetChildTreeNode(ytypnode, "Archetypes");
if (archetypesnode == null) return null;
for (int i = 0; i < archetypesnode.Nodes.Count; i++)
var mloarchetypenode = FindArchetypeTreeNode(room.OwnerMlo);
if (mloarchetypenode != null)
{
TreeNode mloarchetypenode = archetypesnode.Nodes[i];
if (mloarchetypenode.Tag == room.Archetype)
{
TreeNode roomsnode = GetChildTreeNode(mloarchetypenode, "Rooms");
if (roomsnode == null) return null;
var roomsnode = GetChildTreeNode(mloarchetypenode, "Rooms");
if (roomsnode == null) return null;
for (int j = 0; j < roomsnode.Nodes.Count; j++)
{
TreeNode roomnode = roomsnode.Nodes[j];
if (roomnode.Tag == room) return roomnode;
}
break;
for (int j = 0; j < roomsnode.Nodes.Count; j++)
{
var roomnode = roomsnode.Nodes[j];
if (roomnode.Tag == room) return roomnode;
}
}
return null;
}
public TreeNode FindMloPortalTreeNode(MCMloPortalDef portal)
{
if (portal == null) return null;
var mloarchetypenode = FindArchetypeTreeNode(portal.OwnerMlo);
if (mloarchetypenode != null)
{
var portalsnode = GetChildTreeNode(mloarchetypenode, "Portals");
if (portalsnode == null) return null;
for (int j = 0; j < portalsnode.Nodes.Count; j++)
{
var portalnode = portalsnode.Nodes[j];
if (portalnode.Tag == portal) return portalnode;
}
}
return null;
}
public TreeNode FindMloEntitySetTreeNode(MCMloEntitySet entset)
{
if (entset == null) return null;
var mloarchetypenode = FindArchetypeTreeNode(entset.OwnerMlo);
if (mloarchetypenode != null)
{
var entsetsnode = GetChildTreeNode(mloarchetypenode, "EntitySets");
if (entsetsnode == null) return null;
for (int j = 0; j < entsetsnode.Nodes.Count; j++)
{
var entsetnode = entsetsnode.Nodes[j];
if (entsetnode.Tag == entset) return entsetnode;
}
}
return null;
}
public TreeNode FindMloEntityTreeNode(MCEntityDef ent)
{
MCMloRoomDef entityroom = ent?.Archetype?.GetEntityRoom(ent);
if (entityroom == null) return null;
TreeNode ytypnode = FindYtypTreeNode(ent.Archetype.Ytyp);
if (ytypnode == null) return null;
var archetypesnode = GetChildTreeNode(ytypnode, "Archetypes");
if (archetypesnode == null) return null;
for (int i = 0; i < archetypesnode.Nodes.Count; i++)
var entityroom = ent?.OwnerMlo?.GetEntityRoom(ent);
if (entityroom != null)
{
TreeNode mloarchetypenode = archetypesnode.Nodes[i];
if (mloarchetypenode.Tag == ent.Archetype)
var roomnode = FindMloRoomTreeNode(entityroom);
if (roomnode != null)
{
TreeNode roomsnode = GetChildTreeNode(mloarchetypenode, "Rooms");
if (roomsnode == null) return null;
for (int j = 0; j < roomsnode.Nodes.Count; j++)
for (var k = 0; k < roomnode.Nodes.Count; k++)
{
TreeNode roomnode = roomsnode.Nodes[j];
if (roomnode.Tag == entityroom)
{
TreeNode entitiesnode = GetChildTreeNode(roomnode, "Attached Objects");
if (entitiesnode == null) return null;
for (var k = 0; k < entitiesnode.Nodes.Count; k++)
{
TreeNode entitynode = entitiesnode.Nodes[k];
if (entitynode.Tag == ent) return entitynode;
}
break;
}
var entitynode = roomnode.Nodes[k];
if (entitynode.Tag == ent) return entitynode;
}
break;
}
}
var entityportal = ent?.OwnerMlo?.GetEntityPortal(ent);
if (entityportal != null)
{
var portalnode = FindMloPortalTreeNode(entityportal);
if (portalnode != null)
{
for (var k = 0; k < portalnode.Nodes.Count; k++)
{
var entitynode = portalnode.Nodes[k];
if (entitynode.Tag == ent) return entitynode;
}
}
}
var entityset = ent?.OwnerMlo?.GetEntitySet(ent);
if (entityset != null)
{
var setnode = FindMloEntitySetTreeNode(entityset);
if (setnode != null)
{
for (var k = 0; k < setnode.Nodes.Count; k++)
{
var entitynode = setnode.Nodes[k];
if (entitynode.Tag == ent) return entitynode;
}
}
}
return null;
}
public TreeNode FindYndTreeNode(YndFile ynd)
@ -1666,11 +1758,6 @@ namespace CodeWalker.Project.Panels
var tn = FindMloEntityTreeNode(ent);
if ((tn != null) && (tn.Parent != null))
{
var tnp = tn.Parent.Parent;
MCMloRoomDef room = null;
if (tnp != null) room = tnp.Tag as MCMloRoomDef;
tn.Parent.Text = "Attached Objects (" + (room?.AttachedObjects.Length - 1 ?? 0) + ")";
tn.Parent.Nodes.Remove(tn);
}
}

View File

@ -45,6 +45,8 @@ namespace CodeWalker.Project
private Archetype CurrentArchetype;
private MCEntityDef CurrentMloEntity;
private MCMloRoomDef CurrentMloRoom;
private MCMloPortalDef CurrentMloPortal;
private MCMloEntitySet CurrentMloEntitySet;
private YndFile CurrentYndFile;
private YndNode CurrentPathNode;
@ -462,6 +464,20 @@ namespace CodeWalker.Project
(panel) => { panel.SetRoom(CurrentMloRoom); }, //updateFunc
(panel) => { return panel.CurrentRoom == CurrentMloRoom; }); //findFunc
}
public void ShowEditYtypArchetypeMloPortalPanel(bool promote)
{
ShowPanel(promote,
() => { return new EditYtypArchetypeMloPortalPanel(this); }, //createFunc
(panel) => { panel.SetPortal(CurrentMloPortal); }, //updateFunc
(panel) => { return panel.CurrentPortal == CurrentMloPortal; }); //findFunc
}
public void ShowEditYtypArchetypeMloEntSetPanel(bool promote)
{
ShowPanel(promote,
() => { return new EditYtypArchetypeMloEntSetPanel(this); }, //createFunc
(panel) => { panel.SetEntitySet(CurrentMloEntitySet); }, //updateFunc
(panel) => { return panel.CurrentEntitySet == CurrentMloEntitySet; }); //findFunc
}
public void ShowEditAudioFilePanel(bool promote)
{
ShowPanel(promote,
@ -522,6 +538,14 @@ namespace CodeWalker.Project
{
ShowEditYtypArchetypeMloRoomPanel(promote);
}
else if (CurrentMloPortal != null)
{
ShowEditYtypArchetypeMloPortalPanel(promote);
}
else if (CurrentMloEntitySet != null)
{
ShowEditYtypArchetypeMloEntSetPanel(promote);
}
else if (CurrentEntity != null)
{
ShowEditYmapEntityPanel(promote);
@ -661,6 +685,8 @@ namespace CodeWalker.Project
CurrentAudioInterior = item as Dat151Interior;
CurrentAudioInteriorRoom = item as Dat151InteriorRoom;
CurrentMloRoom = item as MCMloRoomDef;
CurrentMloPortal = item as MCMloPortalDef;
CurrentMloEntitySet = item as MCMloEntitySet;
if (CurrentAudioZone?.AudioZone == null) CurrentAudioZone = null;
if (CurrentAudioEmitter?.AudioEmitter == null) CurrentAudioEmitter = null;
@ -675,7 +701,7 @@ namespace CodeWalker.Project
if (CurrentMloEntity != null)
{
MloInstanceData instance = TryGetMloInstance(CurrentMloEntity.Archetype);
MloInstanceData instance = TryGetMloInstance(CurrentMloEntity.OwnerMlo);
if (instance != null)
{
@ -2289,7 +2315,7 @@ namespace CodeWalker.Project
{
if ((CurrentArchetype == null) || !(CurrentArchetype is MloArchetype mloArch))
{
var arch = CurrentEntity?.MloParent.Archetype ?? CurrentMloRoom?.Archetype;
var arch = CurrentEntity?.MloParent.Archetype ?? CurrentMloRoom?.OwnerMlo;
if (arch == null)
return;
@ -5442,7 +5468,7 @@ namespace CodeWalker.Project
var scenarioedge = sel.ScenarioEdge;
var audiopl = sel.Audio;
Archetype arch = mlo?.Archetype ?? ent?.MloParent?.Archetype ?? ent?.Archetype;
YtypFile ytyp = mlo?.Archetype?.Ytyp ?? ent?.MloParent?.Archetype?.Ytyp ?? ent?.Archetype?.Ytyp ?? room?.Archetype?.Ytyp;
YtypFile ytyp = mlo?.Archetype?.Ytyp ?? ent?.MloParent?.Archetype?.Ytyp ?? ent?.Archetype?.Ytyp ?? room?.OwnerMlo?.Ytyp;
YmapFile ymap = ent?.Ymap ?? cargen?.Ymap ?? grassbatch?.Ymap ?? mlo?.Ymap;
YndFile ynd = pathnode?.Ynd;
YnvFile ynv = navpoly?.Ynv ?? navpoint?.Ynv ?? navportal?.Ynv;
@ -5542,6 +5568,8 @@ namespace CodeWalker.Project
}
CurrentMloRoom = room;
CurrentMloPortal = null;
CurrentMloEntitySet = null;
CurrentYmapFile = ymap;
CurrentYtypFile = ytyp;
CurrentArchetype = arch;
@ -6368,7 +6396,7 @@ namespace CodeWalker.Project
{
bool enable = (CurrentYtypFile != null);
bool inproj = YtypExistsInProject(CurrentYtypFile);
bool ismlo = ((CurrentEntity != null) && (CurrentEntity.MloParent != null) || (CurrentMloRoom != null)) || (CurrentArchetype is MloArchetype);
bool ismlo = ((CurrentEntity != null) && (CurrentEntity.MloParent != null)) || (CurrentMloRoom != null) || (CurrentMloPortal != null) || (CurrentMloEntitySet != null) || (CurrentArchetype is MloArchetype);
YtypNewArchetypeMenu.Enabled = enable && inproj;
YtypMloToolStripMenuItem.Enabled = enable && inproj && ismlo;

View File

@ -1961,7 +1961,7 @@ namespace CodeWalker.Rendering
foreach (var entitysets in ent.MloInstance.EntitySets)
{
var entityset = entitysets.Value;
if (!entityset.Visible) continue;
if (!entityset.VisibleOrForced) continue;
var entities = entityset.Entities;
for (int i = 0; i < entities.Count; i++)

View File

@ -1274,6 +1274,7 @@ namespace CodeWalker
{
//immediately render the bounding box of the current selection. also, arrows.
const uint cred = 4278190335;// (uint)new Color4(1.0f, 0.0f, 0.0f, 1.0f).ToRgba();
const uint cgrn = 4278255360;// (uint)new Color4(0.0f, 1.0f, 0.0f, 1.0f).ToRgba();
const uint cblu = 4294901760;// (uint)new Color4(0.0f, 0.0f, 1.0f, 1.0f).ToRgba();
const uint caqu = 4294967040;// (uint)new Color4(0.0f, 1.0f, 1.0f, 1.0f).ToRgba();
@ -1418,18 +1419,18 @@ namespace CodeWalker
{
var portal = mloa.portals[ip];
if (portal.Corners == null) continue;
p1.Colour = caqu;
p2.Colour = caqu;
if ((portal._Data.flags & 4) > 0)
{
p1.Colour = cblu;
p2.Colour = cblu;
}
for (int ic = 0; ic < portal.Corners.Length; ic++)
var pcl = portal.Corners.Length;
for (int ic = 0; ic < pcl; ic++)
{
int il = ((ic==0)? portal.Corners.Length : ic) - 1;
p1.Position = mlop + mlo.Orientation.Multiply(portal.Corners[il].XYZ());
p2.Position = mlop + mlo.Orientation.Multiply(portal.Corners[ic].XYZ());
var icn = ic + 1; if (icn >= pcl) icn = 0;
p1.Colour = (ic == 0) ? cred : p2.Colour;//highlight index 0 and winding direction
p1.Position = mlop + mlo.Orientation.Multiply(portal.Corners[ic].XYZ());
p2.Position = mlop + mlo.Orientation.Multiply(portal.Corners[icn].XYZ());
Renderer.SelectionLineVerts.Add(p1);
Renderer.SelectionLineVerts.Add(p2);
}