Commit Graph

28 Commits

Author SHA1 Message Date
Wilson E. Alvarez 224ceda390
Fix forbidden comparisons between Ref and nullptr.
Necessary when compiling with strict_checks=yes.

Due to upstream change:

	df29cc696f
2024-11-03 00:06:40 -04:00
Serhii Snitsaruk 689c8fab6f
Fix `BBNode::get_value()` crash with a freed object in GDExtension
It may be a bug in GDExtension. I optimized the code, and, as a workaround, removed casting to Object* from Variant. This fixed the issue. The same code worked well using module.
2024-09-14 19:30:28 +02:00
Serhii Snitsaruk 361eb3eb15
Fix compile-time errors with updated godot-cpp 2024-05-28 19:50:57 +02:00
Serhii Snitsaruk 064d00fdfa
Editor: Check if variable is of correct type for BBParam subtypes 2024-05-18 14:12:00 +02:00
Serhii Snitsaruk 506d8aa967
Use `scene_root` with `BBParam` 2024-05-01 23:39:09 +02:00
Serhii Snitsaruk c6bb5bad74
Fix: BBParam saved_value defaults to null 2024-05-01 18:09:06 +02:00
Serhii Snitsaruk 12fd9d00d6
Update file headers and fix whitespace 2024-03-21 21:38:57 +01:00
Serhii Snitsaruk 9e62fe8fa3
Fix `BBParam` stored value defaulting to `null` in GDExtension 2024-03-20 23:57:42 +01:00
Serhii Snitsaruk 4c26583007 Remove "p_" from the argument names in the `ClassDB` bindings 2024-03-04 21:36:16 +01:00
Serhii Snitsaruk 350c27abbc Change BB variable members to StringName 2024-03-04 12:54:45 +01:00
Serhii Snitsaruk 33b455f8d9 Add BBParam missing types 2024-01-19 17:15:22 +01:00
Serhii Snitsaruk 1648728e1b CallMethod: Update unit tests 2024-01-16 10:46:42 +01:00
Serhii Snitsaruk f546e285b7 Refactor and clean up the code 2024-01-13 17:10:42 +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 5b475b3273 Fix: BB params convert to "Wrapped..." 2024-01-09 22:23:38 +01:00
Serhii Snitsaruk 8eed672213 Port BBParam classes 2024-01-06 21:05:08 +01:00
Serhii Snitsaruk 106abe0b5a Add support for variant param editing and fix bug with ModeSwitchButton 2023-12-10 14:35:28 +01:00
Serhii Snitsaruk b4bef31df5 Add property editor for blackboard parameters 2023-12-08 21:56:14 +01:00
Serhii Snitsaruk d51be136e1 Hotfix 59b2f4 breaking things 2023-11-08 16:21:46 +01:00
Serhii Snitsaruk 59b2f4af3c Fix: Resetting BBVariant value sets it to NIL 2023-11-08 14:23:02 +01:00
Serhii Snitsaruk fe81b90dc1 Allow objects in BBNode 2023-09-05 11:00:58 +02:00
Serhii Snitsaruk 48a149dafa Improve tests for BTCheckVar 2023-09-03 10:47:37 +02:00
Serhii Snitsaruk 16b25fa760 Fix BBParam.get_value() not always returning proper default 2023-09-02 14:12:24 +02:00
Serhii Snitsaruk afe210b014 Update variables demo and small fixes 2023-08-08 15:07:02 +02:00
Serhii Snitsaruk b662c10513 Fix BBVariant inspector oddities 2023-08-07 14:29:58 +02:00
Serhii Snitsaruk 62e07e4395 Add MIT license - LimboAI is now Open Source! 2023-07-22 19:41:01 +02:00
Serhii Snitsaruk 5dc002098f Reorganize files and sort includes 2023-07-20 18:35:36 +02:00