-
Notifications
You must be signed in to change notification settings - Fork 647
Document EnGo and EnGo2 functions, fields, and animations
#2295
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
Open
Feacur
wants to merge
77
commits into
zeldaret:main
Choose a base branch
from
Feacur:doc/actor_goron
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+842
−771
Open
Changes from 71 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
d3eedf6
Document `func_8002F368` as `Player_GetExchangeItemId`
Feacur f249068
Document Goron's limbs
Feacur a71747b
Document Goron's limbs' display lists
Feacur b3b6b28
Document non-limb display lists
Feacur ba0bb10
just align attributes
Feacur 40203d0
Document animations
Feacur 60b8664
remove unused EnGo callbacks
Feacur 3411f1e
redocument EnGo subtypes as an enum
Feacur 687e70e
Document EnGo path param
Feacur 78d0d41
Document EnGo opening Goron's cage
Feacur 8784c81
Document `func_80A3F0E4` as `EnGo_UpdateBlinking`
Feacur 46a13d5
streamline EnGo `*_Draw` function into 3 sections
Feacur bbf4225
Document bouncing in `EnGo_IsRollingOnGround`
Feacur 3be6be5
Document EnGo `.unk_218` as `.waypoint`
Feacur 87097be
Document EnGo `.unk_20E` as `.knockbackCooldown`
Feacur 9de2038
Document EnGo `.unk_212` as `.attentionCooldown`
Feacur 91d1382
Document EnGo `.unk_21E` as `.eyedropsTimer`
Feacur 705ff1b
Document EnGo `.unk_210` as `.curledTimer`
Feacur 8fb7fc2
Document EnGo `.unk_20C` as `.gaveSword`
Feacur 4a793fa
`EnGo_IsCameraModified` -> `EnGo_IsAttentionDrawn`
Feacur c794de2
Document EnGo play speed factor
Feacur d9bd40d
Document EnGo funtions based on the context
Feacur 686f367
prepare EnGo2's `*_Draw` function
Feacur 2cc0e12
Document bouncing in `EnGo2_IsRollingOnGround`
Feacur 4ecd12d
Document EnGo2 `.unk_211` as `.isUncurled`
Feacur 50d3b84
Document EnGo2 `.unk_216` as `.reverseWaypoint`
Feacur 7f30ab6
redocument EnGo2 message states
Feacur 960c8b5
move EnGo2 `.goronState` comments to the TU
Feacur 3b0e2ce
redocument EnGo2 `.alpha` as `.shadowAlpha`
Feacur 787b260
`EnGo2_IsCameraModified`->`EnGo2_IsAttentionDrawn`
Feacur 7510ed0
redocument EnGo2 subtypes as an enum
Feacur 98afe53
Document EnGo2 path param
Feacur 9be708d
Document EnGo2 opening Goron's cage
Feacur fc1009a
Document EnGo2 known data
Feacur b908614
Document EnGo2 funtions based on the context
Feacur 41b9cd0
rematch `EnGo2_StopRolling`
Feacur dbe0a46
unify EnGo2 waking up naming
Feacur 37569e2
Document `func_80A44790` as `EnGo2_UpdateTalking`
Feacur da79fb4
document `focusOffset` variables
Feacur 1c416be
rematch `EnGo2_UpdateTalking` a bit
Feacur 35d0d71
`EnGo2_IsCameraModified` -> `EnGo2_ShouldStay`
Feacur 7c1d6f5
rename `func_80A408D8` -> `EnGo_AttentionLost`
Feacur 17d5b2a
give better names to the attention switching funcs
Feacur 7f3642d
give better enum names
Feacur 77fde2c
rematch `EnGo2_RollingSlow`
Feacur 011cf6a
fix a misleading comment
Feacur 46648b4
name Hot Rodder consistently
Feacur 9fae0fa
make the `unused` comment a header
Feacur 57c4c76
document the nature of type values
Feacur a8dff36
remove unnecessary block braces
Feacur e2cda14
`CAGED_FLAG` -> `CAGED_SWITCH_FLAG`
Feacur fff6cf4
remove a [mis]leading zero
Feacur 2ab3f6b
remove unnecessary comment
Feacur e87bc05
use uniform naming between variables
Feacur 1fa1922
tweak `EnGo2_UpdateTalking` code and comments
Feacur 9115505
link two `if` parts with and `else`
Feacur 57951ed
Document `actor.params` bits allocation
Feacur 4063499
Document `actor.params` bits allocation
Feacur d891107
yeah, be less judgemental
Feacur 768297f
clarify "in range" of what it is
Feacur 423748a
use `BINANG` macros instead of hex values
Feacur fe53732
give a function a better name
Feacur 5ba85a3
name animation reversing func as such
Feacur 5d1bf77
follow the bugs documentation style guide
Feacur 771570a
give better names to rolling checks
Feacur bdf44ff
Merge branch 'main' into doc/actor_goron
Feacur 220007e
tweak animations' names
Feacur 6b3eebb
move defines into the headers
Feacur 96c9712
Merge branch 'main' into doc/actor_goron
Feacur e5c5c32
restore `func_8002F368` name
Feacur 2efe6fe
Merge branch 'main' into doc/actor_goron
Feacur 06e2226
Merge branch 'main' into doc/actor_goron
Feacur 3504b7d
apply a review suggestion
Feacur dee9afc
apply review suggestions
Feacur ea099ab
apply review suggestions
Feacur 8927dcd
Merge branch 'main' into doc/actor_goron
Feacur 7c29315
Merge branch 'main' into doc/actor_goron
Dragorn421 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,37 +1,78 @@ | ||
| <Root> | ||
| <!-- Goron --> | ||
| <File Name="object_oF1d_map" Segment="6"> | ||
| <!-- animations --> | ||
| <Animation Name="gGoronAnim_000750" Offset="0x750"/> | ||
| <Animation Name="gGoronAnim_000D5C" Offset="0xD5C"/> | ||
| <Animation Name="gGoronAnim_00161C" Offset="0x161C"/> | ||
| <Animation Name="gGoronAnim_001A00" Offset="0x1A00"/> | ||
| <Animation Name="gGoronAnim_0021D0" Offset="0x21D0"/> | ||
| <Animation Name="gGoronAnim_0029A8" Offset="0x29A8"/> | ||
| <Animation Name="gGoronAnim_002D80" Offset="0x2D80"/> | ||
| <Animation Name="gGoronAnim_003768" Offset="0x3768"/> | ||
| <Animation Name="gGoronAnim_0038E4" Offset="0x38E4"/> | ||
| <Animation Name="gGoronAnim_004930" Offset="0x4930"/> | ||
| <Animation Name="gGoronAnim_010590" Offset="0x10590"/> | ||
|
|
||
| <DList Name="gGoronDL_00BD80" Offset="0xBD80"/> | ||
| <DList Name="gGoronDL_00C140" Offset="0xC140"/> | ||
|
|
||
| <DList Name="gGoronDL_00FD40" Offset="0xFD40"/> | ||
| <DList Name="gGoronDL_00FD50" Offset="0xFD50"/> | ||
| <Animation Name="gGoronSobbingAnim" Offset="0x750"/> | ||
| <Animation Name="gGoronShakingAnim" Offset="0xD5C"/> | ||
| <Animation Name="gGoronUncurlToProneAnim" Offset="0x161C"/> | ||
| <Animation Name="gGoronProneAnim" Offset="0x1A00"/> | ||
| <Animation Name="gGoronScratchingAnim" Offset="0x21D0"/> | ||
| <Animation Name="gGoronWalkingAnim" Offset="0x29A8"/> | ||
| <Animation Name="gGoronEyedropsTakenAnim" Offset="0x2D80"/> | ||
| <Animation Name="gGoronCryingAnim" Offset="0x3768"/> | ||
| <Animation Name="gGoronEyeropsAnim" Offset="0x38E4"/> | ||
| <Animation Name="gGoronUncurlSitStandAnim" Offset="0x4930"/> | ||
| <Animation Name="gGoronSidestepAnim" Offset="0x10590"/> | ||
|
|
||
| <!-- skeleton, limb none --> | ||
| <Skeleton Name="gGoronSkel" Type="Flex" LimbType="Standard" Offset="0xFEF0"/> | ||
|
|
||
| <!-- limbs --> | ||
| <Limb Name="gGoronRootLimb" LimbType="Standard" Offset="0xFDE0"/> | ||
| <Limb Name="gGoronWaistLimb" LimbType="Standard" Offset="0xFDEC"/> | ||
| <Limb Name="gGoronLegsLimb" LimbType="Standard" Offset="0xFDF8"/> | ||
| <Limb Name="gGoronLeftThighLimb" LimbType="Standard" Offset="0xFE04"/> | ||
| <Limb Name="gGoronLeftShinLimb" LimbType="Standard" Offset="0xFE10"/> | ||
| <Limb Name="gGoronLeftFootLimb" LimbType="Standard" Offset="0xFE1C"/> | ||
| <Limb Name="gGoronRightThighLimb" LimbType="Standard" Offset="0xFE28"/> | ||
| <Limb Name="gGoronRightShinLimb" LimbType="Standard" Offset="0xFE34"/> | ||
| <Limb Name="gGoronRightFootLimb" LimbType="Standard" Offset="0xFE40"/> | ||
| <Limb Name="gGoronTorsoLimb" LimbType="Standard" Offset="0xFE4C"/> | ||
| <Limb Name="gGoronLeftArmLimb" LimbType="Standard" Offset="0xFE58"/> | ||
| <Limb Name="gGoronLeftForearmLimb" LimbType="Standard" Offset="0xFE64"/> | ||
| <Limb Name="gGoronLeftHandLimb" LimbType="Standard" Offset="0xFE70"/> | ||
| <Limb Name="gGoronRightArmLimb" LimbType="Standard" Offset="0xFE7C"/> | ||
| <Limb Name="gGoronRightForearmLimb" LimbType="Standard" Offset="0xFE88"/> | ||
| <Limb Name="gGoronRightHandLimb" LimbType="Standard" Offset="0xFE94"/> | ||
| <Limb Name="gGoronHeadLimb" LimbType="Standard" Offset="0xFEA0"/> | ||
|
|
||
| <!-- limb display lists --> | ||
| <DList Name="gGoronWaistDL" Offset="0x8708"/> | ||
| <DList Name="gGoronLeftThighDL" Offset="0x8C80"/> | ||
| <DList Name="gGoronLeftShinDL" Offset="0x8D70"/> | ||
| <DList Name="gGoronLeftFootDL" Offset="0x8EC0"/> | ||
| <DList Name="gGoronRightThighDL" Offset="0x87D0"/> | ||
| <DList Name="gGoronRightShinDL" Offset="0x88C0"/> | ||
| <DList Name="gGoronRightFootDL" Offset="0x8A10"/> | ||
| <DList Name="gGoronTorsoDL" Offset="0x6F90"/> | ||
| <DList Name="gGoronLeftArmDL" Offset="0x8218"/> | ||
| <DList Name="gGoronLeftForearmDL" Offset="0x83A0"/> | ||
| <DList Name="gGoronLeftHandDL" Offset="0x84E0"/> | ||
| <DList Name="gGoronRightArmDL" Offset="0x7D28"/> | ||
| <DList Name="gGoronRightForearmDL" Offset="0x7EB0"/> | ||
| <DList Name="gGoronRightHandDL" Offset="0x7FF0"/> | ||
| <DList Name="gGoronHeadDL" Offset="0x7458"/> | ||
|
|
||
| <!-- states display lists --> | ||
| <DList Name="gGoronCurledUpDL" Offset="0xBD80"/> | ||
| <DList Name="gGoronRollingDL" Offset="0xC140"/> | ||
|
|
||
| <!-- effects display lists --> | ||
| <DList Name="gGoronParticleMaterialDL" Offset="0xFD40"/> | ||
| <DList Name="gGoronParticleDL" Offset="0xFD50"/> | ||
|
|
||
| <!-- palettes --> | ||
| <Texture Name="object_oF1d_map_TLUT_00C640" OutName="tlut_0000C640" Format="rgba16" Width="16" Height="16" Offset="0xC640"/> | ||
|
|
||
| <!-- Eye textures --> | ||
| <Texture Name="gGoronCsEyeOpenTex" OutName="eye_open" Format="ci8" Width="32" Height="32" Offset="0xCE80" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsEyeHalfTex" OutName="eye_half" Format="ci8" Width="32" Height="32" Offset="0xD280" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsEyeClosedTex" OutName="eye_closed" Format="ci8" Width="32" Height="32" Offset="0xD680" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsEyeOpenTex" OutName="eye_open" Format="ci8" Width="32" Height="32" Offset="0xCE80" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsEyeHalfTex" OutName="eye_half" Format="ci8" Width="32" Height="32" Offset="0xD280" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsEyeClosedTex" OutName="eye_closed" Format="ci8" Width="32" Height="32" Offset="0xD680" TlutOffset="0xC640"/> | ||
Feacur marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <Texture Name="gGoronCsEyeClosed2Tex" OutName="eye_closed2" Format="ci8" Width="32" Height="32" Offset="0xDA80" TlutOffset="0xC640"/> | ||
|
|
||
| <!-- Mouth textures --> | ||
| <Texture Name="gGoronCsMouthNeutralTex" OutName="mouth_neutral" Format="ci8" Width="64" Height="32" Offset="0xDE80" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsMouthSmileTex" OutName="mouth_smile" Format="ci8" Width="64" Height="32" Offset="0xE680" TlutOffset="0xC640"/> | ||
| <Texture Name="gGoronCsMouthSmileTex" OutName="mouth_smile" Format="ci8" Width="64" Height="32" Offset="0xE680" TlutOffset="0xC640"/> | ||
|
|
||
| </File> | ||
| </Root> | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.