From f446119f951b17b80969ee7eb485702b97a317cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Sep 2014 22:11:10 +0300 Subject: Increase number of slots again. --- src/equipment.h | 14 ++++++++------ src/gui/windows/equipmentwindow.cpp | 2 +- src/net/ea/inventoryhandler.cpp | 2 ++ 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/equipment.h b/src/equipment.h index 1c40d455c..927dcb893 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -62,12 +62,14 @@ class Equipment final EQUIP_EVOL_RING1_SLOT = 11, EQUIP_EVOL_RING2_SLOT = 12, EQUIP_COSTUME_ROBE_SLOT = 13, - EQUIP_SHADOW_ARMOR_SLOT = 14, - EQUIP_SHADOW_WEAPON_SLOT = 15, - EQUIP_SHADOW_SHIELD_SLOT = 16, - EQUIP_SHADOW_SHOES_SLOT = 17, - EQUIP_SHADOW_ACCESSORY1_SLOT = 18, - EQUIP_SHADOW_ACCESSORY2_SLOT = 19, + EQUIP_MISSING1_SLOT = 14, + EQUIP_MISSING2_SLOT = 15, + EQUIP_SHADOW_ARMOR_SLOT = 16, + EQUIP_SHADOW_WEAPON_SLOT = 17, + EQUIP_SHADOW_SHIELD_SLOT = 18, + EQUIP_SHADOW_SHOES_SLOT = 19, + EQUIP_SHADOW_ACCESSORY1_SLOT = 20, + EQUIP_SHADOW_ACCESSORY2_SLOT = 21, EQUIP_VECTOREND }; diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index a3f3d103f..55d143e9a 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -54,7 +54,7 @@ EquipmentWindow *equipmentWindow = nullptr; EquipmentWindow *beingEquipmentWindow = nullptr; -static const int BOX_COUNT = 13; +static const int BOX_COUNT = 22; EquipmentWindow::EquipmentWindow(Equipment *const equipment, Being *const being, diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 4fca6d2d2..2accd70b5 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -58,6 +58,8 @@ const Equipment::Slot EQUIP_POINTS[Equipment::EQUIP_VECTOREND] = Equipment::EQUIP_EVOL_RING2_SLOT, // Costume Mid Headgear Equipment::EQUIP_PROJECTILE_SLOT, // Costume Low Headgear Equipment::EQUIP_COSTUME_ROBE_SLOT, // Costume Garment/Robe + Equipment::EQUIP_MISSING1_SLOT, // Missing slot 1 + Equipment::EQUIP_MISSING2_SLOT, // Missing slot 2 Equipment::EQUIP_SHADOW_ARMOR_SLOT, // Shadow Armor Equipment::EQUIP_SHADOW_WEAPON_SLOT, // Shadow Weapon Equipment::EQUIP_SHADOW_SHIELD_SLOT, // Shadow Shield -- cgit v1.2.3-70-g09d2