-
Notifications
You must be signed in to change notification settings - Fork 81
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
itemst vmethod update & housecleaning #653
Conversation
<vmethod ret-type='int32_t' name='calcBaseUniformScore'/> | ||
<vmethod><int32_t/><int32_t/><int32_t/></vmethod> | ||
<vmethod ret-type='int32_t'> <int32_t name='race_id'/><int32_t name='caste_id'/><int32_t name='maximum'/></vmethod> |
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.
no name for this one?
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.
nope. don't know what it does
df.items.xml
Outdated
@@ -623,46 +631,60 @@ | |||
<pointer name='u' type-name='unit'/> | |||
<pointer name='j' type-name='job'/> | |||
</vmethod> | |||
<vmethod><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/><int32_t/></vmethod> | |||
<vmethod><int32_t/></vmethod> | |||
<vmethod name='addImprovements'> |
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.
addImprovement
? I only see one
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 code may be able to add more than one improvement, and it is parallel with the subsequent method which definitely can add multiple improvements
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.
ok, i reviewed the one non-trivial implementation and it only adds one improvement, so we'll drop the 's'
i originally thought it could add two in some cases, but they're on opposite side of a test and i am pretty sure there's no code path where both get added
identified a significant number of anonymous vmethods in
itemst
also cleaned up the index numbers in the xml, they were badly out of whack