public void MapInterfaceOnGUI_AfterMainTabs()
 {
     if (Find.VisibleMap != null && !WorldRendererUtility.WorldRenderedNow)
     {
         ScreenshotModeHandler screenshotMode = Find.UIRoot.screenshotMode;
         if (!screenshotMode.FiltersCurrentEvent)
         {
             this.mouseoverReadout.MouseoverReadoutOnGUI();
             EnvironmentInspectDrawer.EnvironmentInspectOnGUI();
             Find.VisibleMap.debugDrawer.DebugDrawerOnGUI();
         }
     }
 }
Esempio n. 2
0
 public void MapInterfaceUpdate()
 {
     if (Find.VisibleMap == null)
     {
         return;
     }
     if (!WorldRendererUtility.WorldRenderedNow)
     {
         this.targeter.TargeterUpdate();
         SelectionDrawer.DrawSelectionOverlays();
         EnvironmentInspectDrawer.DrawRoomOverlays();
         this.designatorManager.DesignatorManagerUpdate();
         Find.VisibleMap.roofGrid.RoofGridUpdate();
         Find.VisibleMap.exitMapGrid.ExitMapGridUpdate();
         Find.VisibleMap.deepResourceGrid.DeepResourceGridUpdate();
         if (DebugViewSettings.drawPawnDebug)
         {
             Find.VisibleMap.pawnDestinationReservationManager.DebugDrawDestinations();
             Find.VisibleMap.reservationManager.DebugDrawReservations();
         }
         if (DebugViewSettings.drawFoodSearchFromMouse)
         {
             FoodUtility.DebugFoodSearchFromMouse_Update();
         }
         if (DebugViewSettings.drawPreyInfo)
         {
             FoodUtility.DebugDrawPredatorFoodSource();
         }
         if (DebugViewSettings.drawAttackTargetScores)
         {
             AttackTargetFinder.DebugDrawAttackTargetScores_Update();
         }
         MiscDebugDrawer.DebugDrawInteractionCells();
         Find.VisibleMap.debugDrawer.DebugDrawerUpdate();
         Find.VisibleMap.regionGrid.DebugDraw();
         InfestationCellFinder.DebugDraw();
         StealAIDebugDrawer.DebugDraw();
         if (DebugViewSettings.drawRiverDebug)
         {
             Find.VisibleMap.waterInfo.DebugDrawRiver();
         }
     }
 }