forked from kyx0r/FA-Binary-Patches
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix custom world rendering feature (#56)
* get worldview from argumet * use as separate function * draw only for dedicated worldview * pop the view table * add guards * Update README.md * add self as first argument * Update README.md * zaro all bytes there * add SetCustomRender * check for enabled * move up * Update README.md * move SetCustomRender implementation into DrawFunc * rename variable * remove flag * use types of Moho * pop garbage * Fix --------- Co-authored-by: KionX <>
- Loading branch information
Showing
5 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "../define.h" | ||
asm( | ||
".section h0; .set h0,0x86E5B2;" | ||
"mov [edi+0x178], ebx;" | ||
); | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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