public SkillEditor(LotuzForm editor) { Editor = editor; InitializeComponent(); LoadSkills(); }
public EnemyEditorForm(LotuzForm parent) { InitializeComponent(); Editor = parent; spriteSelectionControl1.Editor = Editor; spritePreviewControl1.Editor = Editor; cbbActionType.DataSource = Enum.GetNames(typeof(ActionType)); cbbConditionType.DataSource = Enum.GetNames(typeof(ConditionType)); cbbConditionTarget.DataSource = Enum.GetNames(typeof(ConditionTarget)); cbbNewBehavior.DataSource = Enum.GetNames(typeof(BehaviorType)); cbbDefaultBehavior.DataSource = Enum.GetNames(typeof(BehaviorType)); spriteSelectionControl1.SelectedIndexChanged += new SpriteSelectionControl.SelectedIndexChangedHandler(spriteSelectionControl1_SelectedIndexChanged); lbxItems.DataSource = null; lbxItems.DisplayMember = "Name"; lbxItems.ValueMember = "Id"; lbxItems.DataSource = Editor.Project.Items; lbxActions.DisplayMember = "Label"; spriteAnimationTimer.Start(); LoadEnemies(); LoadSkills(); enemyDetailsTabs.Enabled = false; }
public SpriteEditor(LotuzForm editor) { Editor = editor; InitializeComponent(); LoadItems(lbxSprites, Editor.SpriteCollection); cbbAnimationType.DataSource = Enum.GetNames(typeof(AnimationType)); }
public QuestEditor(LotuzForm editor) { Editor = editor; InitializeComponent(); cbbGoalType.DataSource = Enum.GetNames(typeof(QuestGoalType)); LoadGoalItems(); LoadGoalCreatures(); LoadQuestList(); }
public ObjectEditorForm(LotuzForm editor) { Editor = editor; InitializeComponent(); LoadObjects(); LoadAssetList(); UpdateTilesetPreviewSize(); }
public NpcEditorForm(LotuzForm editor) { Editor = editor; InitializeComponent(); LoadDialogFunctionOptions(); LoadDialogOpeningTypes(); LoadItems(lbxNpcs, Npcs); }
public ItemEditorForm(LotuzForm editor) { Editor = editor; SelectedItemIndex = -1; SelectedTextureIndex = -1; InitializeComponent(); cbbNewItemType.Items.AddRange(Enum.GetNames(typeof(ItemTypes))); cbbEquipType.DataSource = Enum.GetNames(typeof(EquipmentTypes)); LoadAssetList(); LoadItems(); }
public TilesetEditor(LotuzForm editor) { Editor = editor; InitializeComponent(); lbxTilesetFiles.Enabled = false; LoadTilesets(); LoadTilesetFiles(); txtName.LostFocus += TxtName_LostFocus; txtColumns.LostFocus += TxtColumns_LostFocus; txtSize.LostFocus += TxtSize_LostFocus; tilesetPreviewControl.Zoom = 1; UpdateTilesetPreviewSize(); }
public ClassEditor(LotuzForm editor) { Editor = editor; InitializeComponent(); }