#endif
#include <GL/glut.h>
-#include <XGL/xgl.h>
+#include <GL/gl.h>
#include <stdio.h>
#include <string.h>
-#include <Debug/logstream.hxx>
-#include <Main/options.hxx>
+#include <simgear/debug/logstream.hxx>
-// #include "obj.hxx"
#include "scenery.hxx"
-// #include "texload.h"
-
-
-// Temporary hack until we get a better texture management system running
-GLint area_texture;
// Shared structure to hold current scenery parameters
// Initialize the Scenery Management system
int fgSceneryInit( void ) {
- fgOPTIONS *o;
- // char path[1024], fgpath[1024];
- // GLubyte *texbuf;
- // int width, height;
-
- o = ¤t_options;
-
- FG_LOG( FG_TERRAIN, FG_INFO, "Initializing scenery subsystem" );
+ SG_LOG( SG_TERRAIN, SG_INFO, "Initializing scenery subsystem" );
+ scenery.center = Point3D(0.0);
scenery.cur_elev = -9999;
- return(1);
-}
-
-
-// Tell the scenery manager where we are so it can load the proper data, and
-// build the proper structures.
-void fgSceneryUpdate(double lon, double lat, double elev) {
- // does nothing;
-}
-
-
-// Render out the current scene
-void fgSceneryRender( void ) {
+ return 1;
}
-
-