]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIManager.hxx
Merge branch 'next' into navaids-radio
[flightgear.git] / src / AIModel / AIManager.hxx
index d08bf17f0a4eebb5dc2f003345edd0f6e771000d..fad76a63d032f3b09c0940a9a1870aa7cbaf8f40 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/structure/SGSharedPtr.hxx>
+#include <simgear/props/props_io.hxx>
 
 #include <Main/fg_props.hxx>
 
@@ -53,7 +54,7 @@ public:
     ai_list_type ai_list;
 
     inline const ai_list_type& get_ai_list() const {
-        SG_LOG(SG_GENERAL, SG_DEBUG, "AI Manager: AI model return list size " << ai_list.size());
+        SG_LOG(SG_AI, SG_DEBUG, "AI Manager: AI model return list size " << ai_list.size());
         return ai_list;
     }
 
@@ -66,6 +67,7 @@ public:
     void bind();
     void unbind();
     void update(double dt);
+    void updateLOD(SGPropertyNode* node);
     void attach(FGAIBase *model);
 
     void destroyObject( int ID );
@@ -135,6 +137,8 @@ private:
     double strength;
     void processThermal( FGAIThermal* thermal ); 
 
+    SGPropertyChangeCallback<FGAIManager> cb_ai_bare;
+    SGPropertyChangeCallback<FGAIManager> cb_ai_detailed;
 };
 
 #endif  // _FG_AIMANAGER_HXX