Support for 16x16px per tile and river editor (#668)

* Upgrade to .NET 8 + Nugets

* Add support for tile 16x16px instead 1px

* Rivers except 2B

* River2B
This commit is contained in:
Alca259
2025-07-28 07:02:34 +02:00
committed by GitHub
parent e0e0656d6e
commit a20bd1c419
15 changed files with 251 additions and 58 deletions

View File

@@ -50,7 +50,7 @@ private void B_Add_Click(object sender, EventArgs e)
{ WinFormsUtil.Alert("Invalid Property"); return; }
var prefix = StringInstruction.Prefixes;
string s = prefix[CB_Require.SelectedIndex] + CB_Property.Items[CB_Property.SelectedIndex].ToString() + StringInstruction.SplitInstruction;
string s = prefix[CB_Require.SelectedIndex] + CB_Property.Items[CB_Property.SelectedIndex]!.ToString() + StringInstruction.SplitInstruction;
if (RTB_Instructions.Lines.Length != 0 && RTB_Instructions.Lines.Last().Length > 0)
s = Environment.NewLine + s;