Skip to content
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

Entirely removes BIND_VMETHOD in favor of GDVIRTUAL #51983

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

reduz
Copy link
Member

@reduz reduz commented Aug 22, 2021

  • _gui_input, _input, _unhandled_input and _unhandled_key_input are now regular C++ virutal functions.
  • Everything else converted to GDVIRTUAL
  • BIND_VMETHOD is gone, always use the new syntax from now on.

Creating _gui_input method and using the binder to register events will no longer work, simply override the virtual function now.

@reduz reduz requested review from a team as code owners August 22, 2021 15:49
@YeldhamDev YeldhamDev added this to the 4.0 milestone Aug 22, 2021
@reduz reduz requested a review from a team as a code owner August 22, 2021 16:27
scene/main/node.cpp Outdated Show resolved Hide resolved
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.

Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants