Fix export templates build errors

This commit is contained in:
Serhii Snitsaruk 2022-09-30 00:17:32 +02:00
parent eecf27fdf5
commit 9937f2463b
5 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,6 @@
#include "core/object.h" #include "core/object.h"
#include "modules/limboai/blackboard.h" #include "modules/limboai/blackboard.h"
#include "scene/main/node.h" #include "scene/main/node.h"
#include <pulse/proplist.h>
class BTPlayer : public Node { class BTPlayer : public Node {
GDCLASS(BTPlayer, Node); GDCLASS(BTPlayer, Node);

View File

@ -3,7 +3,7 @@
#ifndef BT_DYNAMIC_SELECTOR_H #ifndef BT_DYNAMIC_SELECTOR_H
#define BT_DYNAMIC_SELECTOR_H #define BT_DYNAMIC_SELECTOR_H
#import "bt_composite.h" #include "bt_composite.h"
#include "core/object.h" #include "core/object.h"
class BTDynamicSelector : public BTComposite { class BTDynamicSelector : public BTComposite {

View File

@ -3,7 +3,7 @@
#ifndef BT_DYNAMIC_SEQUENCE_H #ifndef BT_DYNAMIC_SEQUENCE_H
#define BT_DYNAMIC_SEQUENCE_H #define BT_DYNAMIC_SEQUENCE_H
#import "bt_composite.h" #include "bt_composite.h"
#include "core/object.h" #include "core/object.h"
class BTDynamicSequence : public BTComposite { class BTDynamicSequence : public BTComposite {

View File

@ -3,7 +3,7 @@
#ifndef BT_SEQUENCE_H #ifndef BT_SEQUENCE_H
#define BT_SEQUENCE_H #define BT_SEQUENCE_H
#import "bt_composite.h" #include "bt_composite.h"
#include "core/object.h" #include "core/object.h"
class BTSequence : public BTComposite { class BTSequence : public BTComposite {

View File

@ -97,9 +97,9 @@ void register_limboai_types() {
_limbo_utility = memnew(LimboUtility); _limbo_utility = memnew(LimboUtility);
ClassDB::register_class<LimboUtility>(); ClassDB::register_class<LimboUtility>();
Engine::get_singleton()->add_singleton(Engine::Singleton("LimboUtility", LimboUtility::get_singleton()));
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
Engine::get_singleton()->add_singleton(Engine::Singleton("LimboUtility", LimboUtility::get_singleton()));
EditorPlugins::add_by_type<LimboAIEditorPlugin>(); EditorPlugins::add_by_type<LimboAIEditorPlugin>();
#endif #endif