1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-05 23:44:53 +00:00

CC0 license (and some import cleanup)

This commit is contained in:
Dragorn421 2025-02-18 10:07:20 +01:00
parent ba29f9c2c6
commit 4ea01b24ae
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
27 changed files with 80 additions and 22 deletions

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from pprint import pprint as vanilla_pprint
try:

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import abc
import dataclasses
from functools import cache

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import dataclasses
import enum
from xml.etree.ElementTree import Element

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from xml.etree import ElementTree

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import dataclasses
import enum
from typing import Optional

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from . import extract_xml_z64
if __name__ == "__main__":

View file

@ -1,4 +1,6 @@
from __future__ import annotations
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from pathlib import Path
import abc
from dataclasses import dataclass

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import abc
import dataclasses
import io

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import abc
from dataclasses import dataclass

View file

@ -1,4 +1,6 @@
from __future__ import annotations
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import struct
import abc
from typing import Sequence, Any

View file

@ -1,5 +1,6 @@
from __future__ import annotations
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
if TYPE_CHECKING:

View file

@ -1,5 +1,5 @@
from __future__ import annotations
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING, Optional

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import enum
import io
from pathlib import Path

View file

@ -1,4 +1,6 @@
from __future__ import annotations
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import struct
from ..extase import (

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
if TYPE_CHECKING:

View file

@ -1,7 +1,7 @@
from __future__ import annotations
import enum
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import enum
from typing import TYPE_CHECKING
from .. import oot64_data

View file

@ -1,7 +1,8 @@
from __future__ import annotations
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import enum
import struct
import io
from typing import TYPE_CHECKING
if TYPE_CHECKING:

View file

@ -1,14 +1,13 @@
from __future__ import annotations
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from ..extase.memorymap import MemoryContext
from ..extase import (
RESOURCE_PARSE_SUCCESS,
ResourceParseWaiting,
ResourceParseInProgress,
)
from ..extase.cdata_resources import (

View file

@ -1,4 +1,6 @@
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
from ..extase import RESOURCE_PARSE_SUCCESS

View file

@ -1,5 +1,6 @@
from __future__ import annotations
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
if TYPE_CHECKING:

View file

@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import abc
import io
from typing import TYPE_CHECKING
from ..extase import (

View file

@ -1,4 +1,6 @@
import io
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import TYPE_CHECKING
from ..oot64_data.misc_ids import SKIN_LIMB_TYPES

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import dataclasses
from pathlib import Path

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
ROOT := ../../../../
DATA_FILES := actor_ids.py object_ids.py entrance_table_mini.py scene_table_mini.py

View file

@ -1,4 +1,6 @@
from __future__ import annotations
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import Sequence

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
from typing import Callable
from ..descriptor.base import ResourceDesc

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: © 2025 ZeldaRET
# SPDX-License-Identifier: CC0-1.0
import enum