loadresource("data\\2\\11\\0004.png","border1",1004);
loadresource("data\\2\\11\\0005.png","harugma",1005);
loadresource("data\\2\\11\\parts.png","parts",1005);
loadresource("data\\2\\11\\0012.jpg","fon1"   ,1016);

AddObjForCur()

-- Corners={}
-- Corners["xl"]=102
-- Corners["yl"]=67
-- Corners["xr"]=102+843
-- Corners["yr"]=67+539

SetFlagsForSatButtons()
addstaticobjecttogame(1004,"border1",100 ,68 ,""); --рамка
CloseBtnX,CloseBtnY,SkipBtnX,SkipBtnY,HelpBtnX,HelpBtnY=Coords(1004)

HelpWidth=36
HelpHeight=36
CreateHelpBtn(HelpBtnX,HelpBtnY,36,36);

AddSkipBtn(SkipBtnX,SkipBtnY);


CloseWidth=34
CloseHeight=34
CreateCloseBtn(CloseBtnX,CloseBtnY);

addstaticobjecttogame(1005,"harugma",243,311,""); --символ
speciale_action(2,1005);

luft=30
objectid=0
currlayer=1
err_game=false
el_count=0


symbXreal={}
symbXreal[1006]=264
symbXreal[1007]=323
symbXreal[1008]=342
symbXreal[1009]=238
symbXreal[1010]=385
symbXreal[1011]=288
symbXreal[1012]=306

symbYreal={}
symbYreal[1006]=331
symbYreal[1007]=388
symbYreal[1008]=348
symbYreal[1009]=312
symbYreal[1010]=358
symbYreal[1011]=308
symbYreal[1012]=368

symbXpict={}
symbXpict[1006]=594
symbXpict[1007]=635
symbXpict[1008]=635
symbXpict[1009]=765
symbXpict[1010]=710
symbXpict[1011]=473
symbXpict[1012]=790

symbYpict={}
symbYpict[1006]=226
symbYpict[1007]=188
symbYpict[1008]=386
symbYpict[1009]=338
symbYpict[1010]=227
symbYpict[1011]=318
symbYpict[1012]=125

symbwidth={}
symbwidth[1006]=170
symbwidth[1007]=90
symbwidth[1008]=138
symbwidth[1009]=123
symbwidth[1010]=121
symbwidth[1011]=193
symbwidth[1012]=124

symbheight={}
symbheight[1006]=212
symbheight[1007]=90
symbheight[1008]=197
symbheight[1009]=245
symbheight[1010]=211
symbheight[1011]=265
symbheight[1012]=230

symblayer={}
symblayer[1006]=2
symblayer[1007]=3
symblayer[1008]=2
symblayer[1009]=1
symblayer[1010]=1
symblayer[1011]=1
symblayer[1012]=4

symbonplace={}
symbonplace[1006]=false
symbonplace[1007]=false
symbonplace[1008]=false
symbonplace[1009]=false
symbonplace[1010]=false
symbonplace[1011]=false
symbonplace[1012]=false

addactivobjecttogame(1006,"parts"  ,symbXpict[1006],symbYpict[1006],"","",0,0,0,2,167,208);
addactivobjecttogame(1007,"parts"  ,symbXpict[1007],symbYpict[1007],"","",0,0,0,212,90,90);
addactivobjecttogame(1008,"parts"  ,symbXpict[1008],symbYpict[1008],"","",0,0,0,304,135,193);
addactivobjecttogame(1009,"parts"  ,symbXpict[1009],symbYpict[1009],"","",0,0,170,2,120,241);
addactivobjecttogame(1010,"parts"  ,symbXpict[1010],symbYpict[1010],"","",0,0,140,247,116,206);
addactivobjecttogame(1011,"parts"  ,symbXpict[1011],symbYpict[1011],"","",0,0,259,247,190,261);
addactivobjecttogame(1012,"parts"  ,symbXpict[1012],symbYpict[1012],"","",0,0,347,7,124,230);

-- for i=1006,1011,1 do
    -- Set_Anim_Cur(i,4)
-- end;

addstaticobjecttogame(1016,"fon1" ,  112,77,"",0,0,823,519); --фон
WaitRender();




