X-Git-Url: https://git.gag.com/?p=debian%2Fsplat;a=blobdiff_plain;f=splat.cpp;fp=splat.cpp;h=8aee28727c97952847e128a904a5205a07d48c13;hp=4c801c02913af133d86f894db828b8584296056f;hb=2b83ee9944726f29b3f6679fba24a902bcd33c56;hpb=13de9d4ce71b06ff6e03634934a232fb207b946d diff --git a/splat.cpp b/splat.cpp index 4c801c0..8aee287 100644 --- a/splat.cpp +++ b/splat.cpp @@ -1,6 +1,6 @@ /**************************************************************************** * SPLAT: An RF Signal Propagation Loss and Terrain Analysis Tool * -* Last update: 21-Dec-2006 * +* Last update: 15-Mar-2007 * ***************************************************************************** * Project started in 1997 by John A. Magliacane, KD2BD * ***************************************************************************** @@ -56,7 +56,7 @@ #define ARRAYSIZE 30025 #endif -char string[255], sdf_path[255], opened=0, *splat_version={"1.2.0"}; +char string[255], sdf_path[255], opened=0, *splat_version={"1.2.0b"}; double TWOPI=6.283185307179586, HALFPI=1.570796326794896, PI=3.141592653589793, deg2rad=1.74532925199e-02, @@ -2459,8 +2459,7 @@ void PlotLRPath(struct site source, struct site destination, FILE *fd) double loss, azimuth, pattern=0.0, source_alt, dest_alt, source_alt2, dest_alt2, cos_xmtr_angle, cos_test_angle=0.0, test_alt, - elevation, distance=0.0, - four_thirds_earth; + elevation, distance=0.0, four_thirds_earth; struct site temp; ReadPath(source,destination); @@ -2509,9 +2508,9 @@ void PlotLRPath(struct site source, struct site destination, FILE *fd) that determines the elevation angle to the first obstruction along the path is bypassed. */ - for (x=2, block=0; x