Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PropertiesSize specifies, in bytes, the length a properties structure has.
PropertiesSize = 11
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Properties struct { DistanceModifier int16 Climbable byte TransparencyControl TransparencyControl AnimationGroup byte AnimationIndex byte // contains filtered or unexported fields }
Properties describe additional information about a texture.
type PropertiesList ¶
type PropertiesList []Properties
PropertiesList implements serial.Codable to serialize a set of texture properties.
func (PropertiesList) Code ¶
func (list PropertiesList) Code(coder serial.Coder)
Code serializes the list with the provided coder.
type TransparencyControl ¶
type TransparencyControl byte
TransparencyControl describes how a texture should be displayed.
const ( // TransparencyControlRegular describes a typical texture. TransparencyControlRegular TransparencyControl = 0x00 // TransparencyControlSpace marks space texture, which ignores bitmap data. TransparencyControlSpace TransparencyControl = 0x01 // TransparencyControlSpaceBackground draws space for palette index 0x00. TransparencyControlSpaceBackground TransparencyControl = 0x02 )
func TransparencyControls ¶
func TransparencyControls() []TransparencyControl
TransparencyControls returns all known transparency control values.
func (TransparencyControl) String ¶
func (ctrl TransparencyControl) String() string
Click to show internal directories.
Click to hide internal directories.