1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-04 15:46:51 -05:00
OpenDiablo2/d2core/d2components/all_component_ids.go
gravestench 8b1b6b9adc more work on ecs implementation
* removed d2common/d2scene, was not the right way to go.
* added components for animation, scale, main viewport, viewport filter
* added interface for scenes, which are extensions of akara.System
* BootStrap is now AppBootstrap, common to game clients and headless
server
* added generic BasicScene struct for common scene functionality
* added game object factory as a system, with single sprite factory
* added update counter system, shows how many times the world updates
per second
* integration test is now the game client test
2020-12-07 12:44:11 -08:00

43 lines
609 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
StaticPositionCID
VelocityCID
DirtyCID
PriorityCID
SurfaceCID
RenderCullCID
SceneCID
CameraCID
ViewportCID
ViewportFilterCID
MainViewportCID
OriginCID
SizeCID
AnimationCID
ScaleCID
)