From 0effb37d4ebbb40f5fad26afe4305243947b11ad Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sun, 5 Feb 2017 12:39:02 -0500 Subject: [PATCH] Fixed shop item positions. --- src/shop.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/shop.cpp b/src/shop.cpp index ed7213f..7e55727 100644 --- a/src/shop.cpp +++ b/src/shop.cpp @@ -460,55 +460,55 @@ void shop_init() shopItems[SHOP_MICRO_HOMING_MISSILES].image = 25; shopItems[SHOP_PLASMA_MAX_OUTPUT].x = shop_x; - shopItems[SHOP_PLASMA_MAX_OUTPUT].y = 200; + shopItems[SHOP_PLASMA_MAX_OUTPUT].y = shop_y + 150; shopItems[SHOP_PLASMA_MAX_DAMAGE].x = shop_x + 50; - shopItems[SHOP_PLASMA_MAX_DAMAGE].y = 200; + shopItems[SHOP_PLASMA_MAX_DAMAGE].y = shop_y + 150; shopItems[SHOP_PLASMA_MAX_RATE].x = shop_x + 100; - shopItems[SHOP_PLASMA_MAX_RATE].y = 200; + shopItems[SHOP_PLASMA_MAX_RATE].y = shop_y + 150; shopItems[SHOP_PLASMA_MIN_OUTPUT].x = shop_x; - shopItems[SHOP_PLASMA_MIN_OUTPUT].y = 260; + shopItems[SHOP_PLASMA_MIN_OUTPUT].y = shop_y + 210; shopItems[SHOP_PLASMA_MIN_DAMAGE].x = shop_x + 50; - shopItems[SHOP_PLASMA_MIN_DAMAGE].y = 260; + shopItems[SHOP_PLASMA_MIN_DAMAGE].y = shop_y + 210; shopItems[SHOP_PLASMA_MIN_RATE].x = shop_x + 100; - shopItems[SHOP_PLASMA_MIN_RATE].y = 260; + shopItems[SHOP_PLASMA_MIN_RATE].y = shop_y + 210; shopItems[SHOP_PLASMA_AMMO].x = shop_x + 250; - shopItems[SHOP_PLASMA_AMMO].y = 200; + shopItems[SHOP_PLASMA_AMMO].y = shop_y + 150; shopItems[SHOP_ROCKET_AMMO].x = shop_x + 300; - shopItems[SHOP_ROCKET_AMMO].y = 200; + shopItems[SHOP_ROCKET_AMMO].y = shop_y + 150; shopItems[SHOP_PLASMA_MAX_AMMO].x = shop_x + 350; - shopItems[SHOP_PLASMA_MAX_AMMO].y = 200; + shopItems[SHOP_PLASMA_MAX_AMMO].y = shop_y + 150; shopItems[SHOP_ROCKET_MAX_AMMO].x = shop_x + 400; - shopItems[SHOP_ROCKET_MAX_AMMO].y = 200; + shopItems[SHOP_ROCKET_MAX_AMMO].y = shop_y + 150; shopItems[SHOP_DOUBLE_ROCKETS].x = shop_x + 250; - shopItems[SHOP_DOUBLE_ROCKETS].y = 260; + shopItems[SHOP_DOUBLE_ROCKETS].y = shop_y + 210; shopItems[SHOP_MICRO_ROCKETS].x = shop_x + 300; - shopItems[SHOP_MICRO_ROCKETS].y = 260; + shopItems[SHOP_MICRO_ROCKETS].y = shop_y + 210; shopItems[SHOP_LASER].x = shop_x + 350; - shopItems[SHOP_LASER].y = 260; + shopItems[SHOP_LASER].y = shop_y + 210; shopItems[SHOP_HOMING_MISSILE].x = shop_x + 400; - shopItems[SHOP_HOMING_MISSILE].y = 260; + shopItems[SHOP_HOMING_MISSILE].y = shop_y + 210; shopItems[SHOP_CHARGER].x = shop_x + 450; - shopItems[SHOP_CHARGER].y = 260; + shopItems[SHOP_CHARGER].y = shop_y + 210; shopItems[SHOP_DOUBLE_HOMING_MISSILES].x = shop_x + 500; - shopItems[SHOP_DOUBLE_HOMING_MISSILES].y = 260; + shopItems[SHOP_DOUBLE_HOMING_MISSILES].y = shop_y + 210; shopItems[SHOP_MICRO_HOMING_MISSILES].x = shop_x + 550; - shopItems[SHOP_MICRO_HOMING_MISSILES].y = 260; + shopItems[SHOP_MICRO_HOMING_MISSILES].y = shop_y + 210; shopSelectedItem = -1;