1
0
Fork 0
flightgear/src/Cockpit
ehofman 7b824755ee Mathias Fr�hlich:
I have prepared a patch that:
- Introduces a FGTileMgr::scenery_available method which asks the tilemanager
  if scenery for a given range around a lat/lon pair is already loaded and make
  use of that method at some -9999 meter checks.
- Introduces a FGScenery::get_elevation_m method which queries the altitude at
  a given position. In constrast to the groundcache functions this is the best
  choice if you ask for one *single* altitude value. Make use of that thing in
  AI/ATC classes and for the current views ground level. At the current views
  part the groundcache is reused if possible.
- The computation of the 'current groundlevel' is no longer done on the
  tilemanagers update since the required functions are now better seperated.

Alltogether it eliminates somehow redundant terrain level computations which
are now superseeded by that more finegrained functions and the existence of
the groundcache. Additionally it introduces an api to commonly required
functions which was very complex to do prevously.
2005-08-14 12:57:12 +00:00
..
built_in Don't just disable depth buffer writes but instead disable the depth test all together 2003-09-16 16:27:01 +00:00
.cvsignore
cockpit.cxx Mathias Fr�hlich: 2005-08-14 12:57:12 +00:00
cockpit.hxx Remove unnecessary inclusions of sg.h ans ssg.h 2004-09-19 16:33:38 +00:00
hud.cxx I have added Aaron Wilson's virtual 3d runway projection to the HUD. 2004-11-19 18:31:02 +00:00
hud.hxx MacOS-X fix. 2005-07-27 07:59:59 +00:00
hud_card.cxx Norman Vine: 2003-08-12 15:57:17 +00:00
hud_dnst.cxx
hud_gaug.cxx Norman Vine: 2003-08-12 15:57:17 +00:00
hud_inst.cxx
hud_labl.cxx Norman Vine: 2003-08-12 15:57:17 +00:00
hud_ladr.cxx Frederic: 2004-10-20 08:15:55 +00:00
hud_lat.cxx Norman Vine: 2003-08-12 15:57:17 +00:00
hud_lon.cxx Norman Vine: 2003-08-12 15:57:17 +00:00
hud_opts.hxx
hud_rwy.cxx Replace the data/Airports/basic.dat.gz and data/Airports/runways.dat.gz with 2004-12-22 23:57:07 +00:00
hud_scal.cxx
hud_tbi.cxx Clean up various compiler warnings that have crept into the code. This 2004-04-01 15:27:53 +00:00
Makefile.am A couple more straggling instrumentation clean ups. 2004-12-05 01:04:32 +00:00
panel.cxx - delete bindings in the *destructor* (must have been an editing accident) 2005-06-20 18:52:54 +00:00
panel.hxx Remove unnecessary inclusions of sg.h ans ssg.h 2004-09-19 16:33:38 +00:00
panel_io.cxx keep panel and gui bindings nicely separated; useful for debugging, 2005-06-24 14:07:15 +00:00
panel_io.hxx Second update in attempt to create an aircraft selection dialog 2003-03-30 12:49:05 +00:00
README Added a README for the src/Cockpit/ directory. 2003-01-29 15:34:31 +00:00

src/Cockpit/ - instrument and display-related code

This directory contains various subsystems and code modules related to
the cockpit, including the HUD and the 2D panel.  The code from here
is gradually being sorted out into separate code modules -- please do
not add anything new here.  All new code for gauges and avionics
should go in src/Instrumentation/, and all new code aircraft systems
(like the electrical or vacuum systems) should go in src/Systems/.
Any new 2D or 3D modelling code should go in src/Model/.