From 0175b4cd253a69f22cc28f8f42fc019af26641e5 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 25 Oct 2000 22:59:02 +0000 Subject: [PATCH] Continued FGViewer cleanups. FGViewer is now a base class so that we can derive specific viewer classes from it. Here's what I currently have in mind: FGViewer | |-> FGViewerPRH (current system with orientation specified in | LaRCsim Euler angle convention) | |-> FGViewerLookAt Feed in a position, view direction, and up vector | |-> FGViewerHPR (similar to PRH, but using ssg hpr euler angle | convention) |-> others? --- src/Cockpit/panel.cxx | 1 + src/Main/Makefile.am | 3 +- src/Main/fg_init.cxx | 22 +-- src/Main/globals.hxx | 9 +- src/Main/keyboard.cxx | 4 +- src/Main/main.cxx | 3 +- src/Main/options.hxx | 2 + src/Main/viewer.cxx | 287 +--------------------------------------- src/Main/viewer.hxx | 107 +++++---------- src/Scenery/tilemgr.cxx | 18 ++- src/Time/moonpos.cxx | 3 +- src/Time/sunpos.cxx | 3 +- 12 files changed, 73 insertions(+), 389 deletions(-) diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 3e371f43e..95de80c6c 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -35,6 +35,7 @@ #include #include
#include +#include