Clean-up some SGMath dependencies.
This commit is contained in:
parent
a524e654f9
commit
e59fabaf82
31 changed files with 21 additions and 29 deletions
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#endif
|
||||
|
||||
#include "logic.hxx"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <boost/tuple/tuple.hpp>
|
||||
|
||||
#include <simgear/props/props.hxx>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
#include <Main/fg_props.hxx>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#include <Main/fg_props.hxx>
|
||||
#include "environment_ctrl.hxx"
|
||||
#include "environment.hxx"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <cmath>
|
||||
#include <simgear/math/SGMisc.hxx>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#include <Main/fg_props.hxx>
|
||||
|
||||
namespace Environment {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <iostream>
|
||||
|
||||
#include <simgear/props/props.hxx>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// FGColor class.
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#ifndef __FGFONTCACHE_HXX
|
||||
#define __FGFONTCACHE_HXX
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#include <simgear/misc/sg_path.hxx>
|
||||
|
||||
#include <map>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <plib/pu.h>
|
||||
#include <simgear/props/props.hxx>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
#include "layout.hxx"
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include "FGButton.hxx"
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
FGButton::FGButton ()
|
||||
: is_repeatable(false),
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
#include <Main/globals.hxx>
|
||||
#include <Main/fg_os.hxx>
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
using simgear::PropertyList;
|
||||
using std::string;
|
||||
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
#include "FGDeviceConfigurationMap.hxx"
|
||||
|
||||
#include <simgear/misc/sg_dir.hxx>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <simgear/compiler.h>
|
||||
#include <simgear/sg_inlines.h>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <simgear/compiler.h>
|
||||
#include <simgear/sg_inlines.h>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <simgear/compiler.h>
|
||||
#include <simgear/sg_inlines.h>
|
||||
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include <simgear/structure/subsystem_mgr.hxx>
|
||||
#include <simgear/props/tiedpropertylist.hxx>
|
||||
#include <simgear/math/SGMath.hxx>
|
||||
|
||||
#include <Main/globals.hxx>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue