- bugfix in Format80

- fixed heisenburg-endianness in map loader
    - THERES A BUG in the mix loading; I need another 4 bytes padding to load temperat.mix and snow.mix (not interior.mix, though)
    - ShpViewer can now load and view map files
    - Copy TEMPERAT, SNOW, INFERIOR (sic) mixes into $(SolutionDir) for this to work
    - Left-click to reload tile-ID file, middle-click scrolls
    - the tile-id file has some collisions between tile-sets, be careful about ordering if you change anything


git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1081 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
bob
2007-06-26 21:25:20 +00:00
parent f87448c958
commit 1438053505
15 changed files with 436 additions and 102 deletions

View File

@@ -29,21 +29,38 @@ namespace ShpViewer
private void InitializeComponent()
{
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.mapViewControl1 = new ShpViewer.MapViewControl();
this.SuspendLayout();
//
// flowLayoutPanel1
//
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.Location = new System.Drawing.Point( 0, 0 );
this.flowLayoutPanel1.Anchor = ( (System.Windows.Forms.AnchorStyles)( ( ( ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom )
| System.Windows.Forms.AnchorStyles.Left )
| System.Windows.Forms.AnchorStyles.Right ) ) );
this.flowLayoutPanel1.Location = new System.Drawing.Point( 1, 1 );
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size( 292, 273 );
this.flowLayoutPanel1.TabIndex = 0;
//
// mapViewControl1
//
this.mapViewControl1.Anchor = ( (System.Windows.Forms.AnchorStyles)( ( ( ( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom )
| System.Windows.Forms.AnchorStyles.Left )
| System.Windows.Forms.AnchorStyles.Right ) ) );
this.mapViewControl1.BackColor = System.Drawing.Color.Black;
this.mapViewControl1.Location = new System.Drawing.Point( 0, 0 );
this.mapViewControl1.Name = "mapViewControl1";
this.mapViewControl1.Size = new System.Drawing.Size( 293, 274 );
this.mapViewControl1.TabIndex = 1;
this.mapViewControl1.Text = "mapViewControl1";
this.mapViewControl1.Visible = false;
//
// ShpViewForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size( 292, 273 );
this.Controls.Add( this.mapViewControl1 );
this.Controls.Add( this.flowLayoutPanel1 );
this.Name = "ShpViewForm";
this.Text = "Form1";
@@ -54,6 +71,7 @@ namespace ShpViewer
#endregion
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private MapViewControl mapViewControl1;
}
}