#ifndef _HITCH_HPP
#define _HITCH_HPP
+#include <string>
+
#include <Main/fg_props.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
namespace yasim {
void integrate (float dt);
- const char *getConnectedPropertyNode() const;
+ std::string getConnectedPropertyNode() const;
void setConnectedPropertyNode(const char *nodename);
private:
float _forceMagnitude;
double _global_ground[4];
float _global_vel[3];
- char _name[256];
+ //char _name[256];
State* _state;
float _dist;
float _timeLagCorrectedDist;
SGPropertyNode_ptr _towEndNode;
- const char *_towEndPropertyName;
+ //const char *_towEndPropertyName;
bool _towEndIsConnectedToProperty;
bool _nodeIsMultiplayer;
bool _nodeIsAiAircraft;
bool _last_wish;
SGPropertyNode_ptr _node;
+ simgear::TiedPropertyList _tiedProperties;
};
}; // namespace yasim