export

package
v0.0.0-...-2b3d63b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportFormat

type ExportFormat string
var (
	SpriteFlatExport ExportFormat = "Flat"
	OcpWinExport     ExportFormat = "Files"
	SpriteImpCatcher ExportFormat = "Impcatcher"
	SpriteCompiled   ExportFormat = "Compiled Sprite"
	SpriteHard       ExportFormat = "Sprite Hard"
	OcpScreen        ExportFormat = "Screen"
	Overscan         ExportFormat = "Overscan"
)

type Json

type Json struct {
	Label           string   `json:"label"`
	Width           int      `json:"width"`
	Height          int      `json:"height"`
	Screen          []string `json:"screen"`
	Palette         []string `json:"palette"`
	HardwarePalette []string `json:"hardwarepalette"`
}

func NewJson

func NewJson(label string, width int, height int, screen []string, palette []string, hardwarepalette []string) *Json

func (*Json) Save

func (j *Json) Save(file string) error

type JsonSlice

type JsonSlice struct {
	Sprites []*Json `json:"sprites"`
}

func NewJsonSlice

func NewJsonSlice() *JsonSlice

func (*JsonSlice) Save

func (j *JsonSlice) Save(file string) error

Directories

Path Synopsis
impdraw

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL