selan.AddSpell(valorSpell);
battleRes.spellMenuHeadline = intp.GetString("spellMenuHeadline");
- battleRes.spellMenuPrototype = Menu<const Spell *>(intp.GetFont("normalFont"), intp.GetFont("disabledFont"), intp.GetSprite("handCursor"), 9, 6, 8, 0, 2, 32, 2, ':');
+ battleRes.spellMenuPrototype = Menu<const Spell *>(*intp.GetMenuProperties("spellMenuPrototype"));
battleRes.weaponMenuIcon = intp.GetSprite("swordIcon");
battleRes.armorMenuIcon = intp.GetSprite("armorIcon");
battleRes.inventory = &inventory;
battleRes.itemMenuHeadline = intp.GetString("itemMenuHeadline");
- battleRes.itemMenuPrototype = Menu<const common::Item *>(intp.GetFont("normalFont"), intp.GetFont("disabledFont"), intp.GetSprite("handCursor"), 15, 6, 8, 16, 1, 32, 2, ':');
+ battleRes.itemMenuPrototype = Menu<const common::Item *>(*intp.GetMenuProperties("itemMenuPrototype"));
maxim.SetWeapon(intp.GetItem("zircoSwordItem"));
maxim.SetArmor(intp.GetItem("zirconArmorItem"));
battleRes.ikariMenuHeadline = intp.GetString("ikariMenuHeadline");
battleRes.noEquipmentText = intp.GetString("noEquipmentText");
- battleRes.ikariMenuPrototype = Menu<const Item *>(intp.GetFont("normalFont"), intp.GetFont("disabledFont"), intp.GetSprite("handCursor"), 12, 6, intp.GetFont("normalFont")->CharHeight() / 2, intp.GetFont("normalFont")->CharWidth(), 1, intp.GetFont("normalFont")->CharWidth() * 2, 0, ':', 12, intp.GetFont("normalFont")->CharWidth());
+ battleRes.ikariMenuPrototype = Menu<const Item *>(*intp.GetMenuProperties("ikariMenuPrototype"));
battleRes.escapeText = intp.GetString("escapeText");
BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &battleRes));