Xeeynamo / sotn-decomp

Decompilation of Castlevania: Symphony of the Night (PSX+Saturn)
https://sotn.xee.dev/
GNU Affero General Public License v3.0
508 stars 55 forks source link

Decompile tt_002 func_us_80173994 #1872

Closed Onenutmcgee closed 1 week ago

Onenutmcgee commented 1 week ago

This function was used all over the code so I just wanted to see what it was. It's a very small utility function that just sets animation data from the animation data array.

Matches both PSX and PSP

Onenutmcgee commented 1 week ago

Note: I was planning on doing another function in this PR, but the function I picked (and most of what is left) is a bit more complex and heavily uses the data structures, some of which appear to be nested with pointers. So I'll have to shift gears and do the data next I think to continue to make progress.

github-actions[bot] commented 1 week ago

STCEN hd

data 96.92% (+12.60%)

github-actions[bot] commented 1 week ago

STDRE us

data 97.45% (+0.05%)

STNO0 us

coverage 55.74% (-1.92%)

funcs 75.65% (-0.52%)

data 1.94% (-0.07%)

STNZ0 us

data 99.42% (-0.57%)

STST0 us

data 94.06% (-1.72%)

TT_002 us

coverage 56.38% (+0.26%)

funcs 74.19% (+3.23%)

data 5.40% (-0.41%)

github-actions[bot] commented 1 week ago

TT_002 us

coverage 56.38% (+0.26%)

funcs 74.19% (+3.23%)

data 5.40% (-0.41%)