Repository navigation
Clarify attack recruitment selection and improve assembly match - #239
Closed
Krarilotus wants to merge 26 commits into
Closed
Krarilotus wants to merge 26 commits into
Krarilotus wants to merge 26 commits into
Conversation
Contributor
Author
|
I fetched the current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The draft selector in #165 still carries decompiler temporaries, a numeric end pointer and
doloops. This change uses the declared eleven-entry role array, reads the named AIC/player fields at their use sites, and keeps the same eligibility, RNG and fallback behavior.The
RelWithDebInfoMSVC 2005 SP1 compile and link produced the DLL/PDB.reccmpagainst the specified SHC 1.41 reference improved from 76.9% to 97.1% forAICState::randomlySelectAttackUnitTypeToRecruitat0x004CC070. The remaining difference is one independentadd eax,eaxscheduled on the other side of an AIC maximum load; original function calls and global resolver addresses are excluded from the structural conclusion. The oldmt.exefaults while embedding the manifest on this Windows host, so the normal build command returns failure despite compiler/linker output; this local tool failure remains to be resolved before treating the full build as green.The wiki note explains what this selector reads and makes clear that engineer role totals are written elsewhere. This is an original-game reconstruction contribution related to UCP AIC issues #18/#20, not a UCP behavior patch or a runtime binding.