mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-30 18:55:54 +00:00
handle dependencies between xmls
This commit is contained in:
parent
3dc74cde04
commit
6b857c6c71
108 changed files with 215 additions and 54 deletions
|
@ -247,7 +247,7 @@ def register_resource_handlers():
|
|||
def texture_resource_handler(
|
||||
file: File, resource_desc: n64resources.TextureResourceDesc
|
||||
):
|
||||
return dlist_resources.TextureResource(
|
||||
res = dlist_resources.TextureResource(
|
||||
file,
|
||||
resource_desc.offset,
|
||||
resource_desc.symbol_name,
|
||||
|
@ -256,6 +256,9 @@ def register_resource_handlers():
|
|||
resource_desc.width,
|
||||
resource_desc.height,
|
||||
)
|
||||
if "hackmode_ignore_orphaned_tlut" in resource_desc.hack_modes:
|
||||
res.HACK_ignore_orphaned_tlut = True
|
||||
return res
|
||||
|
||||
def ci_texture_resource_handler(
|
||||
file: File, resource_desc: n64resources.CITextureResourceDesc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue