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

Idea: Add an "ASI" Build configuration to the main template #9

Open
igromanru opened this issue Oct 13, 2023 · 0 comments
Open

Idea: Add an "ASI" Build configuration to the main template #9

igromanru opened this issue Oct 13, 2023 · 0 comments

Comments

@igromanru
Copy link

igromanru commented Oct 13, 2023

It would be really helpful, if it would be possible just to "build" an ASI from main project.
To differentiate, you could define something like #define BUILD_ASI, if the use switches to the ASI build configuration, then with #ifdef you can load different includes and set different defines.

Also the ASI loader callback's a specific export function called InitializeASI from the plugin dll.

extern "C" __declspec(dllexport) void InitializeASI()
{
}

This way it can be easy differentiate, if your code if called by SFSE or ASI loader.

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