?? (???????????????->???????.??????) {
??? ?????? = 100 - ???????->?????????();
??? ? = 4;
?? (????? < 4)
? = ?????;
??? ??, ??, ??;
?? = 255 - (???????->?????????() * 2.55);
?? = ???????->?????????() * 2.55;
?? = 0;
?? (???????->?????????()) {
?_????.????????(? - (5), ?, ?, ??????, 0, 0, 0, ?????????????[???????->????????()]);
?_????.????????(? - (5), ? + ?????? * ?????? / 100, ?, ???????->?????????() * ?????? / 100, ??, ??, ??, ?????????????[???????->????????()]);
?_????.???(? - (5), ?, ?, ??????, 0, 0, 0, ?????????????[???????->????????()]);
}
???? {
?_????.????????(? - (5), ?, ?, ??????, 0, 0, 0, ?????????????[???????->????????()]);
?_????.????????(? - (5), ? + ?????? * ?????? / 100, ?, ???????->?????????() * ?????? / 100, ??, ??, ??, ?????????????[???????->????????()]);
?_????.???(? - (5), ?, ?, ??????, 0, 0, 0, ?????????????[???????->????????()]);
}
}