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

Lua API objs not listed in Lua.cpp #6473

Open
MjnMixael opened this issue Dec 18, 2024 · 0 comments
Open

Lua API objs not listed in Lua.cpp #6473

MjnMixael opened this issue Dec 18, 2024 · 0 comments

Comments

@MjnMixael
Copy link
Contributor

Working on something else I came across this code comment

`/**

  • IMPORTANT!
  • For various compiler reasons, all scripting API classes and libraries need to be referenced here! The easiest way to
  • do this is to declare the API elements in the header with the DECLARE_* macros and then include them here
    */`

The code then includes most of the scripting/api/objs header files and all of the scripting/api/libs header files.

I could not get the newer GlobalVariables API library working without including the header in this file. However, I know that all of the current objs are working without being listed here so it's not clear if that's a requirement. If so, then it'd be a trivial task for someone to just go down the list and add the missing ones. We should also, in that case, make sure we have a way to ensure that's done in the future as well when new objs are added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant