Commit Graph

1134 Commits

Author SHA1 Message Date
Serhii Snitsaruk a7881a0eea
Rework HSM transitions bookkeeping
Fixes a potential rare hash collision situation, and allows additional
attributes to be stored with the transition data in future.
2024-07-21 13:28:59 +02:00
Serhii Snitsaruk 0934e4e672
Expose `LimboHSM.change_active_state()` 2024-07-20 18:15:21 +02:00
Serhii Snitsaruk ddbfa132a5
Update docs 2024-07-20 17:25:24 +02:00
Serhii Snitsaruk 7c57c7dd62
Add LimboHSM.remove_transition 2024-07-20 17:23:13 +02:00
Serhii Snitsaruk 3565d6dc43
Merge pull request #162 from ydeltastar/fix-btplayer-error
Fix error when opening scene with a `BTPlayer`
2024-07-18 05:22:33 +02:00
Serhii Snitsaruk 18ee21554e
Merge pull request #161 from ydeltastar/fix-new-script-path
Fix new task script path don't update after changing the setting
2024-07-17 20:17:00 +02:00
yds 7073db7bfa Fix error when loading scene with a `BTPlayer` 2024-07-17 13:25:58 -03:00
yds 3e5e34f5f8 Fix new task script path don't update after changing the setting 2024-07-10 13:23:48 -03:00
Serhii Snitsaruk 0f9c566a63
Merge pull request #159 from limbonaut/improve-tooltips
Improve documentation tooltips
2024-07-07 13:44:26 +02:00
Serhii Snitsaruk 86d31f5f00
Update demo documentation comments 2024-07-07 13:22:02 +02:00
Serhii Snitsaruk 5f40d38f8d
Add a hack to force documentation parsing on user scripts
As things currently stand in Godot Engine, documentation comments are
not loaded from user scripts into help system when the project is
started. This leads to empty tooltips for user tasks in LimboAI, unless
such a script is resaved.

This hack forces script documentation to be added to help system,
when the editor needs it to show a tooltip.
2024-07-07 12:13:07 +02:00
Serhii Snitsaruk 800bc8f16d
Tooltip improvements
- Fix tooltip not shown for scripted tasks in TaskPalette
- Allow following links in the tooltip text
- If help data cannot be found, an empty tooltip is shown instead
2024-07-06 16:46:55 +02:00
Serhii Snitsaruk 40acd04eb9
Fix tooltip popup too small 2024-07-06 12:33:08 +02:00
Serhii Snitsaruk f1af947060
Defer banner actions to not crash upon restart 2024-07-06 12:13:58 +02:00
Serhii Snitsaruk 5f5e4a28cc
Merge pull request #158 from limbonaut/fix-bbplan-arrays
Fix BlackboardPlan arrays shouldn't be shared between instanced agents
2024-07-06 11:12:11 +02:00
Serhii Snitsaruk 254a9ca943
Merge pull request #157 from limbonaut/task-palette-placement
Improved layout for wide displays (optional)
2024-07-06 10:08:01 +02:00
Serhii Snitsaruk 3ceedbebad
Fix BlackboardPlan arrays shouldn't be shared between instanced agents
Variable values are deep copied now using Variant.duplicate(true). Note that currently it doesn't duplicate objects.
2024-07-06 10:04:36 +02:00
Serhii Snitsaruk bc99965205
Fix compilation with GDExtension 2024-07-06 09:46:22 +02:00
Serhii Snitsaruk cfa1f70d79
Update banners upon editor settings changed 2024-07-06 09:38:33 +02:00
Serhii Snitsaruk 7c0d49bafa
Reparent banners if using new layout 2024-07-06 09:29:09 +02:00
Serhii Snitsaruk da9d80d110
Add Misc->Layout options 2024-07-06 09:18:50 +02:00
Serhii Snitsaruk 4787413cb6
Add header to the sidebar 2024-07-05 20:49:16 +02:00
Serhii Snitsaruk 2813728785
Fix connected signal error when loading BT for the second time 2024-07-05 20:32:53 +02:00
Serhii Snitsaruk 2973590533
Flip split offset setting if editor layout changed 2024-07-05 17:53:35 +02:00
Serhii Snitsaruk b74f664da6
Fix compilation issue with GDExtension 2024-07-05 17:24:32 +02:00
Serhii Snitsaruk 7baa395d3f
Rename to editor_layout 2024-07-05 17:02:29 +02:00
Serhii Snitsaruk b305041f28
Bump demo version 2024-07-04 21:25:00 +02:00
Serhii Snitsaruk 7d6cc1a828
Editor: Adjust layout to work better with task palette on the left 2024-07-04 21:16:35 +02:00
Serhii Snitsaruk 4d0d2c0507
Merge pull request #155 from dpalais/auto_translate_deprecated
Replace deprecated set_auto_translate call with set_auto_translate_mode
2024-07-02 20:25:11 +02:00
Dave Palais 4cba3b39db Replace deprecated set_auto_translate call with set_auto_translate_mode 2024-07-02 12:50:56 -05:00
Serhii Snitsaruk 872f7a4532
Editor: Add setting for task palette placement 2024-07-02 11:55:22 +02:00
Serhii Snitsaruk 6432dae35d
Merge pull request #154 from limbonaut/gha-improvements
GHA improvements
2024-07-01 19:11:02 +02:00
Serhii Snitsaruk ed19d787f6
GHA: Install Wayland deps for Linux builds 2024-07-01 15:02:07 +02:00
Serhii Snitsaruk e3305782f2
GHA: Build nothreads variant of web templates 2024-07-01 13:32:02 +02:00
Serhii Snitsaruk d98be526b6
Merge pull request #151 from limbonaut/gdext-gen-doc-header
Generate built-in documentation header in GDExtension variant
2024-06-30 15:56:49 +02:00
Serhii Snitsaruk ae3b4ebb94
Generate built-in documentation header in GDExtension 2024-06-30 15:40:18 +02:00
Serhii Snitsaruk 2f62b53b6a
Merge pull request #150 from limbonaut/fix-gdext-crash
Fix: GDExtension load fails due to `Expression` used without `Ref<>`
2024-06-30 14:47:39 +02:00
Serhii Snitsaruk 8dfbd70718
Fix: GDExtension load fails due to Expression used w/o Ref 2024-06-30 14:29:40 +02:00
Serhii Snitsaruk 4d4f0d7886
Merge pull request #149 from limbonaut/gdext-virt-calls
Register and call virtual methods on scripts in GDExtension
2024-06-30 13:07:41 +02:00
Serhii Snitsaruk cd0bc8e796
Register and call virtual methods on scripts in GDExtension 2024-06-30 12:34:06 +02:00
Serhii Snitsaruk 5e89a82743
Merge pull request #64 from Rubonnek/updates-for-4.3
Add support for Godot 4.3
2024-06-29 23:17:05 +02:00
Wilson E. Alvarez d2ca303c5e
Fix List<T> access
Due to upstream change:

	955d5affa8
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez fe597a5a46
Fix GCC warning for unhandled 'PACKED_VECTOR4_ARRAY' in switch
Due to upstream change:

	f9b488508c
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez d20d28be78
Update EditorPlugin header location
Due to upstream change:

	1bcbbe96c4
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez 2f1fd6fb62
Update EditorHelpBit calls
Due to upstream change:

	a714cb9f65
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez 022d95434d
Add missing MarginContainer header
Due to upstream change:

	7884d63281
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez ce28ed92d2
Fix bottom panel visbility calls
Due to upstream change:

	eb6ca91ba6
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez 8f294ac5ea
Migrate to Tree::set_custom_draw_callback
Due to upstream change:

	a32a2eaedc
2024-06-29 14:52:05 -04:00
Wilson E. Alvarez 9410031d45
Fix upstream EditorScale header locations
Due to upstream change:

	4b55c81eba
2024-06-29 14:52:05 -04:00
Serhii Snitsaruk 61b2db5a07
Bump version to 1.2-dev 2024-06-29 16:53:30 +02:00