Ejemplo n.º 1
0
 public void MapInterfaceOnGUI_AfterMainTabs()
 {
     if (Find.CurrentMap != null && !WorldRendererUtility.WorldRenderedNow)
     {
         ScreenshotModeHandler screenshotMode = Find.UIRoot.screenshotMode;
         if (!screenshotMode.FiltersCurrentEvent)
         {
             mouseoverReadout.MouseoverReadoutOnGUI();
             EnvironmentStatsDrawer.EnvironmentStatsOnGUI();
             Find.CurrentMap.debugDrawer.DebugDrawerOnGUI();
         }
     }
 }
Ejemplo n.º 2
0
 public void MapInterfaceOnGUI_BeforeMainTabs()
 {
     if (Find.CurrentMap == null)
     {
         return;
     }
     if (!WorldRendererUtility.WorldRenderedNow)
     {
         ScreenshotModeHandler screenshotMode = Find.UIRoot.screenshotMode;
         thingOverlays.ThingOverlaysOnGUI();
         MapComponentUtility.MapComponentOnGUI(Find.CurrentMap);
         BeautyDrawer.BeautyDrawerOnGUI();
         if (!screenshotMode.FiltersCurrentEvent)
         {
             colonistBar.ColonistBarOnGUI();
         }
         selector.dragBox.DragBoxOnGUI();
         designatorManager.DesignationManagerOnGUI();
         targeter.TargeterOnGUI();
         Find.CurrentMap.tooltipGiverList.DispenseAllThingTooltips();
         if (DebugViewSettings.drawFoodSearchFromMouse)
         {
             FoodUtility.DebugFoodSearchFromMouse_OnGUI();
         }
         if (DebugViewSettings.drawAttackTargetScores)
         {
             AttackTargetFinder.DebugDrawAttackTargetScores_OnGUI();
         }
         if (!screenshotMode.FiltersCurrentEvent)
         {
             mouseoverReadout.MouseoverReadoutOnGUI();
             globalControls.GlobalControlsOnGUI();
             resourceReadout.ResourceReadoutOnGUI();
         }
     }
     else
     {
         targeter.StopTargeting();
     }
 }