;station light object
;(C) Derryck 2006
;Free use

CreateMeshBuilder,
AddVertex,0,0.95,0,
AddVertex,0,1,0,
AddVertex,0.15,1,0,
AddVertex,0.15,0.95,0,
AddFace,0,1,2,3
Generatenormals,
LoadTexture,light.png,			
SetTextureCoordinates,0,0,0.955,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,1,0.955,

CreateMeshBuilder,
AddVertex,0,0.95,1,
AddVertex,0,1,1,
AddVertex,0.15,1,1,
AddVertex,0.15,0.95,1,
AddFace,3,2,1,0
Generatenormals,
LoadTexture,light.png,			
SetTextureCoordinates,0,0,0.955,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,1,0.955,

CreateMeshBuilder,
AddVertex,0.15,0.95,0,
AddVertex,0.15,1,0,
AddVertex,0.15,1,1,
AddVertex,0.15,0.95,1,
AddFace,0,1,2,3
Generatenormals,
LoadTexture,light.png,			
SetTextureCoordinates,0,0.9,0,
SetTextureCoordinates,1,0.9,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,0,1,1,
AddVertex,0,0.95,1,
AddVertex,0,0.95,0,
AddVertex,0,1,0,
AddFace,3,2,1,0
Generatenormals,
LoadTexture,light.png,			
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0.1,1,
SetTextureCoordinates,3,0,0,

CreateMeshBuilder,
AddVertex,0,0.95,1,
AddVertex,0,0.95,0,
AddVertex,0.15,0.95,0,
AddVertex,0.15,0.95,1,
AddFace,0,1,2,3
Generatenormals,
LoadTexture,light.png,			
SetTextureCoordinates,0,0,0.96,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.96,

RotateAll,0,1,0,90