;Birmingham Cross-City BVE Route Object
;Cross-City South
;---------------------------------------
;By Anthony Bowden 2002-2008
;www.railsimroutes.co.uk
;
;This file may be freely re-used
;
;Please acknowledge the original authors
;and keep this header intact
;
;See 'Readme.txt'

CreateMeshBuilder,
AddVertex,-12, 3.1, 26.9,
AddVertex,-7, 0, 26.9,
AddVertex,-7, 0, -0.9,
AddVertex,-12, 3.1, -0.9,
AddVertex,-5, 0, 26.9,
AddVertex,-5, 0, -0.9,
AddVertex,-5, -0.7, 26.9,
AddVertex,-5, -0.7, -0.9,
AddVertex,3, -0.7, 26.9,
AddVertex,3, -0.7, -0.9,
AddVertex,3, 0, 26.9,
AddVertex,3, 0, -0.9,
AddVertex,5, 0, 26.9,
AddVertex,5, 0, -0.9,
AddVertex,11, -4.1, 26.9,
AddVertex,11, -4.1, -0.9,
AddFace,0,1,2,3,
AddFace,1,4,5,2,
AddFace,4,6,7,5,
AddFace,6,8,9,7,
AddFace,8,10,11,9,
AddFace,10,12,13,11,
AddFace,12,14,15,13,
GenerateNormals,

LoadTexture,..\canal1c.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 0.12, 0,
SetTextureCoordinates,2, 0.12, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0.26, 0,
SetTextureCoordinates,5, 0.26, 1,
SetTextureCoordinates,6, 0.32, 0,
SetTextureCoordinates,7, 0.32, 1,
SetTextureCoordinates,8, 0.68, 0,
SetTextureCoordinates,9, 0.68, 1,
SetTextureCoordinates,10, 0.74, 0,
SetTextureCoordinates,11, 0.74, 1,
SetTextureCoordinates,12, 0.88, 0,
SetTextureCoordinates,13, 0.88, 1,
SetTextureCoordinates,14, 1, 0,
SetTextureCoordinates,15, 1, 1,

CreateMeshBuilder,
AddVertex,-120, 3.1, 30.9,
AddVertex,-12, 3.1, 30.9,
AddVertex,-12, 3.1, -5.9,
AddVertex,-120, 3.1, -5.9,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,..\..\Common_Textures\Emb1.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-30,8,2,
AddVertex,-30,2.9,2,
AddVertex,-5,2.5,24,
AddVertex,-5,8,24,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,..\..\Common_Textures\treewall.bmp,
SetTextureCoordinates,0,00,0,
SetTextureCoordinates,1,00,1,
SetTextureCoordinates,2,01,1,
SetTextureCoordinates,3,01,0,
SetDecalTransparentColor,000,000,000,

CreateMeshBuilder,
AddVertex,-6,8,15,
AddVertex,-6,0.0,15,
AddVertex,-15,1.5,5,
AddVertex,-15,6,5,
AddFace,0,1,2,3,
SetColor,200,200,200,
GenerateNormals,

LoadTexture,..\..\Common_Textures\tree_pair.bmp,
SetTextureCoordinates,0,00,0,
SetTextureCoordinates,1,00,1,
SetTextureCoordinates,2,01,1,
SetTextureCoordinates,3,01,0,
SetDecalTransparentColor,000,000,000,