COF_BUILD: added donator fields in clientdata_t and usercmd_t structures #557
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.
I don't have time to review previous requests, hope everything would be stable for me close to start of winter, but I pushed this request as a hotfix before the release.
I did it right now via the web interface instead of how I usually do it with
Git CMD
due to circumstances, I hope everything is OK with the commit history. DON'T EXPECT FROM ME REBASE OR SOMETHING RIGHT NOW.If you want to know how to find these fields, I'll tell you:
delta.h
header in hw.dll from CoF in Ghidra/IDA ProDELTA_Init
function, the code there will look like this:delta_definition_t globalvariable[ARRAYSIZE]
g_ClientDataDefinition
has an array size of 0x39 (57)delta_definition_t g_ClientDataDefinition[57]
.After which you simply compare it with the data in the GoldSrc engine and make changes in your headers due to the corresponding fields.