<File
RelativePath="..\..\src\AIModel\AICarrier.hxx">
</File>
+ <File
+ RelativePath="..\..\src\AIModel\AIEscort.cxx">
+ </File>
+ <File
+ RelativePath="..\..\src\AIModel\AIEscort.hxx">
+ </File>
+
<File
RelativePath="..\..\src\AIModel\AIFlightPlan.cxx">
</File>
RelativePath="..\..\..\src\AIModel\AICarrier.hxx"
>
</File>
+ <File
+ RelativePath="..\..\..\src\AIModel\AIEscort.cxx"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\src\AIModel\AIEscort.hxx"
+ >
+ </File>
<File
RelativePath="..\..\..\src\AIModel\AIFlightPlan.cxx"
>
#include <simgear/compiler.h>
-using std::string;
-using std::list;
-
#include "AIBase.hxx"
#include "AIShip.hxx"
virtual void reinit() { init(); }
virtual void update (double dt);
- void setParentName(const string& p);
+ void setParentName(const std::string& p);
void setParent();
void setStnRange(double r);
void setStnBrg(double y);
bool _MPControl, _patrol, _stn_deg_true;
- string _parent;
+ std::string _parent;
};
wxRadarBg::wxRadarBg(SGPropertyNode *node) :
-_name(node->getStringValue("name", "radar")),
-_num(node->getIntValue("number", 0)),
-_interval(node->getDoubleValue("update-interval-sec", 1.0)),
-_time(0.0),
-_sim_init_done(false),
-_odg(0),
-_last_switchKnob("off"),
-_resultTexture(0),
-_wxEcho(0),
-_antenna_ht(node->getDoubleValue("antenna-ht-ft", 0.0))
+ _name(node->getStringValue("name", "radar")),
+ _num(node->getIntValue("number", 0)),
+ _interval(node->getDoubleValue("update-interval-sec", 1.0)),
+ _time(0.0),
+ _sim_init_done(false),
+ _odg(0),
+ _last_switchKnob("off"),
+ _resultTexture(0),
+ _wxEcho(0),
+ _antenna_ht(node->getDoubleValue("antenna-ht-ft", 0.0))
{
string branch;
branch = "/instrumentation/" + _name;