//#resource "vcs-ca65.h" import "vcslib.ecs" component Bitmap bitmapdata: array of 0..255 baseoffset 31 height: 0..255 end // TODO: remove? component HasBitmap end component Colormap colormapdata: array of 0..255 baseoffset 31 end component HasColormap colormap: [Colormap] end component Sprite bitmap: [Bitmap] plyrflags: 0..63 end component HasXpos xpos: 0..255 end component HasYpos ypos: 0..255 end component Missile index: 2..3 end component SpriteSlot sprite: [Sprite] // TODO: HasBitmap? end system JoyFaceDirection on joyleft do with [Sprite] --- lda {{