1
0
mirror of synced 2025-01-31 12:13:49 +01:00

Juggle around some imports a little bit after the massive refactor.

This commit is contained in:
Jennifer Taylor 2021-05-30 04:16:08 +00:00
parent b864148c3e
commit 4785b01132
3 changed files with 6 additions and 3 deletions

View File

@ -21,6 +21,7 @@ from .swf import (
from .container import TXP2File, PMAN, Texture, TextureRegion, Unknown1, Unknown2 from .container import TXP2File, PMAN, Texture, TextureRegion, Unknown1, Unknown2
from .render import AFPRenderer from .render import AFPRenderer
from .types import Matrix, Color, Point, Rectangle, AP2Tag, AP2Action, AP2Object, AP2Pointer from .types import Matrix, Color, Point, Rectangle, AP2Tag, AP2Action, AP2Object, AP2Pointer
from .decompile import ByteCode, ByteCodeDecompiler
__all__ = [ __all__ = [
@ -58,4 +59,6 @@ __all__ = [
'AP2Action', 'AP2Action',
'AP2Object', 'AP2Object',
'AP2Pointer', 'AP2Pointer',
'ByteCode',
'ByteCodeDecompiler',
] ]

View File

@ -2,7 +2,7 @@ import multiprocessing
from PIL import Image # type: ignore from PIL import Image # type: ignore
from typing import Optional, Tuple from typing import Optional, Tuple
from ..types.generic import Color, Matrix, Point from ..types import Color, Matrix, Point
cdef extern struct floatcolor_t: cdef extern struct floatcolor_t:
float r; float r;

View File

@ -4,8 +4,8 @@ import unittest
from typing import Dict, List, Sequence, Tuple, Union from typing import Dict, List, Sequence, Tuple, Union
from bemani.tests.helpers import ExtendedTestCase from bemani.tests.helpers import ExtendedTestCase
from bemani.format.afp.types.ap2 import AP2Action, IfAction, JumpAction, PushAction, AddNumVariableAction, Register from bemani.format.afp.decompile import ByteCodeDecompiler, ByteCode, BitVector, ByteCodeChunk, ControlFlow
from bemani.format.afp.decompile import BitVector, ByteCode, ByteCodeChunk, ControlFlow, ByteCodeDecompiler, Statement from bemani.format.afp.types import AP2Action, IfAction, JumpAction, PushAction, AddNumVariableAction, Register, Statement
OPEN_BRACKET = "{" OPEN_BRACKET = "{"