#include "../Math/polar.h"
#include "../Scenery/mesh.h"
#include "../Scenery/scenery.h"
+#include "../Scenery/tilemgr.h"
#include "../Time/event.h"
#include "../Time/fg_time.h"
#include "../Time/fg_timer.h"
xglFogf (GL_FOG_END, w->visibility);
/* xglFogf (GL_FOG_DENSITY, w->visibility); */
xglHint (GL_FOG_HINT, GL_NICEST /* GL_FASTEST */ );
+
+ /* draw wire frame */
+ /* xglPolygonMode(GL_FRONT_AND_BACK,GL_LINE); */
}
/* set lighting parameters */
xglLightfv(GL_LIGHT0, GL_AMBIENT, l->scene_ambient );
xglLightfv(GL_LIGHT0, GL_DIFFUSE, l->scene_diffuse );
- fgSceneryRender();
+ fgTileMgrRender();
+ /* fgSceneryRender(); */
/* display HUD */
if( show_hud ) {
/* fgAircraftOutputCurrent(a); */
+ /* see if we need to load any new scenery tiles */
+ /* fgTileMgrUpdate(); */
+
/* Process/manage pending events */
fgEventProcess();
/* $Log$
-/* Revision 1.45 1998/01/07 03:18:55 curt
-/* Moved astronomical stuff from .../Src/Scenery to .../Src/Astro/
+/* Revision 1.48 1998/01/19 18:35:46 curt
+/* Minor tweaks and fixes for cygwin32.
/*
+ * Revision 1.47 1998/01/13 00:23:08 curt
+ * Initial changes to support loading and management of scenery tiles. Note,
+ * there's still a fair amount of work left to be done.
+ *
+ * Revision 1.46 1998/01/08 02:22:06 curt
+ * Beginning to integrate Tile management subsystem.
+ *
+ * Revision 1.45 1998/01/07 03:18:55 curt
+ * Moved astronomical stuff from .../Src/Scenery to .../Src/Astro/
+ *
* Revision 1.44 1997/12/30 22:22:31 curt
* Further integration of event manager.
*