; Staré dřevěné depo
; ------------------
; (c) Vince Black, 2009
; Originál se nachází ve stanici Praha-Bubny


; ----- PŘEDNÍ ČÁST ------------------------------------
; předek
CreateMeshBuilder
AddVertex, -5, 0, 0
AddVertex, -5, 4.6, 0
AddVertex, 5, 4.6, 0
AddVertex, 5, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, -5, 4.58, 0
AddVertex, -5, 6.9, 0
AddVertex, 5, 6.9, 0
AddVertex, 5, 4.58, 0
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek2.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,

; levý bok
CreateMeshBuilder
AddVertex, -5, 0, 27.18
AddVertex, -5, 4.6, 27.18
AddVertex, -5, 4.6, 0
AddVertex, -5, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bok_l.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; pravý bok
CreateMeshBuilder
AddVertex, 5, 0, 0
AddVertex, 5, 4.6, 0
AddVertex, 5, 4.6, 13.6
AddVertex, 5, 0, 13.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bok_p.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; střecha - levá polovina
CreateMeshBuilder
AddVertex, -5.6, 4.5, -0.6
AddVertex, -5.6, 4.5, 27.6
AddVertex, 0.2, 7, 27.6
AddVertex, 0.2, 7, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha.png
SetTextureCoordinates,0, 0, 2
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 3, 0
SetTextureCoordinates,3, 3, 2
CreateMeshBuilder
AddVertex, -5.5, 4.3, -0.6
AddVertex, -5.5, 4.3, 27.6
AddVertex, -5.6, 4.5, 27.6
AddVertex, -5.6, 4.5, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha.png
SetTextureCoordinates,0, 0, 2
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 0.1, 0
SetTextureCoordinates,3, 0.1, 2
CreateMeshBuilder
AddVertex, -5.5, 4.3, -0.6
AddVertex, -5.5, 4.3, 27.6
AddVertex, 0.2, 6.8, 27.6
AddVertex, 0.2, 6.8, -0.6
AddFace, 3, 2, 1, 0
GenerateNormals
SetColor, 27, 29, 30

; střecha - levý okap
CreateMeshBuilder
AddVertex, -5.6, 4.3, 27.6
AddVertex, -5.55, 4.4, 27.6
AddVertex, -5.55, 4.4, -0.6
AddVertex, -5.6, 4.3, -0.6
AddFace2, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_okap.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 8, 0
SetTextureCoordinates,3, 8, 1
CreateMeshBuilder
AddVertex, -5.7, 4.3, 27.6
AddVertex, -5.6, 4.3, 27.6
AddVertex, -5.6, 4.3, -0.6
AddVertex, -5.7, 4.3, -0.6
AddFace2, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_okap.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0.2
SetTextureCoordinates,2, 8, 0.2
SetTextureCoordinates,3, 8, 1
CreateMeshBuilder
AddVertex, -5.7, 4.3, 27.6
AddVertex, -5.75, 4.4, 27.6
AddVertex, -5.75, 4.4, -0.6
AddVertex, -5.7, 4.3, -0.6
AddFace2, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_okap.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0.2
SetTextureCoordinates,2, 8, 0.2
SetTextureCoordinates,3, 8, 1

; střecha - pravá polovina
CreateMeshBuilder
AddVertex, 0.2, 7, -0.6
AddVertex, 0.2, 7, 27.6
AddVertex, 5.6, 4.5, 27.6
AddVertex, 5.6, 4.5, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha.png
SetTextureCoordinates,0, 0, 2
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 2
CreateMeshBuilder
AddVertex, 5.5, 4.3, -0.6
AddVertex, 5.6, 4.5, -0.6
AddVertex, 5.6, 4.5, 27.6
AddVertex, 5.5, 4.3, 27.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha_bok.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 5, 0
SetTextureCoordinates,3, 5, 1
CreateMeshBuilder
AddVertex, 0.2, 6.8, -0.6
AddVertex, 0.2, 6.8, 27.6
AddVertex, 5.5, 4.3, 27.6
AddVertex, 5.5, 4.3, -0.6
AddFace, 3, 2, 1, 0
GenerateNormals
SetColor, 27, 29, 30

; střecha - přední krov
CreateMeshBuilder
AddVertex, -5.5, 4.3, -0.6
AddVertex, -5.6, 4.5, -0.6
AddVertex, 0.2, 7, -0.6
AddVertex, 0.2, 6.8, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, 0.2, 6.8, -0.6
AddVertex, 0.2, 7, -0.6
AddVertex, 5.6, 4.5, -0.6
AddVertex, 5.5, 4.3, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; střecha - zadní krov
CreateMeshBuilder
AddVertex, 5.5, 4.3, 27.6
AddVertex, 5.6, 4.5, 27.6
AddVertex, 0.2, 7, 27.6
AddVertex, 0.2, 6.8, 27.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, 0.2, 6.8, 27.6
AddVertex, 0.2, 7, 27.6
AddVertex, -5.6, 4.5, 27.6
AddVertex, -5.5, 4.3, 27.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; střecha - hromosvod
CreateMeshBuilder
AddVertex, 0.2, 7, 27.6
AddVertex, 0.2, 7.9, 27.6
AddVertex, 0.2, 7.9, -0.6
AddVertex, 0.2, 7, -0.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_hromosvod.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 2, 0
SetTextureCoordinates,3, 2, 1
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder
AddVertex, 0.2, 7, 27.6
AddVertex, 0.2, 7.9, 27.6
AddVertex, 0.2, 7.9, -0.6
AddVertex, 0.2, 7, -0.6
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture, depo_drevo_hromosvod.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 2, 0
SetTextureCoordinates,3, 2, 1
SetDecalTransparentColor,0,0,0,

; zadek
CreateMeshBuilder
AddVertex, 5, 0, 27.18
AddVertex, 5, 4.6, 27.18
AddVertex, -5, 4.6, 27.18
AddVertex, -5, 0, 27.18
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, 5, 4.58, 27.18
AddVertex, 5, 6.9, 27.18
AddVertex, -5, 6.9, 27.18
AddVertex, -5, 4.58, 27.18
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek2.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,


; ----- ZADNÍ ČÁST ------------------------------------
; předek
CreateMeshBuilder
AddVertex, 5, 0, 13.59
AddVertex, 5, 4.6, 13.59
AddVertex, 10.6, 4.6, 13.59
AddVertex, 10.6, 0, 13.59
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek3.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, 3.5, 4.58, 13.59
AddVertex, 3.5, 5.9, 13.59
AddVertex, 10.6, 5.9, 13.59
AddVertex, 10.6, 4.58, 13.59
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek4.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,

; pravý bok
CreateMeshBuilder
AddVertex, 10.6, 0, 13.58
AddVertex, 10.6, 4.7, 13.58
AddVertex, 10.6, 4.7, 27.2
AddVertex, 10.6, 0, 27.2
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bok_p2.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; zadek
CreateMeshBuilder
AddVertex, 10.6, 0, 27.18
AddVertex, 10.6, 4.6, 27.18
AddVertex, 5, 4.6, 27.18
AddVertex, 5, 0, 27.18
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_predek3.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, 3.5, 4.58, 27.18
AddVertex, 3.5, 5.9, 27.18
AddVertex, 10.6, 5.9, 27.18
AddVertex, 10.6, 4.58, 27.18
AddFace, 3, 2, 1, 0
GenerateNormals
LoadTexture, depo_drevo_predek4.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,

; střecha - pravá polovina
CreateMeshBuilder
AddVertex, 3, 5.7, 13
AddVertex, 3, 5.7, 27.6
AddVertex, 11.2, 4.8, 27.6
AddVertex, 11.2, 4.8, 13
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha2.png
SetTextureCoordinates,0, 0, 2
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 3, 0
SetTextureCoordinates,3, 3, 2
CreateMeshBuilder
AddVertex, 11.1, 4.6, 13
AddVertex, 11.2, 4.8, 13
AddVertex, 11.2, 4.8, 27.6
AddVertex, 11.1, 4.6, 27.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_strecha_bok.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1.5, 0
SetTextureCoordinates,3, 1.5, 1
CreateMeshBuilder
AddVertex, 3, 5.5, 13
AddVertex, 3, 5.5, 27.6
AddVertex, 11.2, 4.6, 27.6
AddVertex, 11.1, 4.6, 13
AddFace, 3, 2, 1, 0
GenerateNormals
SetColor, 27, 29, 30

; střecha - přední krov
CreateMeshBuilder
AddVertex, 3, 5.5, 13
AddVertex, 3, 5.7, 13
AddVertex, 11.2, 4.8, 13
AddVertex, 11.1, 4.6, 13
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; střecha - zadní krov
CreateMeshBuilder
AddVertex, 11.1, 4.6, 27.6
AddVertex, 11.2, 4.8, 27.6
AddVertex, 3, 5.7, 27.6
AddVertex, 3, 5.5, 27.6
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_krov.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1.5, 0
SetTextureCoordinates,3, 1.5, 1


; ----- PLECHOVÁ BOUDA ------------------------------------
; předek
CreateMeshBuilder
AddVertex, -9.31, 0, 3.8
AddVertex, -9.31, 3.37, 3.8
AddVertex, -5, 3.37, 3.8
AddVertex, -5, 0, 3.8
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bouda_predek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder
AddVertex, -9.17, 0, 7.8
AddVertex, -9.17, 2.92, 7.8
AddVertex, -5, 3.29, 7.8
AddVertex, -5, 0, 7.8
AddFace, 0, 1, 2, 3
GenerateNormals
SetColor, 15, 14, 12

; bok
CreateMeshBuilder
AddVertex, -9.18, 0, 11.8
AddVertex, -9.18, 2.92, 11.8
AddVertex, -9.18, 2.92, 3.8
AddVertex, -9.18, 0, 3.8
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bouda_bok.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; zadek
CreateMeshBuilder
AddVertex, -5, 0, 11.8
AddVertex, -5, 3.3, 11.8
AddVertex, -9.4, 3.3, 11.8
AddVertex, -9.4, 0, 11.8
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_bouda_zadek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
SetDecalTransparentColor,0,0,0,

; střecha
CreateMeshBuilder
AddVertex, -9.3, 2.86, 3.68
AddVertex, -9.3, 2.91, 3.7
AddVertex, -9.3, 2.91, 11.9
AddVertex, -9.3, 2.86, 11.92
AddVertex, -5, 3.25, 11.92
AddVertex, -5, 3.3, 11.9
AddVertex, -5, 3.3, 3.7
AddVertex, -5, 3.25, 3.68
AddFace, 0, 1, 6, 7
AddFace, 1, 2, 5, 6
AddFace, 2, 3, 4, 5
GenerateNormals
LoadTexture, depo_drevo_bouda_strecha.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0.98
SetTextureCoordinates,2, 0, 0.02
SetTextureCoordinates,3, 0, 0
SetTextureCoordinates,4, 1, 0
SetTextureCoordinates,5, 1, 0.02
SetTextureCoordinates,6, 1, 0.98
SetTextureCoordinates,7, 1, 1
SetDecalTransparentColor,0,0,0,
CreateMeshBuilder
AddVertex, -9.3, 2.85, 3.68
AddVertex, -9.3, 2.9, 3.7
AddVertex, -9.3, 2.9, 11.9
AddVertex, -9.3, 2.85, 11.92
AddVertex, -5, 3.24, 11.92
AddVertex, -5, 3.29, 11.9
AddVertex, -5, 3.29, 3.7
AddVertex, -5, 3.24, 3.68
AddFace2, 0, 1, 6, 7
AddFace2, 1, 2, 5, 6
AddFace2, 2, 3, 4, 5
GenerateNormals
SetColor, 15, 14, 12


; ----- ELEKTRO SKŘÍŇKA - přední ------------------------------------
; předek
CreateMeshBuilder
AddVertex, -5.25, 0, 3.66
AddVertex, -5.25, 1.8, 3.66
AddVertex, -5.25, 1.8, 2.9
AddVertex, -5.25, 0, 2.9
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro_predek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; bok
CreateMeshBuilder
AddVertex, -5.25, 0, 2.9
AddVertex, -5.25, 1.8, 2.9
AddVertex, -5, 1.8, 2.9
AddVertex, -5, 0, 2.9
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro_bok.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; "střecha"
CreateMeshBuilder
AddVertex, -5.25, 1.8, 2.9
AddVertex, -5.25, 1.8, 3.66
AddVertex, -5, 1.8, 3.66
AddVertex, -5, 1.8, 2.9
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro_strecha.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 2, 0
SetTextureCoordinates,3, 2, 1


; ----- ELEKTRO SKŘÍŇKA - zadní ------------------------------------
; předek
CreateMeshBuilder
AddVertex, -5.25, 0, 23.95
AddVertex, -5.25, 1, 23.95
AddVertex, -5.25, 1, 23
AddVertex, -5.25, 0, 23
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro2_predek.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1
CreateMeshBuilder
AddVertex, -5.25, 1, 23.95
AddVertex, -5.25, 1.1, 23.95
AddVertex, -5.25, 1.1, 23
AddVertex, -5.25, 1, 23
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro2_predek2.png
SetTextureCoordinates,0, 0, 1
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1

; levý bok
CreateMeshBuilder
AddVertex, -5, 0, 23.95
AddVertex, -5, 1.15, 23.95
AddVertex, -5.25, 1.1, 23.95
AddVertex, -5.25, 0, 23.95
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro2_bok.png
SetTextureCoordinates,0, 0, 1.9
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1.9

; pravý bok
CreateMeshBuilder
AddVertex, -5.25, 0, 23
AddVertex, -5.25, 1.1, 23
AddVertex, -5, 1.15, 23
AddVertex, -5, 0, 23.05
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro2_bok.png
SetTextureCoordinates,0, 0, 1.9
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 1.9

; "střecha"
CreateMeshBuilder
AddVertex, -5.25, 1.1, 23.95
AddVertex, -5, 1.15, 23.95
AddVertex, -5, 1.15, 23
AddVertex, -5.25, 1.1, 23
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture, depo_drevo_elektro2_strecha.png
SetTextureCoordinates,0, 0, 2
SetTextureCoordinates,1, 0, 0
SetTextureCoordinates,2, 1, 0
SetTextureCoordinates,3, 1, 2
