8000 Adds Script System for adding paths to redscript compilation (REDmod compatible) by jackhumbert · Pull Request #21 · wopss/RED4ext · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adds Script System for adding paths to redscript compilation (REDmod compatible) #21

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

Merged
merged 22 commits into from
May 9, 2023

Conversation

jackhumbert
Copy link
Contributor
@jackhumbert jackhumbert commented Apr 29, 2023

Paths can be added via the Scripts::Add function in the sdk, during Load:

aSdk->scripts->Add(aHandle, L"module.reds");

Paths can either directories or files (handled by scc), relative to the plugin's folder, or absolute (mainly for testing/development).

This will also force script compilation when REDmods are enabled, which will cause double-compilation if cybercmd is installed - cybercmd is no longer needed for this scenario.

Copy link
Owner
@wopss wopss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I have some remarks and questions 🏃

Copy link
Owner
@wopss wopss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more remarks 🏃

jackhumbert and others added 2 commits May 8, 2023 15:34
Co-authored-by: Octavian Dima <3403191+WopsS@users.noreply.github.com>
@jackhumbert
Copy link
Contributor Author

Will this require an increment to the SDK version? Trying to figure out to specify that this functionality is needed on the plugin-side.

@wopss
Copy link
Owner
wopss commented May 9, 2023

We increase the API version, but still supports 0.3.0 since it is backwards compatible.

@wopss
Copy link
Owner
wopss commented May 9, 2023

Before merging this, we need a PR for the SDK.

jackhumbert and others added 2 commits May 9, 2023 13:17
Co-authored-by: Octavian Dima <3403191+WopsS@users.noreply.github.com>
@wopss wopss merged commit 4b71b23 into wopss:master May 9, 2023
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

Successfully merging this pull request may close these issues.

3 participants
0