#include <simgear/scene/model/placement.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/structure/SGSharedPtr.hxx>
#include <simgear/scene/model/placement.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/structure/SGSharedPtr.hxx>
public:
enum object_type { otNull = 0, otAircraft, otShip, otCarrier, otBallistic,
public:
enum object_type { otNull = 0, otAircraft, otShip, otCarrier, otBallistic,
virtual void readFromScenario(SGPropertyNode* scFileNode);
virtual bool init(bool search_in_AI_path=false);
virtual void readFromScenario(SGPropertyNode* scFileNode);
virtual bool init(bool search_in_AI_path=false);
- osg::Node* load3DModel(const string& fg_root,
- const string &path,
- SGPropertyNode *prop_root,
- double sim_time_sec);
-
+ virtual osg::Node* load3DModel(const string &path,
+ SGPropertyNode *prop_root);
+