Home
last modified time | relevance | path

Searched refs:windspeed (Results 1 – 25 of 177) sorted by relevance

12345678

/dports/games/tornado/tornado-1.4/
H A Derwin.c82 if (windspeed <= 0) in erwin_aim()
83 aim = ((abs(windspeed * 20) + (-3 - cloud_x)) / 20); in erwin_aim()
85 aim = ((-abs(windspeed * 20) + (-3 - cloud_x)) / 20); in erwin_aim()
87 if (windspeed <= 0) in erwin_aim()
93 if (windspeed <= 0) in erwin_aim()
98 if (windspeed <= 0) in erwin_aim()
162 if (windspeed <= 0) in erwin_aim_new()
163 aim = ((abs(windspeed * 20) + (-3 - cloud_x)) / 20); in erwin_aim_new()
167 if (windspeed <= 0) in erwin_aim_new()
173 if (windspeed <= 0) in erwin_aim_new()
[all …]
H A Dmain.c236 int windspeed = 0; /* randomly generated windspeed */ in main() local
508 windspeed = (main_rand(10) - 5); in main()
514 sprintf(input_net, "%d", windspeed); in main()
518 windspeed = atoi(input_net); in main()
528 windspeed, in main()
580 userinput = erwin_aim_new(input, windspeed, cloud_x, current_player); in main()
591 score_tmp = draw_snow(cloud_x + main_rand(14), windspeed + userinput, '*'); in main()
598 score_tmp = draw_tornado(cloud_x, 1, windspeed + userinput, current_player); in main()
673 score_tmp = draw_weather(cloud_x + rand_pos, windspeed + userinput, '/', 1); in main()
692 score_tmp = draw_snow(cloud_x + rand_pos, windspeed + userinput, '*'); in main()
[all …]
H A Derwin.h2 int erwin_aim(char input, int windspeed, int cloud_x, int current_player);
4 int erwin_aim_new(char input, int windspeed, int cloud_x, int current_player);
/dports/misc/bb/bb-1.3.0/
H A Dcredits.c76 static float windspeed = 0, tospeed = 0; variable
311 if (windspeed >= tospeed) { in move_starfield()
312 windspeed -= 0.05; in move_starfield()
313 if (windspeed <= tospeed) in move_starfield()
318 if (windspeed < tospeed) in move_starfield()
319 windspeed += 0.05; in move_starfield()
327 windx = sin(windangle) * windspeed * 100; in move_starfield()
328 windz = -cos(windangle) * windspeed; in move_starfield()
388 windspeed = 0, tospeed = 0; in credits()
/dports/astro/py-pymetar/pymetar-1.4/bin/
H A Dpymetar.py420 self.windspeed = None
488 return self.windspeed
501 if self.windspeed is not None:
502 return round((self.windspeed / 0.8359648) ** (2 / 3.0))
508 if self.windspeed is not None:
509 return self.windspeed * 1.94384449
718 self.windspeed and (self.windspeed * 3.6) > 4.8):
723 (self.windspeed * 3.6) ** 0.16)
933 self.Report.windspeed = 0.0
940 self.Report.windspeed = (float(speed) * 0.44704)
[all …]
/dports/astro/py-pymetar/pymetar-1.4/testing/smoketest/
H A Dpymetar.py420 self.windspeed = None
488 return self.windspeed
501 if self.windspeed is not None:
502 return round((self.windspeed / 0.8359648) ** (2 / 3.0))
508 if self.windspeed is not None:
509 return self.windspeed * 1.94384449
718 self.windspeed and (self.windspeed * 3.6) > 4.8):
723 (self.windspeed * 3.6) ** 0.16)
933 self.Report.windspeed = 0.0
940 self.Report.windspeed = (float(speed) * 0.44704)
[all …]
/dports/astro/py-pymetar/pymetar-1.4/
H A Dpymetar.py420 self.windspeed = None
488 return self.windspeed
501 if self.windspeed is not None:
502 return round((self.windspeed / 0.8359648) ** (2 / 3.0))
508 if self.windspeed is not None:
509 return self.windspeed * 1.94384449
718 self.windspeed and (self.windspeed * 3.6) > 4.8):
723 (self.windspeed * 3.6) ** 0.16)
933 self.Report.windspeed = 0.0
940 self.Report.windspeed = (float(speed) * 0.44704)
[all …]
/dports/comms/xastir/Xastir-Release-2.1.8/LaCrosse/src/
H A Dopen2300db2APRS.c180 double windspeed, in APRS_str() argument
243 intval = (windspeed*MTPS2MPH + 0.5); // converting & rounding to whole MPH in APRS_str()
247 intval = (windspeed + 0.5); // rounding to whole MPH in APRS_str()
626 double *windspeed, in Get_Latest_WX() argument
765 *windspeed = strtod(row[1],NULL); in Get_Latest_WX()
766 *windspeed = *windspeed * 1.15077945; // Convert from knots to mph in Get_Latest_WX()
771 fprintf(stderr,"wind speed %f\n ",*windspeed); in Get_Latest_WX()
913 double windspeed; in main() local
1133 if ((dsts = Get_Latest_WX(&winddir,&windspeed,&windgust, in main()
1140 data_len = APRS_str(WX_APRS, winddir,windspeed,windgust, in main()
/dports/misc/xfce4-weather-plugin/xfce4-weather-plugin-0.11.0/panel-plugin/
H A Dweather-data.c181 windspeed *= 3.6; in calc_apparent_temperature()
182 if (windspeed < 4.828032) in calc_apparent_temperature()
186 + 0.3965 * temp * pow(windspeed, 0.16); in calc_apparent_temperature()
232 windspeed *= 3.6; in calc_apparent_temperature()
233 if (windspeed < 2.0) in calc_apparent_temperature()
239 + 0.3965 * temp * pow(windspeed, 0.16); in calc_apparent_temperature()
263 return temp + 0.33 * e - 0.7 * windspeed - 4.0; in calc_apparent_temperature()
269 return 1.41 - 1.162 * windspeed + 0.980 * temp in calc_apparent_temperature()
270 + 0.0124 * windspeed * windspeed + 0.0185 * windspeed * temp; in calc_apparent_temperature()
377 switch (units->windspeed) { in get_data()
[all …]
/dports/misc/wmweather+/wmweather+-2.18/
H A Ddock.c472 if(current.windspeed==0){ in DrawDisplay()
482 x=knots2mph(current.windspeed); in DrawDisplay()
485 x=knots2kph(current.windspeed); in DrawDisplay()
488 x=knots2mps(current.windspeed); in DrawDisplay()
491 x=knots2beaufort(current.windspeed); in DrawDisplay()
634 if(f->windspeed==0){ in DrawDisplay()
644 x=knots2mph(f->windspeed); in DrawDisplay()
647 x=knots2kph(f->windspeed); in DrawDisplay()
650 x=knots2mps(f->windspeed); in DrawDisplay()
653 x=knots2beaufort(f->windspeed); in DrawDisplay()
H A Dconvert.c97 int windchill_C(int temp_C, int windspeed){ in windchill_C() argument
98 if(temp_C==999 || windspeed<0) return 999; in windchill_C()
100 return windchill_F(temp_C2F(temp_C), windspeed); in windchill_C()
103 int windchill_F(int temp_F, int windspeed){ in windchill_F() argument
105 if(temp_F==999 || windspeed<0) return 999; in windchill_F()
107 ret=35.74 + 0.6215*temp_F + (-35.75 + 0.4275*temp_F)*pow(windspeed*50292/57875.0, 0.16); in windchill_F()
H A Dmetar.c85 c->windspeed=-1; in reset_current()
241 current.windspeed=atoi(c); in parse_metar()
245 current.windspeed=mps2knots(current.windspeed); in parse_metar()
247 current.windspeed=kph2knots(current.windspeed); in parse_metar()
412 current.windchill=windchill_C(current.temp, current.windspeed); in parse_metar()
H A Dconvert.h20 int windchill_C(int temp_C, int windspeed); /* knots */
21 int windchill_F(int temp_F, int windspeed); /* knots */
H A Dmrf.c212 if(i!=999 && j!=999) forecasts[m].windspeed=(i+j)/2; in parse_mrf()
213 else if(i!=999) forecasts[m].windspeed=i; in parse_mrf()
214 else if(j!=999) forecasts[m].windspeed=j; in parse_mrf()
295 forecasts[m].windchill=windchill_F(forecasts[m].temp, forecasts[m].windspeed); in parse_mrf()
H A Dmetar.h9 short windspeed; /* -1, 0 - MAX (knots) */ member
H A Dforecast.h23 short windspeed; /* -1, 0 - MAX */ member
/dports/comms/xastir/Xastir-Release-2.1.8/Davis/src/
H A Ddb2APRS.c184 double windspeed, in APRS_str() argument
251 intval = (windspeed*MTPS2MPH + 0.5); // converting & rounding to whole MPH in APRS_str()
255 intval = (windspeed + 0.5); // rounding to whole MPH in APRS_str()
614 double *windspeed, in Get_Latest_WX() argument
772 *windspeed = strtod(row[0],NULL); in Get_Latest_WX()
777 fprintf(stderr,"wind speed %f\n ",*windspeed); in Get_Latest_WX()
1192 double windspeed; in main() local
1431 dsts = Get_Latest_WX(&winddir,&windspeed,&windgust, in main()
1445 data_len = APRS_str(WX_APRS, last_datetime, winddir,windspeed,windgust, in main()
/dports/comms/xastir/Xastir-Release-2.1.8/LaCrosse/
H A Dweatherdump.sql20 windspeed decimal(4,1) NOT NULL default '0.0', field
/dports/games/scorched3d/scorched/src/client/water/
H A Docean_wave_generator.h89 T windspeed = T(20.0),
209 T windspeed, in ocean_wave_generator() argument
213 : N(int(gridsize)), W(winddir.Normalize()), v(windspeed), a(waveheight), Lm(tilesize), in ocean_wave_generator()
/dports/games/flightgear-data/fgdata/Nasal/local_weather/
H A Dweather_tile_management.nas335 # compute the new windspeed
337 var windspeed = 0;
340 windspeed = getprop(lw~"tmp/windspeed-kt");
341 windspeed = windspeed + 2.0 * (rand()-0.5) * 2.0;
342 if (windspeed < 0) {windspeed = rand();}
350 setprop(lw~"tmp/windspeed-kt",windspeed);
355 append(weather_dynamics.tile_wind_speed, windspeed);
442 var windspeed = res[1];
443 setprop(lw~"tmp/windspeed-kt",windspeed);
1515 var windspeed = getprop("/environment/wind-speed-kt");
[all …]
H A Dweather_dynamics.nas34 var windspeed = local_weather.wind.current[1] * kt_to_ms;
36 var windfield_x = -windspeed * math.sin(wind_direction * math.pi/180.0);
37 var windfield_y = -windspeed * math.cos(wind_direction * math.pi/180.0);
48 var windspeed = tile_wind_speed[0] * kt_to_ms;
53 var windspeed = tile_wind_speed[tile_index-1] * kt_to_ms;
59 var windfield_x = -windspeed * math.sin(wind_direction * math.pi/180.0);
60 var windfield_y = -windspeed * math.cos(wind_direction * math.pi/180.0);
/dports/net/libgweather/libgweather-40.0/libgweather/
H A Dgweather-weather.c343 dest->windspeed = src->windspeed; in copy_weather_data()
445 gdouble wind = WINDSPEED_KNOTS_TO_MPH (info->windspeed); in calc_apparent()
552 info->windspeed = -1; in gweather_info_reset()
1120 if (info->windspeed < 0.0 || info->wind < 0) in gweather_info_get_wind()
1122 if (info->windspeed == 0.00) { in gweather_info_get_wind()
1128 …speed_string = windspeed_string (info->windspeed, g_settings_get_enum (info->settings, SPEED_UNIT)… in gweather_info_get_wind()
2056 …if (info->windspeed < 0.0 || info->wind <= GWEATHER_WIND_INVALID || info->wind >= GWEATHER_WIND_LA… in gweather_info_get_value_wind()
2059 res = speed_value (info->windspeed, unit, speed, info->settings); in gweather_info_get_value_wind()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/weather/
H A DWeatherJob.cpp209 …std::string windspeed = StringUtils::Format("%i %s", (int)speed.To(g_langInfo.GetSpeedUnit()), g_l… in SetFromProperties() local
210 window->SetProperty("Current.WindSpeed",windspeed); in SetFromProperties()
/dports/net/libmateweather/libmateweather-1.26.0/libmateweather/
H A Dweather.c406 gdouble wind = WINDSPEED_KNOTS_TO_MPH (info->windspeed); in calc_apparent()
537 info->windspeed = -1; in _weather_info_fill()
958 if (info->windspeed < 0.0 || info->wind < 0) in weather_info_get_wind()
960 if (info->windspeed == 0.00) { in weather_info_get_wind()
967 windspeed_string (info->windspeed, info->speed_unit)); in weather_info_get_wind()
1619 if (info->windspeed < 0.0 || info->wind <= WIND_INVALID || info->wind >= WIND_LAST) in weather_info_get_value_wind()
1622 res = speed_value (info->windspeed, unit, speed, info->speed_unit); in weather_info_get_value_wind()
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Dwind.cpp19 FVAR(IDF_WORLD, windspeed, 0, 1, 10);
158 float speed = checkmapvariant(MPV_ALT) ? windspeedalt : windspeed; in updatewind()

12345678