1
0
Fork 0

Clean-up some SGMath dependencies.

This commit is contained in:
ThorstenB 2012-05-05 00:56:29 +02:00
parent a524e654f9
commit e59fabaf82
31 changed files with 21 additions and 29 deletions

View file

@ -1,4 +1,3 @@
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>

View file

@ -33,6 +33,7 @@
#include <simgear/misc/ResourceManager.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>
#include "flightrecorder.hxx"

View file

@ -24,7 +24,6 @@
#ifndef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/math/SGMath.hxx>
#endif
#include "logic.hxx"

View file

@ -28,6 +28,7 @@
#include <boost/tuple/tuple.hpp>
#include <simgear/props/props.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>

View file

@ -26,6 +26,7 @@
#include <algorithm>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>
#include "environment_ctrl.hxx"
#include "environment.hxx"

View file

@ -26,6 +26,7 @@
#include <cmath>
#include <simgear/math/SGMisc.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>
namespace Environment {

View file

@ -7,7 +7,6 @@
#include <iostream>
#include <simgear/props/props.hxx>
#include <simgear/math/SGMath.hxx>
////////////////////////////////////////////////////////////////////////
// FGColor class.

View file

@ -15,7 +15,6 @@
#ifndef __FGFONTCACHE_HXX
#define __FGFONTCACHE_HXX
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/sg_path.hxx>
#include <map>

View file

@ -4,7 +4,6 @@
#include <plib/pu.h>
#include <simgear/props/props.hxx>
#include <simgear/math/SGMath.hxx>
#include "layout.hxx"

View file

@ -5,7 +5,6 @@
#include "layout.hxx"
#include <simgear/math/SGMath.hxx>
// This file contains the actual layout engine. It has no dependence
// on outside libraries; see layout-props.cxx for the glue code.

View file

@ -28,7 +28,6 @@
#include "FGButton.hxx"
#include <simgear/math/SGMath.hxx>
FGButton::FGButton ()
: is_repeatable(false),

View file

@ -30,8 +30,6 @@
#include <Main/globals.hxx>
#include <Main/fg_os.hxx>
#include <simgear/math/SGMath.hxx>
using simgear::PropertyList;
using std::string;

View file

@ -26,8 +26,6 @@
# include <config.h>
#endif
#include <simgear/math/SGMath.hxx>
#include "FGDeviceConfigurationMap.hxx"
#include <simgear/misc/sg_dir.hxx>

View file

@ -29,6 +29,7 @@
#include <Main/fg_props.hxx>
#include <simgear/io/sg_file.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/math/SGMath.hxx>
#include <Scripting/NasalSys.hxx>
using simgear::PropertyList;

View file

@ -9,6 +9,7 @@
#include <simgear/compiler.h>
#include <simgear/sg_inlines.h>
#include <simgear/math/SGMath.hxx>
#include <iostream>
#include <string>
#include <sstream>

View file

@ -12,6 +12,7 @@
#include <simgear/compiler.h>
#include <simgear/sg_inlines.h>
#include <simgear/math/SGMath.hxx>
#include <iostream>
#include <string>
#include <sstream>

View file

@ -14,11 +14,13 @@
#include <string>
#include <sstream>
#include "heading_indicator_fg.hxx"
#include <Main/fg_props.hxx>
#include <Main/util.hxx>
#include <simgear/magvar/magvar.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>
#include <Main/util.hxx>
#include "heading_indicator_fg.hxx"
using std::string;

View file

@ -11,11 +11,13 @@
#endif
#include <simgear/sg_inlines.h>
#include <simgear/math/SGMath.hxx>
#include "mag_compass.hxx"
#include <Main/fg_props.hxx>
#include <Main/util.hxx>
#include "mag_compass.hxx"
MagCompass::MagCompass ( SGPropertyNode *node )
: _error_deg(0.0),

View file

@ -12,7 +12,7 @@
#include <simgear/compiler.h>
#include <simgear/sg_inlines.h>
#include <simgear/math/SGMath.hxx>
#include <iostream>
#include <string>

View file

@ -23,8 +23,6 @@
# include <config.h>
#endif
#include "navradio.hxx"
#include <sstream>
#include <cstring>
@ -35,6 +33,7 @@
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/math/interpolater.hxx>
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/strutils.hxx>
#include <Navaids/navrecord.hxx>
@ -43,6 +42,8 @@
#include <Navaids/navlist.hxx>
#include <Main/util.hxx>
#include "navradio.hxx"
using std::string;
// General-purpose sawtooth function. Graph looks like this:

View file

@ -50,7 +50,6 @@
#include <simgear/compiler.h>
#include <simgear/structure/exception.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/SGMath.hxx>
#include <cstring>
#include <iostream>

View file

@ -10,7 +10,6 @@
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/props/tiedpropertylist.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/globals.hxx>

View file

@ -14,7 +14,6 @@
#include <simgear/props/props.hxx>
#include <simgear/scene/model/modellib.hxx>
#include <simgear/scene/util/SGNodeMasks.hxx>
#include <simgear/math/SGMath.hxx>
#include "panelnode.hxx"
#include "model_panel.hxx"

View file

@ -34,6 +34,7 @@
#include <simgear/misc/stdint.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>

View file

@ -26,7 +26,6 @@
#include <simgear/io/sg_netChat.hxx>
#include <simgear/structure/commands.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/math/SGMath.hxx>
#include <sstream>

View file

@ -46,7 +46,6 @@
#include <fstream>
#include <string>
#include <simgear/math/SGMath.hxx>
#include <simgear/io/raw_socket.hxx>
#include <simgear/scene/tsync/terrasync.hxx>

View file

@ -15,7 +15,6 @@
#ifndef __FGFONTCACHE_HXX
#define __FGFONTCACHE_HXX
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props.hxx>

View file

@ -21,7 +21,6 @@
#include "FGGLApplication.hxx"
#include "FGPanelProtocol.hxx"
#include <simgear/math/SGMath.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/props/props.hxx>

View file

@ -17,7 +17,6 @@
//
#ifndef __FGPANELPROTOCOL_HXX
#define __FGPANELPROTOCOL_HXX
#include <simgear/math/SGMath.hxx>
#include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/props/props.hxx>
#include <simgear/io/iochannel.hxx>

View file

@ -40,7 +40,6 @@
#include <plib/fnt.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/sg_path.hxx>
#include "panel.hxx"

View file

@ -29,7 +29,6 @@
#include <string.h> // for strcmp()
#include <simgear/compiler.h>
#include <simgear/math/SGMath.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>