# include <windows.h>
#endif
-#include <GL/glut.h> // needed before pu.h
#include <plib/pu.h> // plib include
#include <FDM/flight.hxx>
#include "gui.h"
#include "trackball.h"
-// from main.cxx
-extern void fgReshape(int, int);
-
// FOR MOUSE VIEW MODE
// stashed trackball(_quat0, 0.0, 0.0, 0.0, 0.0);
static float _quat0[4];
fgReInitSubsystems();
- global_tile_mgr.update( fgGetDouble("/position/longitude-deg"),
- fgGetDouble("/position/latitude-deg"),
- fgGetDouble("/environment/visibility-m") );
-
- cur_light_params.Update();
+ globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
- fgReshape( xsize, ysize );
+ globals->get_renderer()->resize( xsize, ysize );
// BusyCursor(1);