Skip to content

Figure out what to do about function pointers #3

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

Open
juanjp600 opened this issue Feb 11, 2025 · 0 comments
Open

Figure out what to do about function pointers #3

juanjp600 opened this issue Feb 11, 2025 · 0 comments

Comments

@juanjp600
Copy link
Owner

juanjp600 commented Feb 11, 2025

v0.0.15 introduces function pointers to replace Select statements in mp_updatenpcs and mp_updateevents. These function pointers are fed into uemp.dll's CallHandleFunction, which simply invokes them.

As far as I can tell, this requires modifying Blitz3D to allow passing functions around as if they were integers. So far I have not been able to find such a feature in ZiYueCommentary/Blitz3D.

I might need to fork the compiler to recreate this feature.

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