;--------------------------------------
;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;Object and textures (c) Anthony Bowden 2002.
;www.railsimroutes.co.uk
;with kind permission of Anthony Bowden.
;Originally from Birmingham Cross-City South
;BVE Route Object
;--------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;

CreateMeshBuilder,
AddVertex,-2.75, 1.05, 0,
AddVertex,-2.25, 1.05, 0,
AddVertex,-2.25, 0.55, 0,
AddVertex,-2.75, 0.55, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,20mphTSR.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.25, 1.05, 0,
AddVertex,-2.75, 1.05, 0,
AddVertex,-2.75, 0.55, 0,
AddVertex,-2.25, 0.55, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,T_TSR.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.539,  1.1, 0.04,
AddVertex,-2.469,  1.1, 0.04,
AddVertex,-2.469, -0.3, 0.04,
AddVertex,-2.539, -0.3, 0.04,
AddFace,0,1,2,3,
SetColor,170, 170, 170,
GenerateNormals,

LoadTexture,Post.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.539,  1.1, -0.04,
AddVertex,-2.469,  1.1, -0.04,
AddVertex,-2.469, -0.3, -0.04,
AddVertex,-2.539, -0.3, -0.04,
AddFace,3,2,1,0,
SetColor,170, 170, 170,
GenerateNormals,

LoadTexture,Post.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.7, -0.1, 0.2,
AddVertex,-2.3, -0.1, 0.2,
AddVertex,-2.3, -0.1, -0.2,
AddVertex,-2.7, -0.1, -0.2,
AddVertex,-2.7, -0.3, 0.2,
AddVertex,-2.7, -0.3, -0.2,
AddVertex,-2.3, -0.3, -0.2,
AddVertex,-2.3, -0.3, 0.2,
AddFace,0,1,2,3,
AddFace,0,3,5,4,
AddFace,3,2,6,5,
AddFace,2,1,7,6,
AddFace,1,0,4,7,
SetColor,140,140,140,
GenerateNormals,