Alexander Montag
ad11f401b1
Generalize EDITOR_DEF macro to fix potential editor setting issues
...
This commit provides a generalized solution to ensure editor settings are
properly initialized and available in both module and GDExtension versions.
While #204 fixed the specific issue with 'limbo_ai/editor/layout', this change
aims to prevent similar problems for all editor settings.
In particular, `limbo_ai/editor/prefer_online_documentation` was also not
available.
Changes:
- Updated EDITOR_DEF macro to handle both module and GDExtension cases
- Remove special case for `limbo_ai/editor/layout` in
LimboAiEditorPlugin from earlier fix.
2024-09-03 16:37:54 +02:00
Serhii Snitsaruk
5a4893fc53
Editor setting to prefer online docs, and open builtin docs by default
2024-08-05 15:46:02 +02:00
Serhii Snitsaruk
fc26f51ff2
Implement BTInstance - runtime instance of BehaviorTree
2024-08-03 11:07:06 +02:00
Serhii Snitsaruk
cd0bc8e796
Register and call virtual methods on scripts in GDExtension
2024-06-30 12:34:06 +02:00
Serhii Snitsaruk
990438db55
Handle built-in resources in "Jump to owner" tab action
2024-05-29 18:27:55 +02:00
Serhii Snitsaruk
a0cd983927
Editor: Fix "jump to owner" from subtree and refactor
2024-05-29 10:53:54 +02:00
Serhii Snitsaruk
5dff2e537b
Add `agent` parameter to `BTPlayer` to propagate upon `BehaviorTree` initialization, and add `scene_root` property to `BTTask`
...
`scene_root` is useful to resolve exported NodePath properties in `BTTask` instances (and for BBNode parameters).
2024-05-01 23:20:17 +02:00
Serhii Snitsaruk
302de87e32
Prevent using external resources for derived blackboard plans in `BTPlayer` and `BTState`
2024-04-01 15:25:54 +02:00
Serhii Snitsaruk
c81c1ec872
Blackboard: Add variable-to-property binding interface
2024-01-27 21:44:58 +01:00
Serhii Snitsaruk
5fee89b00b
Make blackboard improvements compatible with GDExtension
2024-01-25 19:46:27 +01:00
Serhii Snitsaruk
8c67886b52
Parsing BlackboardSource properties
2024-01-23 15:31:56 +01:00
Serhii Snitsaruk
a3f8c09766
Use the new virtual workaround and rework LimboState and HSM
2024-01-18 11:33:24 +01:00
Serhii Snitsaruk
390d4a9385
New and improved workaround for the missing ClassDB::add_virtual_method
2024-01-17 22:46:48 +01:00
Serhii Snitsaruk
c63785b5bc
CallMethod: Use array of BBVariant to specify arguments
...
This allows specifying variables on the blackboard as arguments in additions to raw values.
WARNING: Breaks compatibility if you are using CallMethod tasks. CallMethod arguments in existing trees will need to be reassigned!
2024-01-15 21:51:17 +01:00
Serhii Snitsaruk
c875f9d5d6
Fix BTState virtuals not being called
2024-01-13 19:08:34 +01:00
Serhii Snitsaruk
f546e285b7
Refactor and clean up the code
2024-01-13 17:10:42 +01:00
Serhii Snitsaruk
eec085278a
Fix name generation broken in module
2024-01-13 13:35:16 +01:00
Serhii Snitsaruk
e6c87be723
Fix various bugs and unit tests
2024-01-11 00:31:42 +01:00
Serhii Snitsaruk
0e37d3dfa3
Fix module compilation
2024-01-10 22:45:42 +01:00
Serhii Snitsaruk
68b2aaf9d5
Fix IS_CLASS macro not working as expected
2024-01-10 13:33:42 +01:00
Serhii Snitsaruk
966199e8dc
Fix: Weird name showing on the tasks
2024-01-09 22:06:56 +01:00
Serhii Snitsaruk
a9a38bbffb
Port debugger
2024-01-09 21:47:22 +01:00
Serhii Snitsaruk
b07fb71359
Fix documentation related crash
2024-01-09 16:25:28 +01:00
Serhii Snitsaruk
d1030b877c
Project config file macro
2024-01-09 15:23:02 +01:00
Serhii Snitsaruk
59a8ab97d8
chore: Rename macro LSNAME to LW_NAME
2024-01-09 13:42:54 +01:00
Serhii Snitsaruk
9645baeb30
Port LimboAI plugin and editor
2024-01-09 13:34:24 +01:00