mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +01:00
e9176cb08f
* bss * 3 audios * d5a50 stuff * some icon funcs * get_icon_render_pos * PlayerLandJump * func_80248170 * cleanup * splat update prep * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "81c4b35b89" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "81c4b35b89" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "9b791a654a" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "9b791a654a" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "2cf2a5e5d8" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "2cf2a5e5d8" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * fix loop in PaperMarioNpcSprites * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "2fab217750" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "2fab217750" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * add sha1 to yaml * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "426b08200d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "426b08200d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * varTable -> union :( + player_api funcs * 6 more * 4 more * 5 mo * 1 mo * 1 mo 2 * 5 mo * player_jump * 3 mo * some 18F340 * 6 more * 6 mo * nm * 1 * 1 more * some PR feedback * symbol addr update * UnsetCamera0Flag1000 * SetPlayerSpriteSet2 * action 18 * encounter + a smol hammer * git subrepo pull (merge) tools/splat subrepo: subdir: "tools/splat" merged: "8cf482fe57" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "4c0a93eaed" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * 3 and cleanup * undo yucky union * PR comments * get_enemy_safe * cleanup * move VirtualEntity * attempt to fix doxygen
73 lines
2.9 KiB
Python
73 lines
2.9 KiB
Python
from collections import namedtuple
|
|
from typing import Any, Optional
|
|
|
|
Resolution = namedtuple('Resolution', 'x y unit_is_meter')
|
|
|
|
class Error(Exception): ...
|
|
class FormatError(Error): ...
|
|
class ProtocolError(Error): ...
|
|
class ChunkError(FormatError): ...
|
|
class Default: ...
|
|
|
|
class Writer:
|
|
width: Any = ...
|
|
height: Any = ...
|
|
transparent: Any = ...
|
|
background: Any = ...
|
|
gamma: Any = ...
|
|
greyscale: Any = ...
|
|
alpha: Any = ...
|
|
colormap: Any = ...
|
|
bitdepth: Any = ...
|
|
compression: Any = ...
|
|
chunk_limit: Any = ...
|
|
interlace: Any = ...
|
|
palette: Any = ...
|
|
x_pixels_per_unit: Any = ...
|
|
y_pixels_per_unit: Any = ...
|
|
unit_is_meter: Any = ...
|
|
color_type: Any = ...
|
|
color_planes: Any = ...
|
|
planes: Any = ...
|
|
psize: Any = ...
|
|
def __init__(self, width: Optional[Any] = ..., height: Optional[Any] = ..., size: Optional[Any] = ..., greyscale: Any = ..., alpha: bool = ..., bitdepth: int = ..., palette: Optional[Any] = ..., transparent: Optional[Any] = ..., background: Optional[Any] = ..., gamma: Optional[Any] = ..., compression: Optional[Any] = ..., interlace: bool = ..., planes: Optional[Any] = ..., colormap: Optional[Any] = ..., maxval: Optional[Any] = ..., chunk_limit: Any = ..., x_pixels_per_unit: Optional[Any] = ..., y_pixels_per_unit: Optional[Any] = ..., unit_is_meter: bool = ...) -> None: ...
|
|
def write(self, outfile: Any, rows: Any): ...
|
|
def write_passes(self, outfile: Any, rows: Any): ...
|
|
def write_packed(self, outfile: Any, rows: Any): ...
|
|
def write_preamble(self, outfile: Any) -> None: ...
|
|
def write_array(self, outfile: Any, pixels: Any) -> None: ...
|
|
def array_scanlines(self, pixels: Any) -> None: ...
|
|
def array_scanlines_interlace(self, pixels: Any) -> None: ...
|
|
|
|
def write_chunks(out: Any, chunks: Any) -> None: ...
|
|
def from_array(a: Any, mode: Optional[Any] = ..., info: Any = ...): ...
|
|
fromarray = from_array
|
|
|
|
class Image:
|
|
rows: Any = ...
|
|
info: Any = ...
|
|
def __init__(self, rows: Any, info: Any) -> None: ...
|
|
def save(self, file: Any) -> None: ...
|
|
def write(self, file: Any) -> None: ...
|
|
|
|
class Reader:
|
|
signature: Any = ...
|
|
transparent: Any = ...
|
|
atchunk: Any = ...
|
|
file: Any = ...
|
|
def __init__(self, _guess: Optional[Any] = ..., filename: Optional[Any] = ..., file: Optional[Any] = ..., bytes: Optional[Any] = ...) -> None: ...
|
|
def chunk(self, lenient: bool = ...): ...
|
|
def chunks(self) -> None: ...
|
|
def undo_filter(self, filter_type: Any, scanline: Any, previous: Any): ...
|
|
def validate_signature(self) -> None: ...
|
|
def preamble(self, lenient: bool = ...) -> None: ...
|
|
def process_chunk(self, lenient: bool = ...) -> None: ...
|
|
def read(self, lenient: bool = ...): ...
|
|
def read_flat(self): ...
|
|
def palette(self, alpha: str = ...): ...
|
|
def asDirect(self): ...
|
|
def asRGB8(self): ...
|
|
def asRGBA8(self): ...
|
|
def asRGB(self): ...
|
|
def asRGBA(self): ...
|