X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIManager.hxx;h=fad76a63d032f3b09c0940a9a1870aa7cbaf8f40;hb=1c5eb0fb3e66c5c3bcc021310c97ea6d208c4b84;hp=d08bf17f0a4eebb5dc2f003345edd0f6e771000d;hpb=a5eba61c2a756687b3d1e4354a61ca12e4df92bf;p=flightgear.git diff --git a/src/AIModel/AIManager.hxx b/src/AIModel/AIManager.hxx index d08bf17f0..fad76a63d 100644 --- a/src/AIModel/AIManager.hxx +++ b/src/AIModel/AIManager.hxx @@ -27,6 +27,7 @@ #include #include +#include #include
@@ -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 cb_ai_bare; + SGPropertyChangeCallback cb_ai_detailed; }; #endif // _FG_AIMANAGER_HXX