Class ClimateManager

java.lang.Object
zombie.iso.weather.ClimateManager
Direct Known Subclasses:
ClimMngrDebug

public class ClimateManager
extends java.lang.Object
  • Field Details

  • Constructor Details

    • ClimateManager

      public ClimateManager()
  • Method Details

    • getMaxWindspeedKph

      public float getMaxWindspeedKph()
    • getInstance

      public static ClimateManager getInstance()
    • setInstance

      public static void setInstance​(ClimateManager climateManager)
    • getColNight

      public ClimateColorInfo getColNight()
    • getColNightNoMoon

      public ClimateColorInfo getColNightNoMoon()
    • getColNightMoon

      public ClimateColorInfo getColNightMoon()
    • getColFog

      public ClimateColorInfo getColFog()
    • getColFogLegacy

      public ClimateColorInfo getColFogLegacy()
    • getFloatMax

      public int getFloatMax()
    • getClimateFloat

      public ClimateManager.ClimateFloat getClimateFloat​(int int1)
    • getColorMax

      public int getColorMax()
    • getClimateColor

      public ClimateManager.ClimateColor getClimateColor​(int int1)
    • getBoolMax

      public int getBoolMax()
    • getClimateBool

      public ClimateManager.ClimateBool getClimateBool​(int int1)
    • setEnabledSimulation

      public void setEnabledSimulation​(boolean boolean1)
    • getEnabledSimulation

      public boolean getEnabledSimulation()
    • getEnabledFxUpdate

      public boolean getEnabledFxUpdate()
    • setEnabledFxUpdate

      public void setEnabledFxUpdate​(boolean boolean1)
    • getEnabledWeatherGeneration

      public boolean getEnabledWeatherGeneration()
    • setEnabledWeatherGeneration

      public void setEnabledWeatherGeneration​(boolean boolean1)
    • getGlobalLightInternal

      public Color getGlobalLightInternal()
    • getGlobalLight

      public ClimateColorInfo getGlobalLight()
    • getGlobalLightIntensity

      public float getGlobalLightIntensity()
    • setNightStrength

      public void setNightStrength​(float float1)
    • getDesaturation

      public float getDesaturation()
    • setDesaturation

      public void setDesaturation​(float float1)
    • getAirMass

      public float getAirMass()
    • getAirMassDaily

      public float getAirMassDaily()
    • getAirMassTemperature

      public float getAirMassTemperature()
    • getDayLightStrength

      public float getDayLightStrength()
    • getNightStrength

      public float getNightStrength()
    • getDayMeanTemperature

      public float getDayMeanTemperature()
    • getTemperature

      public float getTemperature()
    • getBaseTemperature

      public float getBaseTemperature()
    • getSnowStrength

      public float getSnowStrength()
    • getPrecipitationIsSnow

      public boolean getPrecipitationIsSnow()
    • getPrecipitationIntensity

      public float getPrecipitationIntensity()
    • getFogIntensity

      public float getFogIntensity()
    • getWindIntensity

      public float getWindIntensity()
    • getWindAngleIntensity

      public float getWindAngleIntensity()
    • getWindPower

      public float getWindPower()
    • getWindspeedKph

      public float getWindspeedKph()
    • getCloudIntensity

      public float getCloudIntensity()
    • getAmbient

      public float getAmbient()
    • getViewDistance

      public float getViewDistance()
    • isRaining

      public boolean isRaining()
    • getRainIntensity

      public float getRainIntensity()
    • setAmbient

      public void setAmbient​(float float1)
    • setViewDistance

      public void setViewDistance​(float float1)
    • setDayLightStrength

      public void setDayLightStrength​(float float1)
    • setPrecipitationIsSnow

      public void setPrecipitationIsSnow​(boolean boolean1)
    • getCurrentDay

      public ClimateManager.DayInfo getCurrentDay()
    • getPreviousDay

      public ClimateManager.DayInfo getPreviousDay()
    • getNextDay

      public ClimateManager.DayInfo getNextDay()
    • getSeason

      public ErosionSeason getSeason()
    • getFrontStrength

      public float getFrontStrength()
    • stopWeatherAndThunder

      public void stopWeatherAndThunder()
    • getThunderStorm

      public ThunderStorm getThunderStorm()
    • getWeatherPeriod

      public WeatherPeriod getWeatherPeriod()
    • getIsThunderStorming

      public boolean getIsThunderStorming()
    • getWeatherInterference

      public float getWeatherInterference()
    • getModData

      public KahluaTable getModData()
    • getAirTemperatureForCharacter

      public float getAirTemperatureForCharacter​(IsoGameCharacter gameCharacter)
    • getAirTemperatureForCharacter

      public float getAirTemperatureForCharacter​(IsoGameCharacter gameCharacter, boolean boolean1)
    • getAirTemperatureForSquare

      public float getAirTemperatureForSquare​(IsoGridSquare square)
    • getAirTemperatureForSquare

      public float getAirTemperatureForSquare​(IsoGridSquare square, BaseVehicle baseVehicle)
    • getAirTemperatureForSquare

      public float getAirTemperatureForSquare​(IsoGridSquare square, BaseVehicle baseVehicle, boolean boolean1)
    • getSeasonName

      public java.lang.String getSeasonName()
    • getSeasonProgression

      public float getSeasonProgression()
    • getSeasonStrength

      public float getSeasonStrength()
    • init

      public void init​(IsoMetaGrid metaGrid)
    • updateEveryTenMins

      public void updateEveryTenMins()
    • update

      public void update()
    • getWindNoiseBase

      public static double getWindNoiseBase()
    • getWindNoiseFinal

      public static double getWindNoiseFinal()
    • getWindTickFinal

      public static double getWindTickFinal()
    • updateOLD

      public void updateOLD()
    • resetOverrides

      public void resetOverrides()
    • resetModded

      public void resetModded()
    • resetAdmin

      public void resetAdmin()
    • triggerWinterIsComingStorm

      public void triggerWinterIsComingStorm()
    • triggerCustomWeather

      public boolean triggerCustomWeather​(float float1, boolean boolean1)
    • triggerCustomWeatherStage

      public boolean triggerCustomWeatherStage​(int int1, float float1)
    • launchFlare

      public void launchFlare()
    • getAirMassNoiseFrequencyMod

      protected double getAirMassNoiseFrequencyMod​(int int1)
    • getRainTimeMultiplierMod

      protected float getRainTimeMultiplierMod​(int int1)
    • setSeasonColorDawn

      public void setSeasonColorDawn​(int int1, int int2, float float1, float float2, float float3, float float4, boolean boolean1)
    • setSeasonColorDay

      public void setSeasonColorDay​(int int1, int int2, float float1, float float2, float float3, float float4, boolean boolean1)
    • setSeasonColorDusk

      public void setSeasonColorDusk​(int int1, int int2, float float1, float float2, float float3, float float4, boolean boolean1)
    • getSeasonColor

      public ClimateColorInfo getSeasonColor​(int int1, int int2, int int3)
    • save

      public void save​(java.io.DataOutputStream dataOutputStream) throws java.io.IOException
      Throws:
      java.io.IOException
    • load

      public void load​(java.io.DataInputStream dataInputStream, int int1) throws java.io.IOException
      Throws:
      java.io.IOException
    • postCellLoadSetSnow

      public void postCellLoadSetSnow()
    • forceDayInfoUpdate

      public void forceDayInfoUpdate()
    • transmitClimatePacket

      protected final void transmitClimatePacket​(ClimateManager.ClimateNetAuth climateNetAuth, byte byte1, UdpConnection udpConnection)
    • receiveClimatePacket

      public final void receiveClimatePacket​(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection) throws java.io.IOException
      Throws:
      java.io.IOException
    • transmitServerStopWeather

      public void transmitServerStopWeather()
    • transmitServerTriggerStorm

      public void transmitServerTriggerStorm​(float float1)
    • transmitServerStartRain

      public void transmitServerStartRain​(float float1)
    • transmitServerStopRain

      public void transmitServerStopRain()
    • transmitRequestAdminVars

      public void transmitRequestAdminVars()
    • transmitClientChangeAdminVars

      public void transmitClientChangeAdminVars()
    • transmitStopWeather

      public void transmitStopWeather()
    • transmitTriggerStorm

      public void transmitTriggerStorm​(float float1)
    • transmitTriggerTropical

      public void transmitTriggerTropical​(float float1)
    • transmitTriggerBlizzard

      public void transmitTriggerBlizzard​(float float1)
    • transmitGenerateWeather

      public void transmitGenerateWeather​(float float1, int int1)
    • clamp01

      public static float clamp01​(float float1)
    • clamp

      public static float clamp​(float float1, float float2, float float3)
    • clamp

      public static int clamp​(int int1, int int2, int int3)
    • lerp

      public static float lerp​(float float1, float float2, float float3)
    • clerp

      public static float clerp​(float float1, float float2, float float3)
    • normalizeRange

      public static float normalizeRange​(float float1, float float2)
    • posToPosNegRange

      public static float posToPosNegRange​(float float1)
    • execute_Simulation

      public void execute_Simulation()
    • execute_Simulation

      public void execute_Simulation​(int int1)