;顔,,,,
CreateMeshBuilder,,,,
AddVertex,-1.4,1.25,-7.25,;0
AddVertex,-1.4,3.8,-7.25,;1
AddVertex,-0.55,3.8,-7.4,;2
AddVertex,-0.55,1.25,-7.4,;3
AddVertex,0.55,3.8,-7.4,;4
AddVertex,0.55,1.25,-7.4,;5
AddVertex,1.4,3.8,-7.25,;6
AddVertex,1.4,1.25,-7.25,;7
AddFace2,0,1,2,3
AddFace2,3,2,4,5
AddFace2,5,4,6,7
GenerateNormals,,,,
LoadTexture,face(front).bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.3,0,
SetTextureCoordinates,3,0.3,1,
SetTextureCoordinates,4,0.7,0,
SetTextureCoordinates,5,0.7,1,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,255,

;側面,,,,
CreateMeshBuilder,,,,
AddVertex,-1.4,1.25,7.25,;0
AddVertex,-1.4,3.45,7.25,;1
AddVertex,-1.4,3.45,-7.25,;2
AddVertex,-1.4,1.25,-7.25,;3
AddVertex,-1,3.65,7.25,;4
AddVertex,-1,3.65,-7.25,;5
AddFace2,0,1,2,3
AddFace2,4,1,2,5
GenerateNormals,,,,
LoadTexture,body-side.bmp,,,
SetTextureCoordinates,0,-1,1,
SetTextureCoordinates,1,-1,0.07,
SetTextureCoordinates,2,0,0.07,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,-1,-0.03,
SetTextureCoordinates,5,0,-0.03,
SetDecalTransparentColor,0,0,255,

;スカート（前）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.31,0.4,-7.25,;0
AddVertex,-1.41,1.28,-7.25,;1
AddVertex,1.4,1.28,-7.25,;2
AddVertex,1.3,0.4,-7.25,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,skirt-front.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;スカート側面左（前）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.32,0.5,-6.65,;0
AddVertex,-1.4,1.28,-6.65,;1
AddVertex,-1.4,1.28,-7.26,;2
AddVertex,-1.32,0.5,-7.26,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,skirt-side.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;スカート（後）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.31,0.4,7.25,;0
AddVertex,-1.41,1.28,7.25,;1
AddVertex,1.4,1.28,7.25,;2
AddVertex,1.3,0.4,7.25,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,skirt-front.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;スカート側面左（後）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.32,0.5,6.65,;0
AddVertex,-1.4,1.28,6.65,;1
AddVertex,-1.4,1.28,7.25,;2
AddVertex,-1.32,0.5,7.25,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,skirt-side.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;足回り(右),,,,
CreateMeshBuilder,,,,
AddVertex,0.6,0,6.8,;0
AddVertex,0.8,1.25,6.8,;1
AddVertex,0.8,1.25,-6.8,;2
AddVertex,0.6,0,-6.8,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,foot.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,

;足回り(左),,,,
CreateMeshBuilder,,,,
AddVertex,-0.6,0,6.8,;0
AddVertex,-0.8,1.25,6.8,;1
AddVertex,-0.8,1.25,-6.8,;2
AddVertex,-0.6,0,-6.8,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
LoadTexture,foot.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,

;影,,,,
CreateMeshBuilder,,,,
AddVertex,-1.4,-0.1,-7.15,;0
AddVertex,-1.4,-0.1,7.15,;1
AddVertex,1.4,-0.1,7.15,;2
AddVertex,1.4,-0.1,-7.15,;3
AddFace2,0,1,2,3
GenerateNormals,,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetColor,0,0,0,150

;スノープラウ（前）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.35,0.1,-7.15,;0
AddVertex,-1.4,0.4,-7.05,;1
AddVertex,0,0.4,-7.3,;2
AddVertex,0,0.1,-7.5,;3
AddVertex,1.4,0.4,-7.05,;4
AddVertex,1.35,0.1,-7.15,;5
AddVertex,-1.45,0.5,-7.25,;6
AddVertex,0,0.5,-7.4,;7
AddVertex,1.45,0.5,-7.25,;8
AddFace2,0,1,2,3
AddFace2,3,2,4,5
AddFace2,1,6,7,2
AddFace2,2,7,8,4
GenerateNormals,,,,
SetColor,30,30,30,

;スノープラウ（後）,,,,
CreateMeshBuilder,,,,
AddVertex,-1.35,0.1,7.15,;0
AddVertex,-1.4,0.4,7.05,;1
AddVertex,0,0.4,7.3,;2
AddVertex,0,0.1,7.5,;3
AddVertex,1.4,0.4,7.05,;4
AddVertex,1.35,0.1,7.15,;5
AddVertex,-1.45,0.5,7.25,;6
AddVertex,0,0.5,7.4,;7
AddVertex,1.45,0.5,7.25,;8
AddFace2,0,1,2,3
AddFace2,3,2,4,5
AddFace2,1,6,7,2
AddFace2,2,7,8,4
GenerateNormals,,,,
SetColor,30,30,30,

;足場,,,,
CreateMeshBuilder,,,,
Cube,0.12,0.02,0.12,
GenerateNormals,,,,
SetColor,80,80,80,
Translate,-1.2,0.35,-7.3,
CreateMeshBuilder,,,,
Cube,0.12,0.02,0.12,
GenerateNormals,,,,
SetColor,80,80,80,
Translate,1.2,0.35,-7.3,

;パンタグラフ,,,,
CreateMeshBuilder,,,,
AddVertex,-1,5.1,6,;0
AddVertex,1,5.1,6,;1
AddVertex,1,3.7,6,;2
AddVertex,-1,3.7,6,;3
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,ed75_pantograph.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;屋根周り,,,,
CreateMeshBuilder,,,,
AddVertex,-1,4.1,7.3,;0
AddVertex,-1,4.1,-7,;1
AddVertex,1.2,4.1,-7,;2
AddVertex,-1,3.65,7.3,;3
AddVertex,-1,3.65,-7,
AddVertex,1.2,3.65,-7,
AddFace,0,1,4,3
AddFace,1,2,5,4
GenerateNormals,,,,
LoadTexture,ed75_pantograph02.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.35,0,
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,0.35,0.65
SetTextureCoordinates,5,1,0.75
SetDecalTransparentColor,0,0,255
