battleRes.activeHeroTagFrame = intp.GetFrame("activeHeroTagFrame");
battleRes.smallHeroTagFrame = intp.GetFrame("smallHeroTagFrame");
battleRes.lastSmallHeroTagFrame = intp.GetFrame("lastSmallHeroTagFrame");
- battleRes.heroesBgColor = SDL_MapRGB(screen.Screen()->format, 0x18, 0x28, 0x31);
+ battleRes.heroesBgColor = intp.GetColor("heroesBgColor");
battleRes.healthGauge = intp.GetGauge("healthGauge");
battleRes.manaGauge = intp.GetGauge("manaGauge");
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.spellMenuProperties = 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.itemMenuProperties = 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.ikariMenuProperties = intp.GetMenuProperties("ikariMenuPrototype");
battleRes.escapeText = intp.GetString("escapeText");
BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &battleRes));