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

Add support for member function definitions to the compiler #565

Closed
krzys-h opened this issue Sep 21, 2021 · 2 comments · May be fixed by #1707
Closed

Add support for member function definitions to the compiler #565

krzys-h opened this issue Sep 21, 2021 · 2 comments · May be fixed by #1707
Labels
compiler Problems with the compiler enhancement New feature or request

Comments

@krzys-h
Copy link
Member

krzys-h commented Sep 21, 2021

This is used by all scripts in GMS2.3+ as well as normal member functions

For a code sample, see all global scripts and gml_Object_obj_darkfountain_Create_0 in DRCh2.

@krzys-h krzys-h added enhancement New feature or request compiler Problems with the compiler labels Sep 21, 2021
@Jacky720
Copy link
Contributor

Partially resolved; scripts can be compiled, but without changing the offsets in the anonymous script entries, having multiple functions in one script can break. Does that qualify to close this issue, especially considering the other issues on the topic?

@colinator27
Copy link
Member

Support for this is implemented in #2056, going to close this as that should be merged in after testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Problems with the compiler enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants