/* * Created by SharpDevelop. * User: suloku * Date: 03/05/2016 * Time: 17:34 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace WC3_TOOL { /// /// Description of Decor_editor. /// public partial class Decor_editor : Form { byte[] decorbuff; SAV3 sav3file; public string savfilter = MainScreen.savfilter; public Decor_editor(SAV3 save) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); sav3file = save; decorbuff = sav3file.get_decorations(); decortypebox.SelectedIndex = 0; numericUpDown1.Maximum = slots_max[decortypebox.SelectedIndex]; decorationbox.SelectedIndex = 0; load_decor(); // // TODO: Add constructor code after the InitializeComponent() call. // } void del_item() { int i; int offset = 0; for (i=0; i