Fix includes and build errors
This commit is contained in:
parent
39c4511249
commit
06ebff7518
|
@ -276,13 +276,14 @@ void BlackboardPlan::sync_with_base_plan() {
|
|||
List<Pair<StringName, BBVariable>>::Element *B = base->var_list.front();
|
||||
for (List<Pair<StringName, BBVariable>>::Element *E = var_list.front(); E; E = E->next()) {
|
||||
if (E->get().first != B->get().first) {
|
||||
List<Pair<StringName, BBVariable>>::Element *F = E;
|
||||
while ((F = F->next())) {
|
||||
List<Pair<StringName, BBVariable>>::Element *F = E->next();
|
||||
while (F) {
|
||||
if (F->get().first == B->get().first) {
|
||||
var_list.move_before(F, E);
|
||||
E = F;
|
||||
break;
|
||||
}
|
||||
F = F->next();
|
||||
}
|
||||
}
|
||||
B = B->next();
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
#ifdef LIMBOAI_MODULE
|
||||
#include "core/debugger/engine_debugger.h"
|
||||
#include "core/error/error_macros.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/variant/variant.h"
|
||||
#endif // LIMBOAI_MODULE
|
||||
|
||||
#ifdef LIMBOAI_GDEXTENSION
|
||||
|
|
|
@ -11,16 +11,6 @@
|
|||
|
||||
#include "limbo_hsm.h"
|
||||
|
||||
#ifdef LIMBOAI_MODULE
|
||||
#include "core/config/engine.h"
|
||||
#include "core/error/error_macros.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/object.h"
|
||||
#include "core/typedefs.h"
|
||||
#include "core/variant/callable.h"
|
||||
#include "core/variant/variant.h"
|
||||
#endif // LIMBOAI_MODULE
|
||||
|
||||
VARIANT_ENUM_CAST(LimboHSM::UpdateMode);
|
||||
|
||||
void LimboHSM::set_active(bool p_active) {
|
||||
|
|
|
@ -14,16 +14,10 @@
|
|||
#include "../util/limbo_compat.h"
|
||||
|
||||
#ifdef LIMBOAI_MODULE
|
||||
#include "core/error/error_macros.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/object.h"
|
||||
#include "core/typedefs.h"
|
||||
#include "core/variant/array.h"
|
||||
#include "core/variant/callable.h"
|
||||
#include "core/variant/variant.h"
|
||||
#endif // LIMBOAI_MODULE
|
||||
|
||||
#ifdef LIMBOAI_GDEXTENSION
|
||||
#include <godot_cpp/classes/engine.hpp>
|
||||
#endif
|
||||
|
||||
void LimboState::set_blackboard_plan(const Ref<BlackboardPlan> &p_plan) {
|
||||
|
|
|
@ -19,13 +19,6 @@
|
|||
#include "../util/limbo_string_names.h"
|
||||
|
||||
#ifdef LIMBOAI_MODULE
|
||||
#include "core/object/gdvirtual.gen.inc"
|
||||
#include "core/object/object.h"
|
||||
#include "core/string/string_name.h"
|
||||
#include "core/string/ustring.h"
|
||||
#include "core/templates/hash_map.h"
|
||||
#include "core/variant/callable.h"
|
||||
#include "core/variant/variant.h"
|
||||
#include "scene/main/node.h"
|
||||
#endif // LIMBOAI_MODULE
|
||||
|
||||
|
|
Loading…
Reference in New Issue