mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-04 07:37:48 -05:00
b86ac4df84
* common component methods have been put into BaseComponent and BaseComponentMap * boilerplate code for components has been significantly reduced * all lint errors fixed in d2components
40 lines
568 B
Go
40 lines
568 B
Go
package d2components
|
|
|
|
import (
|
|
"github.com/gravestench/akara"
|
|
)
|
|
|
|
// Component type ID's
|
|
const (
|
|
GameConfigCID akara.ComponentID = iota
|
|
FilePathCID
|
|
FileTypeCID
|
|
FileSourceCID
|
|
FileHandleCID
|
|
AssetStringTableCID
|
|
AssetFontTableCID
|
|
AssetDataDictionaryCID
|
|
AssetPaletteCID
|
|
AssetPaletteTransformCID
|
|
AssetCofCID
|
|
AssetDc6CID
|
|
AssetDccCID
|
|
AssetDs1CID
|
|
AssetDt1CID
|
|
AssetWavCID
|
|
AssetD2AnimDataCID
|
|
PositionCID
|
|
VelocityCID
|
|
DirtyCID
|
|
PriorityCID
|
|
RenderableCID
|
|
CameraCID
|
|
ViewportCID
|
|
ViewportFilterCID
|
|
MainViewportCID
|
|
OriginCID
|
|
SizeCID
|
|
AnimationCID
|
|
ScaleCID
|
|
)
|