;hlavni sloupy
CreateMeshBuilder,
Cube, 0.05, 1.1, 0.05,
Translate, 0, 1.1, -1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 

CreateMeshBuilder,
Cube, 0.05, 1.1, 0.05,
Translate, 0, 1.1, 1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.05, 1.1, 0.05,
Translate, 0, 1.1, -3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.05, 1.1, 0.05,
Translate, 0, 1.1, 3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;stresni tram
CreateMeshBuilder,
Cube, 0.05.,3.09, 0.051,
Rotate,1,0,0,90
Translate, 0, 2.2, 0
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.049,3.09, 0.049,
Rotate,1,0,0,90
Translate, 1.54, 2.55, 0
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;levy stresni tram
CreateMeshBuilder,
Cube, 0.051,0.81, 0.051,
Rotate,0,0,1,90
Translate, 0.78, 2.2, -3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.04,0.81, 0.04,
Rotate,0,0,1,102
Translate, 0.78, 2.4, -3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.04,0.81, 0.04,
Rotate,0,0,1,102
Translate, 0.78, 2.4, -1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.04,0.81, 0.04,
Rotate,0,0,1,102
Translate, 0.78, 2.4, 1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder,
Cube, 0.04,0.81, 0.04,
Rotate,0,0,1,102
Translate, 0.78, 2.4, 3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;levy sloup
CreateMeshBuilder,
Cube, 0.05, 1.3, 0.05,
Translate, 1.54, 1.3, -3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 

;pravy stresni tram
CreateMeshBuilder,
Cube, 0.051,0.81, 0.051,
Rotate,0,0,1,90
Translate, 0.78, 2.2, 3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;pravy sloup
CreateMeshBuilder,
Cube, 0.05, 1.3, 0.05,
Translate, 1.54, 1.3, 3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 

;spodni ram
CreateMeshBuilder
Cube, 0.03, 0.03, 3.04
Translate, 0, 0.2, 0
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder
Cube, 0.78, 0.03, 0.03
Translate, 0.75, 0.2, -3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder
Cube, 0.78, 0.03, 0.03
Translate, 0.75, 0.2, 3.04
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;lavicka
CreateMeshBuilder
Cube, 0.33, 0.03, 0.03
Translate, 0.35, 0.42, -1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

CreateMeshBuilder
Cube, 0.33, 0.03, 0.03
Translate, 0.35, 0.42, 1.5
LoadTexture,stozarII.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1

;pricka 1
CreatemeshBuilder,
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0 
SetTextureCoordinates,3,1,1

CreatemeshBuilder,
AddVertex, 0.2,0.45,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.05,0
SetTextureCoordinates,1,0.05,1
SetTextureCoordinates,2,0.95,1 
SetTextureCoordinates,3,0.95,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.45,-1.6, -1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

;pricka 2
CreatemeshBuilder,
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
Translate, 0.12,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0 
SetTextureCoordinates,3,1,1

CreatemeshBuilder,
AddVertex, 0.2,0.45,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.12,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.05,0
SetTextureCoordinates,1,0.05,1
SetTextureCoordinates,2,0.95,1 
SetTextureCoordinates,3,0.95,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.45,-1.6, -1,0,0
Translate, 0.12,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.12,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0


;pricka 3
CreatemeshBuilder,
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
Translate, 0.24,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0 
SetTextureCoordinates,3,1,1

CreatemeshBuilder,
AddVertex, 0.2,0.45,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.24,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.05,0
SetTextureCoordinates,1,0.05,1
SetTextureCoordinates,2,0.95,1 
SetTextureCoordinates,3,0.95,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.45,-1.6, -1,0,0
Translate, 0.24,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.24,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

;pricka 4
CreatemeshBuilder,
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
Translate, 0.36,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,1,1 
SetTextureCoordinates,3,1,0

CreatemeshBuilder,
AddVertex, 0.2,0.45,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.36,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.05,0
SetTextureCoordinates,1,0.05,1
SetTextureCoordinates,2,0.95,1 
SetTextureCoordinates,3,0.95,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.45,-1.6, -1,0,0
Translate, 0.36,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.36,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

;pricka 5
CreatemeshBuilder,
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
Translate, 0.48,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0 
SetTextureCoordinates,3,1,1

CreatemeshBuilder,
AddVertex, 0.2,0.45,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.48,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.05,0
SetTextureCoordinates,1,0.05,1
SetTextureCoordinates,2,0.95,1 
SetTextureCoordinates,3,0.95,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,-1.6, -1,0,0
AddVertex, 0.1,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.52,-1.6, -1,0,0
AddVertex, 0.2,0.45,-1.6, -1,0,0
Translate, 0.48,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

CreatemeshBuilder,
AddVertex, 0.1,0.45,1.6, -1,0,0
AddVertex, 0.1,0.52,1.6, -1,0,0
AddVertex, 0.2,0.52,1.6, -1,0,0
AddVertex, 0.2,0.45,1.6, -1,0,0
Translate, 0.48,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,Waitroom_L.png,
SetTextureCoordinates,0,0.5,0
SetTextureCoordinates,1,0.5,1
SetTextureCoordinates,2,0.6,1 
SetTextureCoordinates,3,0.6,0

;skla
CreatemeshBuilder,
AddVertex, 0,0.18,-3, -1,0,0
AddVertex, 0,2.15,-3, -1,0,0
AddVertex, 0,2.15,3, -1,0,0
AddVertex, 0,0.18,3, -1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1.45,

CreatemeshBuilder,
AddVertex, 0,0.18,-3, 1,0,0
AddVertex, 0,2.15,-3, 1,0,0
AddVertex, 0,2.15,3, 1,0,0
AddVertex, 0,0.18,3, 1,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1.45,

CreatemeshBuilder,
AddVertex, 0,0.18,-3.04, -1,0,0
AddVertex, 0,2.15,-3.04, -1,0,0
AddVertex, 1.55,2.15,-3.04, -1,0,0
AddVertex, 1.55,0.18,-3.04, -1,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.4,0,
SetTextureCoordinates,3,0.4,1.45,

CreatemeshBuilder,
AddVertex, 0,0.18,-3.04, 1,0,0
AddVertex, 0,2.15,-3.04, 1,0,0
AddVertex, 1.55,2.15,-3.04, 1,0,0
AddVertex, 1.55,0.18,-3.04, 1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.4,0,
SetTextureCoordinates,3,0.4,1.45,

CreatemeshBuilder,
AddVertex, 0,0.18,3.04, -1,0,0
AddVertex, 0,2.15,3.04, -1,0,0
AddVertex, 1.55,2.15,3.04, -1,0,0
AddVertex, 1.55,0.18,3.04, -1,0,0
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.4,0,
SetTextureCoordinates,3,0.4,1.45,

CreatemeshBuilder,
AddVertex, 0,0.18,3.04, 1,0,0
AddVertex, 0,2.15,3.04, 1,0,0
AddVertex, 1.55,2.15,3.04, 1,0,0
AddVertex, 1.55,0.18,3.04, 1,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom.png,
SetTextureCoordinates,0,0,1.45,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.4,0,
SetTextureCoordinates,3,0.4,1.45,

;jizdni rad
CreatemeshBuilder,
AddVertex, 0.01,1.2,2.7
AddVertex, 0.01,1.8,2.7
AddVertex, 0.01,1.8,1.85
AddVertex, 0.01,1.2,1.85
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,schedule.png,	
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1

CreatemeshBuilder,
AddVertex, 0.01,1.2,-1.85
AddVertex, 0.01,1.8,-1.85
AddVertex, 0.01,1.8,-2.7
AddVertex, 0.01,1.2,-2.7
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom_IDS.png,	
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1

;Strecha
CreatemeshBuilder,
AddVertex, 1.85,2.68,-3.25,
AddVertex, -0.3,2.215,-3.25,
AddVertex, -0.3,2.215,3.25,
AddVertex, 1.85,2.68,3.25,
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreatemeshBuilder,
AddVertex, 1.85,2.66,-3.25,
AddVertex, 1.85,2.68,-3.25,
AddVertex, 1.85,2.68,3.25,
AddVertex, 1.85,2.66,3.25,
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,1,0.1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,0.1,

CreatemeshBuilder,
AddVertex, -0.3,2.195,-3.25,
AddVertex, -0.3,2.215,-3.25,
AddVertex, 1.85,2.68,-3.25,
AddVertex, 1.85,2.66,-3.25,
GenerateNormals,
AddFace, 0,1,2,3
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreatemeshBuilder,
AddVertex, -0.3,2.195,3.25,
AddVertex, -0.3,2.215,3.25,
AddVertex, 1.85,2.68,3.25,
AddVertex, 1.85,2.66,3.25,
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreatemeshBuilder,
AddVertex, -0.3,2.195,-3.25,
AddVertex, -0.3,2.215,-3.25,
AddVertex, -0.3,2.215,3.25,
AddVertex, -0.3,2.195,3.25,
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,0,0.1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,0.1,

CreatemeshBuilder,
AddVertex, 1.85,2.66,-3.25, -1,0,0
AddVertex, -0.3,2.195,-3.25, -1,0,0
AddVertex, -0.3,2.195,3.25, -1,0,0
AddVertex, 1.85,2.66,3.25, -1,0,0
GenerateNormals,
AddFace, 3,2,1,0
LoadTexture,waitroom_R.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

TranslateAll,0,-0.4,0