# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/compiler.h>
-#include SG_GLU_H
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <math.h>
#include <stdlib.h>
#include <stdio.h> // char related functions
#include <string.h> // strcmp()
-#include SG_GLU_H
-
#include <simgear/constants.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#ifdef __CYGWIN__
#include <ieeefp.h>
#endif
#include <deque> // STL double ended queue
#include <fstream>
-#include <osg/State>
+namespace osg {
+ class State;
+}
#include <simgear/math/SGMath.hxx>
#include <simgear/constants.h>
#include <Environment/environment_mgr.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/math/polar3d.hxx>
-#include SG_GLU_H
#include <ATCDCL/ATCutils.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <stdio.h> // sprintf
#include <string.h>
#include <simgear/compiler.h>
-#include SG_GLU_H
-
#include <plib/fnt.h>
#include <simgear/debug/logstream.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <osg/ref_ptr>
#include <osg/StateSet>
#include <osg/Texture2D>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <string.h> // for strcmp()
#include <simgear/compiler.h>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/compiler.h>
#include <iosfwd>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <math.h>
#include <plib/sg.h>
#include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-#include <windows.h>
-#endif
-
#include <simgear/math/sg_random.h>
#include <simgear/timing/sg_time.hxx>
#include <Main/fg_props.hxx>
#include <simgear/compiler.h>
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <string>
#include <simgear/structure/exception.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <plib/pu.h>
#include <simgear/structure/exception.hxx>
#include <simgear/compiler.h>
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
-#include SG_GL_H
-
#include <fstream>
#include <string>
#include <cstring>
#include <stdlib.h>
-// for help call back
-#ifdef WIN32
-# include <shellapi.h>
-# ifdef __CYGWIN__
-# include <sys/cygwin.h>
-# endif
-#endif
-
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/screen/screen-dump.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/compiler.h>
#include <math.h>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <string.h> // plib/js.h should really include this !!!!!!
#include <plib/js.h>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
-#include SG_GLU_H
-
#include <simgear/constants.h>
#include <simgear/misc/sg_path.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include "render_area_2d.hxx"
-#include SG_GL_H
-
static const float dummy_normals[][3] = {{0.0f, 0.0f, 0.0f},
{0.0f, 0.0f, 0.0f},
#include "globals.hxx"
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-# include <float.h>
-# include <pthread.h>
-#endif
-
#include "fg_os.hxx"
char *homedir = ::getenv( "HOME" );
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/structure/commands.hxx>
#include <simgear/props/props.hxx>
# include <signal.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-# include <float.h>
-#endif
-
#include <plib/netSocket.h>
#include <simgear/props/props.hxx>
#include <simgear/compiler.h>
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <osg/ref_ptr>
#include <osg/AlphaFunc>
#include <osg/BlendFunc>
#include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-#include <windows.h>
-#endif
-
#include <simgear/debug/logstream.hxx>
#include <simgear/io/iochannel.hxx>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/compiler.h>
-#include SG_GL_H
-
#include <cmath>
#include <simgear/constants.h>
# include <config.h>
#endif
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-
#include <simgear/compiler.h>
#include <simgear/structure/subsystem_mgr.hxx>