Documentation
¶
Overview ¶
Package d2cof contains the logic for loading and processing COF files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dir64ToCof ¶
Dir64ToCof returns the cof direction based on the actual direction
Types ¶
type COF ¶
type COF struct { NumberOfDirections int FramesPerDirection int NumberOfLayers int Speed int CofLayers []CofLayer CompositeLayers map[d2enum.CompositeType]int AnimationFrames []d2enum.AnimationFrame Priority [][][]d2enum.CompositeType }
COF is a structure that represents a COF file.
type CofLayer ¶
type CofLayer struct { Type d2enum.CompositeType Shadow byte Selectable bool Transparent bool DrawEffect d2enum.DrawEffect WeaponClass d2enum.WeaponClass }
CofLayer is a structure that represents a single layer in a COF file.
Click to show internal directories.
Click to hide internal directories.