]> git.localhorst.tv Git - l2e.git/commitdiff
added "No equit" text to battle resources
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 10 Aug 2012 14:37:57 +0000 (16:37 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 10 Aug 2012 14:37:57 +0000 (16:37 +0200)
src/battle/Resources.h
src/main.cpp

index 867915e928544e64c52a3b29334338d1c0cf8465..1e86f64ab160b1a984797801486015ebc6a3945e 100644 (file)
@@ -59,6 +59,7 @@ struct Resources {
 
        const char *ikariMenuHeadline;
        graphics::Menu<const common::Item *> 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)
index 7b47f858494ee04365987522d7d4409b1f56dc87..1d98f41cf89f9eed0db269df2a65d9f21963f0d7 100644 (file)
@@ -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<const Item *>(&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);