1
0
Fork 0

Remove unneeded inclusions of windows.h, GL.h and GLU.H

This commit is contained in:
fredb 2008-07-27 15:18:34 +00:00
parent c8d0874422
commit 3db0cf1659
24 changed files with 3 additions and 119 deletions

View file

@ -25,14 +25,8 @@
# 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>

View file

@ -30,17 +30,11 @@
# 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>

View file

@ -34,10 +34,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#ifdef __CYGWIN__
#include <ieeefp.h>
#endif
@ -50,7 +46,9 @@
#include <deque> // STL double ended queue
#include <fstream>
#include <osg/State>
namespace osg {
class State;
}
#include <simgear/math/SGMath.hxx>
#include <simgear/constants.h>

View file

@ -32,7 +32,6 @@
#include <Environment/environment_mgr.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/math/polar3d.hxx>
#include SG_GLU_H
#include <ATCDCL/ATCutils.hxx>

View file

@ -31,10 +31,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <stdio.h> // sprintf
#include <string.h>
@ -46,8 +42,6 @@
#include <simgear/compiler.h>
#include SG_GLU_H
#include <plib/fnt.h>
#include <simgear/debug/logstream.hxx>

View file

@ -30,10 +30,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <osg/ref_ptr>
#include <osg/StateSet>
#include <osg/Texture2D>

View file

@ -22,10 +22,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <string.h> // for strcmp()
#include <simgear/compiler.h>

View file

@ -25,10 +25,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <simgear/compiler.h>
#include <iosfwd>

View file

@ -25,10 +25,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <math.h>
#include <plib/sg.h>

View file

@ -36,10 +36,6 @@
#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>

View file

@ -30,10 +30,6 @@
#include <simgear/compiler.h>
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <string>
#include <simgear/structure/exception.hxx>

View file

@ -29,10 +29,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <plib/pu.h>
#include <simgear/structure/exception.hxx>

View file

@ -32,12 +32,6 @@
#include <simgear/compiler.h>
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include SG_GL_H
#include <fstream>
#include <string>
#include <cstring>
@ -45,14 +39,6 @@
#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>

View file

@ -24,10 +24,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <simgear/compiler.h>
#include <math.h>

View file

@ -25,10 +25,6 @@
# 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>

View file

@ -29,12 +29,6 @@
# 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>

View file

@ -26,14 +26,8 @@
# 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},

View file

@ -46,12 +46,6 @@ SG_USING_STD(endl);
#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" );

View file

@ -12,10 +12,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <simgear/structure/commands.hxx>
#include <simgear/props/props.hxx>

View file

@ -32,11 +32,6 @@
# include <signal.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
# include <float.h>
#endif
#include <plib/netSocket.h>
#include <simgear/props/props.hxx>

View file

@ -25,10 +25,6 @@
#include <simgear/compiler.h>
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <osg/ref_ptr>
#include <osg/AlphaFunc>
#include <osg/BlendFunc>

View file

@ -31,10 +31,6 @@
#include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#include <simgear/debug/logstream.hxx>
#include <simgear/io/iochannel.hxx>

View file

@ -26,14 +26,8 @@
# 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>

View file

@ -34,10 +34,6 @@
# include <config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <simgear/compiler.h>
#include <simgear/structure/subsystem_mgr.hxx>