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

Squirrel: Default argument support for exposed C++ functions #3025

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 19, 2024

  1. Squirrel function default arguments support

    This PR updates `simplesquirrel` to a branch which supports exposing C++ functions (including class constructors) wtih default arguments. It's not yet been merged into simplesquirrel `master`, because the Squirrel branch used is also not `master`, so an important change to Squirrel parameter checking is included to allow for default argument support.
    
    Only the `Camera::scale()` and `scripting::Level::spawn()` functions were modified to support default arguments and their respective other functions were marked as deprecated. In case more functions are found suitable for this, this PR would be updated.
    Vankata453 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    589f37f View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Scripting documentation generator support

    [ci skip]
    Vankata453 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    4eb76e8 View commit details
    Browse the repository at this point in the history