Exemplo n.º 1
0
        // 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();
        }
Exemplo n.º 2
0
        // 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();
        }