Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hBall = CreateBallRgn(hDC, LeftUpH.first, LeftUpH.second-10, 0, 10, 0, 0, 0);
- OffsetRgn(hBall, iCurrentOffsetX, iCurrentOffsetY);
- FillRgn(hDC, hBall, hBrushGreen);
- if (iCurrentOffsetX + 10 >= LeftUpL.first) {
- if (currentWolf == 0)
- score++;
- else
- health--;
- iCurrentOffsetX = 0;
- iCurrentOffsetY = 0;
- }
- fillString(stat_str, score, health);
- TextOut(hDC, 0, 0, stat_str.c_str(), strlen(stat_str.c_str()));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement