From: Daniel Karbach Date: Fri, 10 Aug 2012 14:37:57 +0000 (+0200) Subject: added "No equit" text to battle resources X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=44288f7ce53d52ad5c7961af1437162088beec18;p=l2e.git added "No equit" text to battle resources --- diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 867915e..1e86f64 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -59,6 +59,7 @@ struct Resources { const char *ikariMenuHeadline; graphics::Menu ikariMenuPrototype; + const char *noEquipmentText; graphics::Sprite *weaponMenuIcon; graphics::Sprite *armorMenuIcon; @@ -97,6 +98,7 @@ struct Resources { , inventory(0) , itemMenuHeadline("") , ikariMenuHeadline("") + , noEquipmentText("") , weaponMenuIcon(0) , armorMenuIcon(0) diff --git a/src/main.cpp b/src/main.cpp index 7b47f85..1d98f41 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -444,6 +444,7 @@ int main(int argc, char **argv) { dekar.SetJewel(&krakenRock); battleRes.ikariMenuHeadline = "Please choose equipment."; + battleRes.noEquipmentText = "No equip"; battleRes.ikariMenuPrototype = Menu(&normalFont, &disabledFont, &handCursorSprite, 26, 6, 8, 16, 1, 32); battleRes.ikariMenuPrototype.Add("Zirco whip Thundershriek", 0, false, &swordIcon); battleRes.ikariMenuPrototype.Add("Zircon plate Sudden cure", 0, true, &armorIcon);