[MPSurrender]
type image
x 256
y 100
width 512
height 384
level 6
MODAL
HANDLER DEPLOYHANDLER

[MPSurrenderBack]
type text
x 0
y 0
width 1024
height 768
windowedback 10
file Fade_Centre.tga

[MPSurrenderTitle]
parent MPSurrenderBack
type text
x 256
y 128
width 512
height 40
font SmoothFontF
colour ffffffff
border ff000000
string IDS_TT_EXIT_BATTLE
CENTER

[MPSurrenderDivider]
parent MPSurrenderBack
type image
x 312
y 160
width 400
height 24
FILE Elements.dds
IMAGELEFT 0
IMAGETOP 32
IMAGEWIDTH 512
IMAGEHEIGHT 32

[MPSurrenderCancel]
type button
parent MPSurrenderBack
file Button_Cancel.dds
x 480
y 400
width 64
height 64
command disable MPSurrender
tooltip IDS_TT_RETURN_TO_BATTLE
sfxfocus 7
sfx 5

//[MPSurrenderSaveAndExitText]
//type text
//parent MPSurrenderBack
//x 395
//x 400
//y 219
//width 224
//height 30
//colour ffe3e37c
//border ff000000
//string IDS_MP_SAVEANDEXIT
//center
//
//[MPSurrenderSaveAndExit]
//type button
//parent MPSurrenderBack
//file Button_File_Save.dds
//x 480
//y 254
//width 64
//height 64
//sfxfocus 7
//sfx 5
//
//

// *** SURRENDER
[MPSurrenderSurrenderBlocker]
parent MPSurrenderBack
type button
x 384
y 327
width 256
height 226
File Fade_Transparent.DDS

[MPSurrenderSurrender]
parent MPSurrenderBack
type button
x 384
y 300
width 256
height 256
File Button_256.DDS
font UIFont
colour ff1b1b1b
sfxfocus 7
sfx 5

[MPSurrenderSurrenderText]
parent MPSurrenderSurrender
type text
x 384
y 302
width 256
height 27
string IDS_MP_SURRENDER
colour ff1b1b1b
font UIFontF
CENTER


//[MPSurrenderSurrenderText]
//type text
//parent MPSurrenderBack
//x 395
////x 400
//y 313
//width 224
//height 30
//colour ffe3e37c
//border ff000000
//string IDS_MP_SURRENDER
//center
//
//[MPSurrenderSurrender]
//type button
//parent MPSurrenderBack
//file surrender_round_button.tga
//x 490
//y 347
//width 48
//height 48
//sfxfocus 7
//sfx 5

// *** SAVE AND EXIT
[MPSurrenderSaveBlocker]
parent MPSurrenderBack
type button
x 384
y 227
width 256
height 226
File Fade_Transparent.DDS

[MPSurrenderSaveAndExit]
parent MPSurrenderBack
type button
x 384
y 200
width 256
height 256
File Button_256.DDS
font UIFont
colour ff1b1b1b
tooltip IDS_MP_SAVEANDEXIT
sfxfocus 7
sfx 5

[MPSurrenderSaveAndExitText]
parent MPSurrenderSaveAndExit
type text
x 384
y 202
width 256
height 27
string IDS_MP_SAVEANDEXIT
colour ff1b1b1b
font UIFontF
CENTER


[MPSurrenderBackground]
parent MPSurrenderBack
type text
x 256
y 100
width 512
height 384
windowedback 10
file Fade_Dialog.tga


