mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
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:
@@ -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)
|
||||
|
||||
1
pk3DS/Subforms/OWSE.designer.cs
generated
1
pk3DS/Subforms/OWSE.designer.cs
generated
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user