mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-27 20:36:55 -05:00
Stash
Code now compiles, but will need to test and bugfix extensively. Need to pre-fill the pixel buffers with sea first unless the acre fill actually works (maybe?) Items need to be relative'd to apply 1 row lower, and skip the bottom row. Need to check that terrain is the same as well. Note to self: For Map - probably better to get a starting x,y,width and iterate off that, fetching tile from relative, converting to absolute... idk. For View - need to check if tile is in layer.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using NHSE.Core;
|
||||
using NHSE.Injection;
|
||||
|
||||
namespace NHSE.WinForms;
|
||||
|
||||
@@ -17,10 +17,10 @@ public SimpleHexEditor(byte[] originalBytes)
|
||||
Bytes = originalBytes;
|
||||
}
|
||||
|
||||
private void Update_Click(object sender, System.EventArgs e)
|
||||
private void Update_Click(object sender, EventArgs e)
|
||||
{
|
||||
var bytestring = RTB_RAM.Text.Replace("\t", "").Replace(" ", "").Trim();
|
||||
Bytes = Decoder.StringToByteArray(bytestring);
|
||||
Bytes = Convert.FromHexString(bytestring);
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user