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

Opcode string params handling tweaked #76

Merged
merged 18 commits into from
Mar 1, 2024

Conversation

MiranDMC
Copy link
Collaborator

Restored original behavior of CLEO_ReadStringPointerOpcodeParam sdk export.
Restored separated internal buffers for CLEO_ReadStringOpcodeParam and CLEO_ReadStringPointerOpcodeParam sdk exports. Updated opcode param string read util macro to reflect old CLEO general approach and try to use raw source text data whenever possible.
Optimized out unnecessary text copying to internal buffer.

Fixes problem with RZML Trainer

@MiranDMC MiranDMC requested a review from x87 February 27, 2024 20:53
cleo_sdk/CLEO_Utils.h Outdated Show resolved Hide resolved
@MiranDMC MiranDMC force-pushed the CLEO_read_string_exports_rework branch from 6c19057 to 35754a8 Compare February 29, 2024 03:02
cleo_sdk/CLEO_Utils.h Outdated Show resolved Hide resolved
source/CCustomOpcodeSystem.cpp Outdated Show resolved Hide resolved
source/CCustomOpcodeSystem.cpp Outdated Show resolved Hide resolved
cleo_sdk/CLEO_Utils.h Outdated Show resolved Hide resolved
source/CCustomOpcodeSystem.cpp Outdated Show resolved Hide resolved
@MiranDMC MiranDMC force-pushed the CLEO_read_string_exports_rework branch from f2d056f to f761bdf Compare March 1, 2024 05:35
source/CCustomOpcodeSystem.cpp Outdated Show resolved Hide resolved
cleo_sdk/CLEO_Utils.h Outdated Show resolved Hide resolved
source/CScriptEngine.h Outdated Show resolved Hide resolved
Copy link

@x87 x87 left a comment

Choose a reason for hiding this comment

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

It was intense, but the end result looks great! Thanks!

@MiranDMC MiranDMC merged commit 9adbfbf into master Mar 1, 2024
@MiranDMC MiranDMC deleted the CLEO_read_string_exports_rework branch March 1, 2024 09:39
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.

2 participants