-
Notifications
You must be signed in to change notification settings - Fork 6
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
Reimplement native methods for reading and storing opcode parameters #165
base: master
Are you sure you want to change the base?
Conversation
@@ -28,6 +28,7 @@ namespace CLEO | |||
{ 0x00465AA0, memory_und, 0x00465AA0, 0x00465B20, 0x0046B2C0 }, // MA_STOP_SCRIPT_FUNCTION, | |||
{ 0x00465E60, memory_und, 0x00465E60, 0x00465EE0, 0x0046B640 }, // MA_SCRIPT_OPCODE_HANDLER0_FUNCTION, | |||
{ 0x00464080, memory_und, 0x00464080, 0x00464100, 0x00469790 }, // MA_GET_SCRIPT_PARAMS_FUNCTION, | |||
{ 0x00464250, memory_und, memory_und, memory_und, memory_und }, // MA_GET_NEXT_SCRIPT_PARAM_NO_UPDATE_FUNCTION, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it is time to add check for US 1.0 version and throw error message for others.
@@ -6,6 +6,7 @@ namespace CLEO | |||
{ | |||
CCleoInstance CleoInstance; | |||
CCleoInstance& GetInstance() { return CleoInstance; } | |||
std::stack<int> CleoStack; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it should hold SCRIPT_VAR type. Also what with the strings?
Named temp variable stack
or something like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strings are out of scope for now
No description provided.