2014-12-31 03:12:08 +01:00
|
|
|
;struct akode.TextureDesc
|
|
|
|
; Type dd ? ; AKODE_TEXTURE_TYPE
|
|
|
|
;
|
|
|
|
; union
|
|
|
|
; ImagePathPtr dd ?
|
|
|
|
; Color dd ?
|
|
|
|
; ends
|
|
|
|
;
|
|
|
|
; ImageDataPtr dd ?
|
|
|
|
;
|
|
|
|
; HasMagicPink db ? ; boolean
|
|
|
|
; TileWalls db ? ; boolean
|
|
|
|
; Usage db ? ; AKODE_TEXTURE_USAGE
|
|
|
|
; VirtualScale db ? ; AKODE_VIRTUAL_SCALE_MODE, not supported yet
|
|
|
|
; VirtualSize akode.Size ; (0, 0) for original size, not supported yet
|
|
|
|
;ends
|
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
struc TextureImage usage*, filepath*, magic_pink=0
|
|
|
|
{
|
|
|
|
.ImagePath db 'Resources/Textures/', filepath, 0
|
|
|
|
. akode.TextureDesc AKODE_TEXTURE_TYPE.IMAGE, .ImagePath, 0, magic_pink, 0, usage
|
|
|
|
}
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
struc TextureColor color*
|
|
|
|
{
|
|
|
|
. akode.TextureDesc AKODE_TEXTURE_TYPE.COLOR, color, 0, 0, 0, AKODE_TEXTURE_USAGE.ENVIRONMENT
|
|
|
|
}
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
align 4
|
|
|
|
textures:
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.GreenStone1 TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/GreenStone1.jpg'
|
|
|
|
.GreenStone2 TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/GreenStone2.jpg'
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.YellowStone1 TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/YellowStone1.jpg'
|
|
|
|
.RedStone1 TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/RedStone1.jpg'
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.CrazyWoodDoor TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/CrazyWoodDoor.png', 1
|
|
|
|
.IronDoor TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/IronDoor.jpg'
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.RedLeverUp TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/RedLeverUp.png', 1
|
|
|
|
.RedLeverDown TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/RedLeverDown.png', 1
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.PortalFloor TextureImage AKODE_TEXTURE_USAGE.ENVIRONMENT, 'Environment/Portal.jpg'
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.Chest TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Chest.png', 1
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.Column1 TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Column1.png', 1
|
|
|
|
.Column2 TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Column2.png', 1
|
|
|
|
.Column3 TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Column3.png', 1
|
|
|
|
.Column4 TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Column4.png', 1
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.Ogre TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Ogre.png', 1
|
2014-12-31 03:12:08 +01:00
|
|
|
|
2015-02-26 22:37:43 +01:00
|
|
|
.Portal TextureImage AKODE_TEXTURE_USAGE.OBJECT, 'Objects/Portal.png', 1
|