1
0
Fork 0
flightgear/src/Cockpit/Makefile.am

16 lines
356 B
Text
Raw Normal View History

noinst_LIBRARIES = libCockpit.a
1998-04-03 21:50:53 +00:00
libCockpit_a_SOURCES = \
1998-04-24 00:45:53 +00:00
cockpit.cxx cockpit.hxx \
hud.cxx hud.hxx \
hud_card.cxx hud_dnst.cxx hud_gaug.cxx hud_inst.cxx \
hud_labl.cxx hud_ladr.cxx \
I have added Aaron Wilson's virtual 3d runway projection to the HUD. Aaron says: I just got the virtual runway hud projection working on all views and 2D & 3D HUDs. It is working awesome(see below). I have attached every file that was modified (hud.hxx, hud.cxx, and the default.xml for the hud) and every file that was added (hud_rwy.cxx and runwayinstr.xml). Just a quick overview of how the instrument works. The virtual runway is projected by getting the "cockpit view" of the runway in 3D and projecting the points on to the 2D HUD. Therefore, the virtual runway will be displayed the same in every view. For example, you can land an aircraft from the "Tower View" by flying the HUD. Also if you're in "Cockpit View" and it is centered then the virtual runway lines will perfectly outline the actual runway. I am getting the active runway via the wind like done in the ATC classes, which may need changed. Also, I made the assumption the view 0, in view manager, is always the cockpit view, which may need changed as well. The runway configuration file will allow you to specify a center offset (x,y) and a bounding box (width,height). You can also configure the line stipple pattern for the outside and the center line. For instance, if you wanted a 0xFAFA pattern, then specify 64250 as the value. If you want a solid line, you can specify -1 or 65535 (0xFFFF) and zero will turn the line off. It also draws a runway indication arrow when the runway is not in the HUD or it can be drawn all the time if arrow_always is true. The arrow will point in the direction of the runway (2D) by rotating around the center at a radius of arrow_radius. If you wish to turn the arrow off, you must set the arrow_scale <=0. The arrow really should be 3D arrow that points to the runway (or points in the direction of the aircraft-to-runway vector).
2004-11-19 18:31:02 +00:00
hud_rwy.cxx \
hud_scal.cxx hud_tbi.cxx \
panel.cxx panel.hxx \
panel_io.cxx panel_io.hxx
1998-04-03 21:50:53 +00:00
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
SUBDIRS = built_in