[Main]
y=0
x=0
xs=1024
ys=768
sticky_focus = 1

[Param]
fade=1
half_fade=1
fade_speed=2
half_fade_value=128

[Background]
sprite_background=data/Menu/UIMainMenu/Back.jpg

; ----------------- frame ------------------
[Logo]
type=sprite
x=340
y=14
ignore=data/menu/UIMainMenu/logo.tga
stage=0

[LeftUp]
type=sprite
x=132
y=108
ignore=data/menu/UIMainMenu/framecorner_tl.tga
stage=0

[RightUp]
type=sprite
x=808
y=108
ignore=data/menu/UIMainMenu/framecorner_tr.tga
stage=0

[LeftBottom]
type=sprite
x=132
y=630
ignore=data/menu/UIMainMenu/framecorner_bl.tga
stage=0

[RightBottom]
type=sprite
x=808
y=630
ignore=data/menu/UIMainMenu/framecorner_br.tga
stage=0

[Left]
type=sprite
x=132
y=185
ysSpr=445
ignore=data/menu/UIMainMenu/frame_l_tail.tga
stage=0

[Right]
type=sprite
x=808
y=185
ysSpr=445
ignore=data/menu/UIMainMenu/frame_r_tail.tga
stage=0

[Top]
type=sprite
x=218
y=108
xsSpr=590
ignore=data/menu/UIMainMenu/frame_t_tail.tga
stage=0

[Bottom]
type=sprite
x=218
y=630
xsSpr=590
ignore=data/menu/UIMainMenu/frame_b_tail.tga
stage=0

[Mid]
type=sprite
x=218
y=185
xsSpr=590
ysSpr=445
ignore=data/menu/UIMainMenu/frame_mid_tail.tga
stage=0

[TilePoint0]
type=sprite
x=700
y=240
ignore=data/menu/UIMainMenu/tile_point.tga
stage=0

[TilePoint1]
type=sprite
x=700
y=290
ignore=data/menu/UIMainMenu/tile_point.tga
stage=0

[TilePoint2]
type=sprite
x=700
y=342
ignore=data/menu/UIMainMenu/tile_point.tga
stage=0

[tick0]
spr_x=700
spr_y=223
period=500
frames=10
sprite=data/menu/UIMainMenu/galka.tga

[tick1]
spr_x=700
spr_y=273
period=500
frames=10
sprite=data/menu/UIMainMenu/galka.tga

[tick2]
spr_x=700
spr_y=325
period=500
frames=10
sprite=data/menu/UIMainMenu/galka.tga

[cross0]
spr_x=700
spr_y=238
period=500
frames=13
sprite=data/menu/UIMainMenu/krestik.tga

[cross1]
spr_x=700
spr_y=288
period=500
frames=13
sprite=data/menu/UIMainMenu/krestik.tga

[cross2]
spr_x=700
spr_y=340
period=500
frames=13
sprite=data/menu/UIMainMenu/krestik.tga

; ------------------------------------------

; ----------------- Text -----------------
;[Congratulations]
;type=text
;x=132
;y=220
;xs=760
;name=#GAME_RESULT_CONGRATULATIONS
;font=data/Fonts/menufontMain.tga

[Goal0]
type=text
x=340
;y=265
y=240
xs=340
ys=35
name=#LEVEL_LOADING_TEXT_1
yalign=0
xalign=0
font=data/fonts/statistic_font.tga

[Goal1]
type=text
x=340
y=290
xs=340
ys=35
name=#LEVEL_LOADING_TEXT_2
yalign=0
xalign=0
font=data/fonts/statistic_font.tga

[Goal2]
type=text
x=340
y=342
xs=340
ys=35
name=#LEVEL_TASK_UPGRADE
yalign=0
xalign=0
font=data/fonts/statistic_font.tga

[RibbonLeft]
type=sprite
;y=230
y=202
ignore=data/menu/UIGameLoading/ribbon_l.tga
stage=0

[GameResult]
type=text
y=255
name=#GAME_RESULT_YOU_WON
font=data/Fonts/menufontMain.tga

[Lose]
type=text
y=255
name=#GAME_RESULT_YOU_LOSE
font=data/Fonts/menufontMain.tga

[RibbonRight]
type=sprite
;y=230
y=202
ignore=data/menu/UIGameLoading/ribbon_r.tga
stage=0

[Day]
type=text
x=132
;y=240
y=218
xs=760
xalign=1
name=#MENU_DAY
font=data/fonts/menufontMain2.tga

[Divider1]
type=sprite
x=340
y=385
ignore=data/menu/UIGameLoading/stroke.tga
stage=0

[ClientsServed]
type=text
x=132
y=414
xs=360
name=#GAME_RESULT_CLIENTS_SERVED
font=data/fonts/statistic_font.tga
xalign=1

[ClientsAmount]
type=text
x=532
y=414
xs=173
font=data/fonts/menufontMain2.tga
xalign=1
name=10000

[ClientsPic]
type=sprite
x=710
y=404
ignore=data/menu/UIAfterGame/clients.tga
stage=0

[BustSign]
sprite=data/menu/UIAfterGame/clients.tga
x = 721
y = 414
maxLoops = 1
minScale = 0.75
maxScale = 1.25
maxAlpha = 0.5
loopTime = 0.5

[ServiceIncome]
type=text
x=132
y=449
xs=360
name=#GAME_RESULT_SERVICE_INCOME
font=data/fonts/statistic_font.tga
xalign=1

[ServiceAmount]
type=text
x=532
y=449
xs=173
font=data/fonts/menufontMain2.tga
xalign=1
name=10000

[ServicePic]
type=sprite
x=710
y=439
ignore=data/menu/UIAfterGame/coins.tga
stage=0

[ServiceSign]
sprite=data/menu/UIAfterGame/coins.tga
x = 728
y = 453
maxLoops = 1
minScale = 0.75
maxScale = 1.25
maxAlpha = 0.5
loopTime = 0.5

[Tips]
type=text
x=132
y=484
xs=360
name=#GAME_RESULT_TIPS
font=data/fonts/statistic_font.tga
xalign=1

[TipsAmount]
type=text
x=532
y=484
xs=173
font=data/fonts/menufontMain2.tga
xalign=1
name=10000

[TipsPic]
type=sprite
x=710
y=474
ignore=data/menu/UIAfterGame/coins.tga
stage=0

[TipsSign]
sprite=data/menu/UIAfterGame/coins.tga
x = 728
y = 488
maxLoops = 1
minScale = 0.75
maxScale = 1.25
maxAlpha = 0.5
loopTime = 0.5

[Divider2]
type=sprite
x=340
y=505
ignore=data/menu/UIGameLoading/stroke.tga
stage=0

[Total]
type=text
x=132
y=540
xs=360
name=#GAME_RESULT_TOTAL
font=data/fonts/menufontMain2.tga
xalign=1

[TotalAmount]
type=text
x=532
y=540
xs=173
font=data/fonts/menufontMain2.tga
xalign=1
name=30000

[TotalPic]
type=sprite
x=710
y=525
ignore=data/menu/UIAfterGame/coins.tga
stage=0

[TotalSign]
sprite=data/menu/UIAfterGame/coins.tga
x = 728
y = 539
maxLoops = 1
minScale = 0.75
maxScale = 1.25
maxAlpha = 0.5
loopTime = 0.5

[Ribbon]
type=sprite
x=360
y=570
ignore=data/Menu/UIGameLoading/ribbon_big.tga
stage=0
; ------------------------------------------

; ------------- Buttons -------------------

[BtnRestart]
type=iebutton
x=200
y=610
xs=280
ys=74
normal=data/menu/UIMainMenu/bottommenu_n.tga
press=data/menu/UIMainMenu/bottommenu_p.tga
active=data/menu/UIMainMenu/bottommenu_a.tga
font=data/Fonts/menufontMain.tga
stage=1
name=#MENU_RESTART
sndNormalActive = ButtonActive
sndActivePress = ButtonPress

[BtnMenu]
type=iebutton
x=540
y=610
xs=280
ys=74
normal=data/menu/UIMainMenu/bottommenu_n.tga
press=data/menu/UIMainMenu/bottommenu_p.tga
active=data/menu/UIMainMenu/bottommenu_a.tga
font=data/Fonts/menufontMain.tga
stage=1
name=#MENU_BUTTON_MENU
sndNormalActive = ButtonActive
sndActivePress = ButtonPress

[BtnOk]
type=iebutton
x=550
y=610
xs=280
ys=74
normal=data/menu/UIMainMenu/bottommenu_n.tga
press=data/menu/UIMainMenu/bottommenu_p.tga
active=data/menu/UIMainMenu/bottommenu_a.tga
font=data/Fonts/menufontMain.tga
stage=1
name=#MENU_OK
sndNormalActive = ButtonActive
sndActivePress = ButtonPress

; --------------- Sprites ------------------
[JaneWin]
type=sprite
x=750
y=112
ignore=data/menu/UIAfterGame/jane_smile.tga
stage=0

[JaneExpert]
type=sprite
x=750
y=112
ignore=data/menu/UIAfterGame/jane_expert.tga
stage=0

[JaneLose]
type=sprite
x=750
y=112
ignore=data/menu/UIAfterGame/jane_cry.tga
stage=0

