Add synthetic warping via doubleclick

So many hidden features, will be visualized later by a button when
things become more clear.
This commit is contained in:
Kurt
2015-11-08 00:25:29 -08:00
parent d168d96625
commit 86488cc4b7
2 changed files with 11 additions and 0 deletions

View File

@@ -521,10 +521,20 @@ private void B_Redraw_Click(object sender, EventArgs e)
PB_Map.Image = getMapImage();
}
// User Enhancements
private void changeNModel(object sender, EventArgs e)
{
L_ModelAsHex.Text = "0x"+((int)NUD_NModel.Value).ToString("X4");
}
private void dclickDestMap(object sender, EventArgs e)
{
var Tile = NUD_WTile.Value;
CB_LocationID.SelectedIndex = (int)NUD_WMap.Value;
try
{ NUD_WE.Value = Tile; }
catch
{ try { NUD_WE.Value = 0; } catch {}}
}
// Dev Dumpers
private void B_DumpFurniture_Click(object sender, EventArgs e)

View File

@@ -727,6 +727,7 @@ private void InitializeComponent()
this.L_WarpDest.TabIndex = 432;
this.L_WarpDest.Text = "Dest:";
this.L_WarpDest.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.L_WarpDest.DoubleClick += new System.EventHandler(this.dclickDestMap);
//
// L_DestMap
//