Add missing files
Always a good idea to add all new files. This commit added the missing bindings that were mentioned before, they look something like this:
Ramblings about hobbyist game development
Add missing files
Always a good idea to add all new files. This commit added the missing bindings that were mentioned before, they look something like this:
Move the call to set a new target for a controllable object to the python script
After maintenance and stability commits, back to feature development!
What this slightly confusing commit message is trying to say is that we are finally not only calling Python code from C++, but also the other way around, calling C++ code from Python.
This is achieved by properly setting up bindings from some classes that are now callable via Python.
This commit was not as big in terms of changes, but the concepts that changed, from now on if the user is clicking somewhere the new movement target is no longer set directly in C++, instead it is going through Python for that:
Fix some clang-tidy warnings
A newer Clion version brings more clang-tidy, fix most of these.
Simplify code to remove unused widget data from the ui pipeline somewhat
This reads: use std::none_of instead of manually iterating over some things.
Do not use invalidated iterators
Another maintenance commit, this time meant to remedy some seemingly random renderer crashes. Some iterators would implicitly move even if the element they might point to next might have been invalidated already.