-
Notifications
You must be signed in to change notification settings - Fork 149
unify: Merge common systems code needed for ParticleSystem #2180
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
unify: Merge common systems code needed for ParticleSystem #2180
Conversation
d608106 to
4f79927
Compare
| //------------------------------------------------------------------------------------------------- | ||
| void ScriptEngine::parseScriptCondition( INI* ini ) | ||
| { | ||
| } |
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.
The merged parse functions are intentionally left empty. To be merged fully another time.
| #define INT_TO_REAL(x) ((Real)(x)) | ||
|
|
||
| // once we've ceiled/floored, trunc and round are identical, and currently, round is faster... (srj) | ||
| #if RTS_GENERALS /*&& RETAIL_COMPATIBLE_CRC*/ |
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.
This is not ideal, but alright because BaseType.h cannot see RETAIL_COMPATIBLE_CRC. This code can be removed when we remove RETAIL_COMPATIBLE_CRC.
I do not know if ZH and GEN effectively produce the same code with the different functions and it is not worth the risk to guess.
Skyaero42
left a comment
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.
Looks good
Merge with Rebase
This change merges the code of several common systems needed for ParticleSystem. The merges are split into 4 commits.
Generals gets, among some other details
TODO