loadresource("data\\9\\4\\0002.png","koleso2",2);
loadresource("data\\inventary\\kolesa.png","koleso3",3);
loadresource("data\\9\\4\\koleso_all.png","koleso_all",4);
loadresource("data\\9\\4\\0008.jpg","koleso8",8);


AddObjForCur()

addstaticobjecttogame( 3,"koleso2",233,114,""); --рамка
CloseBtnX,CloseBtnY=Coords(3)


SetFlagsForSatButtons()

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);


NewObj("koleso","koleso3",3000,3000,"206"); --колесо для инвентаря
addstaticobjecttogame( 5,"koleso_all",245,250,"",550,776,383,213); --багор под колесом
speciale_action(2,5);
addstaticobjecttogame( 6,"koleso_all",254,133,"",0,290,550,384); --колесо из воды
speciale_action(2,6);
addstaticobjecttogame( 7,"koleso_all",245,311,"",550,632,391,144); --багор просто
speciale_action(2,7);
addactivobjecttogame( 8,"koleso_all",233,233,"","",0,0,0,0,602,290); --колесо в воде
Set_Anim_Cur(8,4);
addstaticobjecttogame( 9,"koleso8",241,127,"",0,0,588,390); --бг

  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;

WaitRender();