// New map created public override void OnMapNewEnd() { base.OnMapNewEnd(); undoredopanel.SetBeginDescription("New Map"); undoredopanel.UpdateList(); //mxd General.Interface.AddDocker(drawingOverridesDocker); drawingOverridesPanel.Setup(); MakeDoor = new MakeDoorSettings(General.Map.Config.MakeDoorDoor, General.Map.Config.MakeDoorTrack, General.Map.Config.MakeDoorCeiling, MakeDoor.ResetOffsets, MakeDoor.ApplyActionSpecials, MakeDoor.ApplyTag); ResetCopyProperties(); }
// Map opened public override void OnMapOpenEnd() { base.OnMapOpenEnd(); undoredopanel.SetBeginDescription("Opened Map"); undoredopanel.UpdateList(); //mxd General.Interface.AddDocker(drawingOverridesDocker); drawingOverridesPanel.Setup(); General.Map.Renderer2D.UpdateExtraFloorFlag(); MakeDoor = new MakeDoorSettings(General.Map.Config.MakeDoorDoor, General.Map.Config.MakeDoorTrack, General.Map.Config.MakeDoorCeiling, MakeDoor.ResetOffsets); ResetCopyProperties(); }