1
0
Fork 0
Commit graph

336 commits

Author SHA1 Message Date
Christian Schmitt
2eb8428a59 Read and create airport light objects like PAPIs and calculate their light vectors. 2012-03-25 23:52:10 +02:00
Christian Schmitt
785c4afcda Move the whole genapts over to the metric system.
Now we calculate with metric values internally, however, the
fixed feet values in the source will have to be converted or
be used with SG_FEET_TO_METER for now.
2012-03-25 23:52:10 +02:00
Christian Schmitt
2fff6d803e Work on supporting 850 light definitions.
This is still WIP, but lots of stuff already working.
2012-03-25 23:52:09 +02:00
Christian Schmitt
0bffde0f2d Make stopways work again, too 2012-03-25 23:52:09 +02:00
Christian Schmitt
66fc88c666 Implement individual runway markings for both ends.
Simplified code a lot, removed runway-specific files with
a lot of duplicate code. Put marking logic into
functions.
2012-03-25 23:52:09 +02:00
Christian Schmitt
8ac29ac8a8 Implement two runway end designations for precision runway 2012-03-25 23:52:00 +02:00
Christian Schmitt
0e83e180fc Introduce 2nd variable for other runway end designation.
Some cleanup, too.
2012-03-25 23:51:38 +02:00
Christian Schmitt
83144f66a3 get runway center calculation right 2012-03-25 23:51:38 +02:00
Christian Schmitt
0dddd26b91 first work on reading apt.dat 8.50 2012-03-25 23:50:22 +02:00
PSadrozinski
1eae25d17a removing automake files - just updating cmake build files from now 2012-03-25 23:37:26 +02:00
Christian Schmitt
17dbaffadd Remove all plib deps completely. TG is now plib-free :) 2011-10-25 16:20:31 +02:00
Christian Schmitt
89ca2ae1e4 Add cmake install targets 2011-10-24 18:07:35 +02:00
James Turner
4e39bff58a Linux fixes for Cmake support. 2011-10-24 13:46:15 +02:00
James Turner
83e6225460 CMake support for TerraGear, and PLIB/OSG/OpenGL removal. 2011-10-24 13:46:15 +02:00
Christian Schmitt
81244fb0fe clean up .gitignore files. Entries are applied recursively 2011-10-24 12:57:53 +02:00
Christian Schmitt
2186e2b89e remove all .cvsignore files 2011-10-24 12:57:53 +02:00
Christian Schmitt
6bb0c32ca1 Clean up old files 2011-10-07 17:31:48 +02:00
Martin Spott
f8084b5fdf No CVS in here any more .... 2011-09-25 11:45:07 -07:00
Ralf Gerlich
0fdbcaff63 Adapt to changes in simgear 2011-03-27 10:05:14 +02:00
Ralf Gerlich
c09aeb328e Fahim Dalvi:
add SRTM-1 and SRTM-3 to the list of elevation directories
2010-07-31 19:23:03 +02:00
Ralf Gerlich
4e9a529b1f Adapt to the removal of Point3D from simgear. 2010-07-31 19:21:59 +02:00
Ralf Gerlich
f68f25e0c5 Add remaining WorldScenery processing scripts. 2010-07-17 17:30:51 +02:00
Ralf Gerlich
4f815e8703 Fahim Dalvi:
Allow setting the maximum runway slope on the command line.
2010-07-02 21:02:32 +02:00
Ralf Gerlich
1ad2b2e0e9 Write the last_apt file into the workdir instead of the directory where genapts is started from (closes #12) 2010-01-24 09:01:36 +01:00
Ralf Gerlich
69eb4be737 Ron Jensen: Fix stopway length and order and create proper stopway texture.
Thanks, Ron.
2010-01-11 20:25:52 +01:00
Ralf Gerlich
3bee1edab4 Added --clear-dem-path and --dem-path= options to genapts cmdline to allow custom paths for the DEM data (closes #4) 2009-12-18 21:33:02 +01:00
Ralf Gerlich
1daeb0f99e Added stopways to runways (closes #2) 2009-12-18 20:56:17 +01:00
Ralf Gerlich
7b08557191 John Holden:
Fix runway markings for center runways.

http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg24634.html
2009-11-10 10:11:31 +01:00
Ralf Gerlich
b0a47dfa0e Ron Jensen:
Dirt and grass runways are generated by GenAirports/rwy_simple.cxx.
The runways are divided into two halves, "A" and "B" each consisting of
two triangles.
Runway half "A" is good.
Runway half "B"'s first triangle UV coordinates are a very short line,
and its second triangle's UV coordinates are a point.

[...]

[T]his patch does the Right Thing.  It simply changes the reference
point so the UV coords for the B runway are positive.  They were coming
out negative and getting clipped in build.cxx.
2009-09-24 09:46:27 +02:00
Frederic Bouvier
72cbcac816 Fix warnings under MSVC 2009-06-14 23:36:54 +02:00
Frederic Bouvier
26a787d847 MSVC 7.1 project files - Release build 2009-01-27 08:16:14 +01:00
Ralf Gerlich
521f9e2fc9 Removed remaining "using"-declarations from header-files. 2008-08-08 12:48:08 +02:00
Ralf Gerlich
e4ac5911ae Made sure that any #include-instruction comes before the first "using"-declaration, so that we can spot buggy header-files more easily. 2008-08-08 12:31:02 +02:00
Ralf Gerlich
4a35fedf64 Adapt to changes in simgear/compiler.h (removal of STL_* and SG_USING_STD() macros). 2008-08-08 12:17:43 +02:00
Ralf Gerlich
e813c093fc Adapt to current SimGear version (<iostream> include changes by fredb) 2008-06-17 11:06:35 +02:00
Ralf Gerlich
4a96ed8af2 Revert "Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed."
This reverts commit 5a6697b4e0b6e59a727868a912bff4c1fd8c91da.

Not genapts was at fault but the new TaxiDraw version (CVS HEAD). Robin Peel confirmed that the objects in apt.dat are listed top-down, i.e. the topmost element comes first.
2008-04-14 09:18:07 +02:00
Ralf Gerlich
101cae53ad Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed. 2008-03-29 13:04:37 +01:00
Ralf Gerlich
f01a1daa7b Fixed criterion for removal of small degenerate polygons. 2008-02-08 22:24:53 +01:00
Ralf Gerlich
e29bdcfe59 Removed test printouts. 2008-02-08 13:52:12 +01:00
Ralf Gerlich
cd90019bbf Intermediate fix for calc_point_inside 2008-02-08 13:52:10 +01:00
Ralf Gerlich
14403c2d8d Made ogr-decode and genapts use their own poly_counter-files in their own directories. 2008-01-01 16:27:46 +01:00
Ralf Gerlich
f99c623a98 Added binary files to .gitignore 2007-12-19 09:29:20 +01:00
Ralf Gerlich
217c111155 Workaround for a buggy apt.dat-file: 00-records start showing up which seem to represent Center-frequencies. 2007-12-12 12:33:33 -08:00
Ralf Gerlich
54e72714c4 Remove the previous static list of material identifiers and replaced them by material names. Only the clipper still has a static list for identifying priorities. 2007-11-22 17:44:29 +01:00
Ralf Gerlich
27dd0a41d8 Fixed the genapts apt.dat parser:
- The VASI GS angle is properly parsed
- Don't assume given column numbers but properly split the lines at whitespaces
- actually make use of the order of taxiways as specified in the apt.dat
- make the min/max lat/lon work (patch provided by Torsten Dreyer on terragear-devel [1])

[1] http://mail.flightgear.org/pipermail/terragear-devel/2007-January/001389.html
2007-11-08 22:27:02 +01:00
Ralf Gerlich
fcb9e6c8ba Fixed the build system 2007-11-08 22:14:02 +01:00
curt
10558113e8 Cygwin patches from Frederic Bouvier. 2005-12-19 16:51:25 +00:00
curt
99da0c21b0 Change SRTM directory names to reflect SRTM v2.0 2005-12-19 15:53:21 +00:00
curt
9ff8e4367d fix typos in comments/debugging output. 2005-12-19 15:52:50 +00:00
curt
a00eb22170 Make the course grid a bit finer. 2005-10-31 18:43:27 +00:00