;
;      Gauge:1000mm
;
;-----* Copyright(C) 2004-2005 "shibaneko" & "Takashimajin" All Rights Reserved. -----*
;
; HomePage : http://shibaneko.ifdef.jp/
;   mail   : shibaken_mikeneko@msn.com
;

CreateMeshBuilder,
	AddVertex,-0.900,-0.145,-00.250,
	AddVertex,+0.900,-0.145,-00.250,
	AddVertex,+0.900,-0.145,+25.250,
	AddVertex,-0.900,-0.145,+25.250,
	AddFace,3,2,1,0,

	LoadTexture,Ballast.bmp,
	SetTextureCoordinates,00,0.25,00,
	SetTextureCoordinates,01,0.75,00,
	SetTextureCoordinates,02,0.75,12,
	SetTextureCoordinates,03,0.25,12,
	GenerateNormals,

CreateMeshBuilder,
	AddVertex,-2.500,-0.450,-00.250,
	AddVertex,-0.900,-0.145,-00.250,
	AddVertex,-0.900,-0.145,+25.250,
	AddVertex,-2.500,-0.450,+25.250,
	AddFace,3,2,1,0,

	LoadTexture,Ballast.bmp,
	SetTextureCoordinates,00,0.00,00,
	SetTextureCoordinates,01,0.25,00,
	SetTextureCoordinates,02,0.25,12,
	SetTextureCoordinates,03,0.00,12,
	GenerateNormals,

CreateMeshBuilder,
	AddVertex,+2.500,-0.450,-00.250,
	AddVertex,+0.900,-0.145,-00.250,
	AddVertex,+0.900,-0.145,+25.250,
	AddVertex,+2.500,-0.450,+25.250,
	AddFace,0,1,2,3,

	LoadTexture,Ballast.bmp,
	SetTextureCoordinates,00,1.00,00,
	SetTextureCoordinates,01,0.75,00,
	SetTextureCoordinates,02,0.75,12,
	SetTextureCoordinates,03,1.00,12,
	GenerateNormals,

CreateMeshBuilder,
	AddVertex,-0.5000,+0.000,-00.250,
	AddVertex,-0.5665,+0.000,-00.250,
	AddVertex,-0.5665,+0.000,+25.250,
	AddVertex,-0.5000,+0.000,+25.250,
	AddVertex,-0.4965,-0.150,-00.250,
	AddVertex,-0.5000,+0.000,-00.250,
	AddVertex,-0.5000,+0.000,+25.250,
	AddVertex,-0.4965,-0.150,+25.250,
	AddVertex,-0.5700,-0.150,-00.250,
	AddVertex,-0.5665,+0.000,-00.250,
	AddVertex,-0.5665,+0.000,+25.250,
	AddVertex,-0.5700,-0.150,+25.250,
	AddVertex,+0.5000,+0.000,-00.250,
	AddVertex,+0.5665,+0.000,-00.250,
	AddVertex,+0.5665,+0.000,+25.250,
	AddVertex,+0.5000,+0.000,+25.250,
	AddVertex,+0.4965,-0.150,-00.250,
	AddVertex,+0.5000,+0.000,-00.250,
	AddVertex,+0.5000,+0.000,+25.250,
	AddVertex,+0.4965,-0.150,+25.250,
	AddVertex,+0.5700,-0.150,-00.250,
	AddVertex,+0.5665,+0.000,-00.250,
	AddVertex,+0.5665,+0.000,+25.250,
	AddVertex,+0.5700,-0.150,+25.250,
	AddFace,0,1,2,3,
	AddFace,4,5,6,7,
	AddFace,11,10,9,8,
	AddFace,15,14,13,12,
	AddFace,19,18,17,16,
	AddFace,20,21,22,23,

	LoadTexture,rail.bmp,
	SetTextureCoordinates,00,0.42,00,
	SetTextureCoordinates,01,0.58,00,
	SetTextureCoordinates,02,0.58,12,
	SetTextureCoordinates,03,0.42,12,
	SetTextureCoordinates,04,0.00,00,
	SetTextureCoordinates,05,0.42,00,
	SetTextureCoordinates,06,0.42,12,
	SetTextureCoordinates,07,0.00,12,
	SetTextureCoordinates,08,1.00,00,
	SetTextureCoordinates,09,0.58,00,
	SetTextureCoordinates,10,0.58,12,
	SetTextureCoordinates,11,1.00,12,
	SetTextureCoordinates,12,0.42,00,
	SetTextureCoordinates,13,0.58,00,
	SetTextureCoordinates,14,0.58,12,
	SetTextureCoordinates,15,0.42,12,
	SetTextureCoordinates,16,0.00,00,
	SetTextureCoordinates,17,0.42,00,
	SetTextureCoordinates,18,0.42,12,
	SetTextureCoordinates,19,0.00,12,
	SetTextureCoordinates,20,1.00,00,
	SetTextureCoordinates,21,0.58,00,
	SetTextureCoordinates,22,0.58,12,
	SetTextureCoordinates,23,1.00,12,
	GenerateNormals,