package
0.1.5
Repository: https://github.com/redtoad/xcom-editor.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

LoadImageCollectionFromPCK loads a collection of images from a PCK file.
LoadPalettes loads Palettes from path.
LoadPCK loads PCK image from path.
LoadSCR loads an SCR image from path.
LoadSPK loads SPK image from path.
LoadTAB loads TAB file from path.
NewResourceLoader will return a new instance of ResourceLoader.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrImageNotFound is thrown if path is not found in meta data map.
ErrNotEnoughSprites is thrown if no (or not enough) images are found in ImageCollection.
ErrNotEnoughTabs is thrown if not enough offsets are found to load PCK file.
ErrNotImplemented is thrown if image type is not supported.
ErrPaletteNotFound is thrown if specified colour pallete is not found.
ErrUnsupportedTABOffset is thrown if the offset is not 2 or 4.
No description provided by the author

# Structs

ImageCollection is a list of ImageResources.
ImageEntry is a resource file for images in formats.
ImageResource is a list of pixels (colors) that will create an image of width.
Palette stores colours used for game images.
ResourceLoader will load resources from game directory.

# Type aliases

No description provided by the author