-
-
Notifications
You must be signed in to change notification settings - Fork 158
🚧 [WIP] reimplement all nodes in C++ #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bitbrain
wants to merge
24
commits into
v3
Choose a base branch
from
v3-nodes
base: v3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e0c1a61
add new nodes
bitbrain dcb7397
remove old Godot versions
bitbrain 3cdcef7
fix compile error
bitbrain a5fa3f6
fix gdextension
bitbrain 2f7da0b
rename BeehaveNode -> BeehaveTreeNode
bitbrain 48aa21e
add beehave context + license info
bitbrain 4ad288e
implement BeehaveContext (#300)
bitbrain 482fab8
expose BeehaveTree on context
bitbrain 5b441ca
remove tick method from tree
bitbrain 2167005
use double rather than float for delta
bitbrain f08c868
avoid cyclic dependencies through forward declaration
bitbrain 1168f86
implement child ticking
bitbrain 769f8aa
.clang formatting
bitbrain 406e75b
Beehave tree and blackboard improvements (#313)
bitbrain 395269d
Pass beehave tree tests (#314)
bitbrain cc07dc2
implement failer (#315)
bitbrain daccbe8
implement inverter (#316)
bitbrain ae0b4dc
fix icons
bitbrain afffd40
⚒️ Remaining decorators (#317)
bitbrain 1c5b2b9
V3 nodes composites (#360)
bitbrain 058096c
Add BeehaveSequence C++ implementation (#414)
LenNerd42 33d3e8a
Implement missing composites in C++ (#415)
LenNerd42 d25e4e9
Add hooks (before_run, after_run) and interrupts back in (#416)
LenNerd42 2c587c6
Add leaves in C++ (#417)
LenNerd42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #include "blackboard.h" | ||
|
|
||
| #include <godot_cpp/core/class_db.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| BeehaveBlackboard::BeehaveBlackboard() | ||
| { | ||
| count = 0; | ||
| } | ||
|
|
||
| BeehaveBlackboard::~BeehaveBlackboard() | ||
| { | ||
|
|
||
| } | ||
|
|
||
| void BeehaveBlackboard::_bind_methods() | ||
| { | ||
|
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #ifndef BEEHAVE_BLACKBOARD_H | ||
| #define BEEHAVE_BLACKBOARD_H | ||
|
|
||
| #include <godot_cpp/classes/node.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| class BeehaveBlackboard : public Node | ||
| { | ||
| GDCLASS(BeehaveBlackboard, Node); | ||
|
|
||
| protected: | ||
| static void _bind_methods(); | ||
|
|
||
| public: | ||
| BeehaveBlackboard(); | ||
| ~BeehaveBlackboard(); | ||
| }; | ||
|
|
||
| #endif // BEEHAVE_BLACKBOARD_H |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #include "node.h" | ||
bitbrain marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| #include <godot_cpp/core/class_db.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| BeehaveNode::BeehaveNode() | ||
| { | ||
|
|
||
| } | ||
|
|
||
| BeehaveNode::~BeehaveNode() | ||
| { | ||
|
|
||
| } | ||
|
|
||
| void BeehaveNode::_bind_methods() | ||
| { | ||
|
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #ifndef BEEHAVE_NODE_H | ||
| #define BEEHAVE_NODE_H | ||
|
|
||
| #include <godot_cpp/classes/node.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| class BeehaveNode : public Node | ||
| { | ||
| GDCLASS(BeehaveNode, Node); | ||
|
|
||
| protected: | ||
| static void _bind_methods(); | ||
|
|
||
| public: | ||
| BeehaveNode(); | ||
| ~BeehaveNode(); | ||
| }; | ||
|
|
||
| #endif // BEEHAVE_NODE_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #include "tree.h" | ||
|
|
||
| #include <godot_cpp/core/class_db.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| BeehaveTree::BeehaveTree() | ||
| { | ||
| count = 0; | ||
| } | ||
|
|
||
| BeehaveTree::~BeehaveTree() | ||
| { | ||
|
|
||
| } | ||
|
|
||
| void BeehaveTree::_bind_methods() | ||
| { | ||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #ifndef BEEHAVE_TREE_H | ||
| #define BEEHAVE_TREE_H | ||
|
|
||
| #include <godot_cpp/classes/node.hpp> | ||
|
|
||
| using namespace godot; | ||
|
|
||
| class BeehaveTree : public Node | ||
| { | ||
| GDCLASS(BeehaveTree, Node); | ||
|
|
||
| protected: | ||
| static void _bind_methods(); | ||
|
|
||
| public: | ||
| BeehaveTree(); | ||
| ~BeehaveTree(); | ||
| }; | ||
|
|
||
| #endif // BEEHAVE_TREE_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.