Лишние картинки

This commit is contained in:
Mikhail Abramov 2019-10-18 23:01:38 +04:00
parent 08a529aa23
commit c241da34a1
4 changed files with 7 additions and 4 deletions

View file

@ -232,6 +232,9 @@ void mainFunc()
RECT questBut = { RECT questBut = {
extentX - BLOCK_SIZE, BLOCK_SIZE, extentX, 2 * BLOCK_SIZE extentX - BLOCK_SIZE, BLOCK_SIZE, extentX, 2 * BLOCK_SIZE
}; };
RECT questBut = {
extentX - 2 * BLOCK_SIZE, BLOCK_SIZE, extentX, 2 * BLOCK_SIZE
};
RECT waterBut = { RECT waterBut = {
extentX - BLOCK_SIZE, 2 * BLOCK_SIZE, extentX, 3 * BLOCK_SIZE extentX - BLOCK_SIZE, 2 * BLOCK_SIZE, extentX, 3 * BLOCK_SIZE
@ -412,12 +415,8 @@ void mainFunc()
//moving picture //moving picture
if (selectedPict >= 0 && txMouseButtons() & 1) { if (selectedPict >= 0 && txMouseButtons() & 1) {
txBitBlt(txDC(), txMouseX() - 30, txMouseY() - 30, txBitBlt(txDC(), txMouseX() - 30, txMouseY() - 30,
60, 60, mapParts[selectedPict].picture); 60, 60, mapParts[selectedPict].picture);
//selectedPict = -1;
} }
if (selectedPict >= 0 && !(txMouseButtons() & 1)) { if (selectedPict >= 0 && !(txMouseButtons() & 1)) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

4
level1.fslvl Normal file
View file

@ -0,0 +1,4 @@
Quest,480,240,530,299
Water,540,240,600,298
Water,480,180,526,233
Quest,0,0,57,50

BIN
water.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB