From bb486745066fee301abc272b1c4a4a44ada64b0b Mon Sep 17 00:00:00 2001 From: Luxferre Date: Fri, 23 Oct 2026 19:38:11 +0300 Subject: [PATCH] tetris: lower next-piece preview by another 2px --- overlay/rootfs/usr/bin/tetris | Bin 13668 -> 13668 bytes prebuilt/games/usr/bin/tetris | Bin 13668 -> 13668 bytes src/games/tetris.cpp | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/rootfs/usr/bin/tetris b/overlay/rootfs/usr/bin/tetris index d428f41882fed0d079c8a92ca7836b1d718bfa56..09a97c8ff2fbf83446b8118057037fcb6ed7942a 100755 GIT binary patch delta 40 ycmV+@0N4NIYUFCLWC0Y_3#*1eDtM8R$V7sz))<8uRMn%icmdKM0Zy|^AsG~c!Vx9_ delta 40 ycmV+@0N4NIYUFCLWC0Yz6i%?n_0K2tj&3X@%F6#H&Qt5NcmdKM0Zg+?AsG~`Ruc&T diff --git a/prebuilt/games/usr/bin/tetris b/prebuilt/games/usr/bin/tetris index d428f41882fed0d079c8a92ca7836b1d718bfa56..09a97c8ff2fbf83446b8118057037fcb6ed7942a 100755 GIT binary patch delta 40 ycmV+@0N4NIYUFCLWC0Y_3#*1eDtM8R$V7sz))<8uRMn%icmdKM0Zy|^AsG~c!Vx9_ delta 40 ycmV+@0N4NIYUFCLWC0Yz6i%?n_0K2tj&3X@%F6#H&Qt5NcmdKM0Zg+?AsG~`Ruc&T diff --git a/src/games/tetris.cpp b/src/games/tetris.cpp index 1710c22..999e165 100644 --- a/src/games/tetris.cpp +++ b/src/games/tetris.cpp @@ -305,7 +305,7 @@ static void render() { int pcols = maxx - minx + 1; int prows = maxy - miny + 1; int nx0 = sx + ((winW - sx - 4) - pcols * pcell) / 2; - int ny0 = boxY + (boxH - prows * pcell) / 2 + 10; // sit lower in the frame + int ny0 = boxY + (boxH - prows * pcell) / 2 + 12; // sit lower in the frame XSetForeground(dpy, gc, C_HEAD); for (int i = 0; i < 4; i++) { int cx = nx0 + (nc[i][0] - minx) * pcell;