From 3b56b0dbfba7ce349346d8c0266c404589f5545a Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sun, 5 Feb 2017 12:35:32 -0500 Subject: [PATCH] Improved the look of the shop. --- src/shop.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shop.cpp b/src/shop.cpp index 0802db9..ed7213f 100644 --- a/src/shop.cpp +++ b/src/shop.cpp @@ -269,14 +269,14 @@ static void drawShop() shopItems[i].y - 178, gfx_shopSprites[SHOP_S_CATALOG]); } - sprintf(description, "Shield Units : %d", player.maxShield); - gfx_renderString(description, 10, 4, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); - sprintf(description, "Cash : $%d", game.cash); - gfx_renderString(description, 10, 20, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); + sprintf(description, "Shield : %d", player.maxShield); + gfx_renderString(description, 10, 6, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); + sprintf(description, " Cash : $%d", game.cash); + gfx_renderString(description, 10, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); sprintf(description, "Plasma Cells : %.3d", player.ammo[0]); - gfx_renderString(description, 430, 4, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); + gfx_renderString(description, 430, 6, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); sprintf(description, "Rockets : %.2d", player.ammo[1]); - gfx_renderString(description, 475, 20, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); + gfx_renderString(description, 475, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_SHIP_INFO]); gfx_shopSprites[SHOP_S_ITEM_INFO] = gfx_createSurface(601, 56); gfx_drawRect(gfx_shopSprites[SHOP_S_ITEM_INFO], 0, 0, 600, 35, 0x00, 0x99, 0x00);