#include "viewmgr.hxx"
#include "fg_props.hxx"
-// strings
-string viewpath, nodepath, strdata;
// Constructor
FGViewMgr::FGViewMgr( void ) :
FGViewMgr::init ()
{
char stridx [ 20 ];
+ string viewpath, nodepath, strdata;
bool from_model = false;
bool at_model = false;
int from_model_index = 0;
FGViewMgr::update (double dt)
{
char stridx [20];
+ string viewpath, nodepath;
double lon_deg, lat_deg, alt_ft, roll_deg, pitch_deg, heading_deg;
FGViewer * view = get_current_view();
}
// if lookat (type 1) then get target data...
- if (loop_view->getType() == 1) {
+ if (loop_view->getType() == FG_LOOKAT) {
nodepath = viewpath;
nodepath += "/config/from-model";
if (!fgGetBool(nodepath.c_str())) {