33 m_MaxTemps = {3, 5, 7, 14, 19, 24, 26, 25, 21, 16, 10, 5};
34 m_MinTemps = {-3, -2, 0, 4, 9, 14, 18, 17, 12, 7, 4, 0};
144 Print(
"--------------------");
145 for (
int i = 0;
i < 24;
i++)
147 for (
int j = 0;
j < 6;
j++)
Keeps information about currently loaded world, like temperature.
float GetApproxSunriseTime(float monthday)
void UpdateBaseEnvTemperature(float timeslice)
float GetNightTemperature()
float GetBaseEnvTemperature()
float GetDayTemperature()
bool WeatherOnBeforeChange(EWeatherPhenomenon type, float actual, float change, float time)
float GetApproxSunsetTime(float monthday)
array< vector > GetArtyFiringPos()
ref array< vector > m_FiringPos
float GetBaseEnvTemperatureExact(int month, int day, int hour, int minute)
void BaseTempDebug(int month, int day)
float m_EnvironmentTemperature
float CalcBaseEnvironmentTemperature(float monthday, float daytime)
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
static proto float Floor(float f)
Returns floor of value.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float AbsFloat(float f)
Returns absolute value.