1998-06-12 00:55:58 +00:00
|
|
|
noinst_LIBRARIES = libCockpit.a
|
1998-04-03 21:50:53 +00:00
|
|
|
|
1998-06-12 00:55:58 +00:00
|
|
|
libCockpit_a_SOURCES = \
|
1998-04-24 00:45:53 +00:00
|
|
|
cockpit.cxx cockpit.hxx \
|
2006-06-16 09:31:34 +00:00
|
|
|
hud.cxx hud.hxx \
|
2001-09-19 22:23:25 +00:00
|
|
|
hud_card.cxx hud_dnst.cxx hud_gaug.cxx hud_inst.cxx \
|
1999-04-27 19:27:45 +00:00
|
|
|
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 \
|
1999-04-27 19:27:45 +00:00
|
|
|
hud_scal.cxx hud_tbi.cxx \
|
2000-03-21 20:51:03 +00:00
|
|
|
panel.cxx panel.hxx \
|
2004-12-03 21:21:16 +00:00
|
|
|
panel_io.cxx panel_io.hxx
|
1998-04-03 21:50:53 +00:00
|
|
|
|
2001-12-28 22:29:59 +00:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
|
2002-04-07 21:13:56 +00:00
|
|
|
|
|
|
|
SUBDIRS = built_in
|