Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Dune: the shop labels only the cards it shows whole

Mason363c00808b90e55
diff --git a/games/dune/docs/gameplay.png b/games/dune/docs/gameplay.png
deleted file mode 100644
index 7bc8ecef..00000000
Binary files a/games/dune/docs/gameplay.png and /dev/null differ
diff --git a/games/dune/docs/help.png b/games/dune/docs/help.png
deleted file mode 100644
index 164656d0..00000000
Binary files a/games/dune/docs/help.png and /dev/null differ
diff --git a/games/dune/docs/shop-purchased.png b/games/dune/docs/shop-purchased.png
deleted file mode 100644
index 6262f114..00000000
Binary files a/games/dune/docs/shop-purchased.png and /dev/null differ
diff --git a/games/dune/docs/shop.png b/games/dune/docs/shop.png
deleted file mode 100644
index e15d3b7f..00000000
Binary files a/games/dune/docs/shop.png and /dev/null differ
diff --git a/games/dune/docs/title.png b/games/dune/docs/title.png
deleted file mode 100644
index 2eb34cd2..00000000
Binary files a/games/dune/docs/title.png and /dev/null differ
diff --git a/games/dune/src/draw.c b/games/dune/src/draw.c
index ab3e0145..af9e7bd0 100644
--- a/games/dune/src/draw.c
+++ b/games/dune/src/draw.c
@@ -948,7 +948,7 @@ static void shop(void) {
rect(x, y, CARD_W, CARD_H, C(0x425367), 204);
round_rect(x, y, CARD_W, CARD_H, 0, 1, C(0x2D3738), 256);
if (own) raw_scaled(b, cx - 14, cy - 5 - 14, 28, 28, 256);
- else mask(&art_lock, cx - 8, cy - 11, WHITE, 256), price_tag(cx, cy + 30, art_ball_info_[i].price);
+ else if (x >= 52 && x + CARD_W <= W) mask(&art_lock, cx - 8, cy - 11, WHITE, 256), price_tag(cx, cy + 30, art_ball_info_[i].price);
if (i == V->ball) round_rect(x - 1, y - 1, CARD_W + 2, CARD_H + 2, 0, 2, WHITE, 256);
if (!V->shop_side && i == V->shop_sel) focus(x - 1, y - 1, CARD_W + 2, CARD_H + 2, 2);
}