battleRes.activeHeroTagFrame = intp.GetFrame("activeHeroTagFrame");
battleRes.smallHeroTagFrame = intp.GetFrame("smallHeroTagFrame");
battleRes.lastSmallHeroTagFrame = intp.GetFrame("lastSmallHeroTagFrame");
- battleRes.heroesBgColor = intp.GetColor("heroesBgColor").MapRGB(screen.Screen()->format);
+ 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.GetMenuProperties("spellMenuPrototype"));
+ 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.GetMenuProperties("itemMenuPrototype"));
+ 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.GetMenuProperties("ikariMenuPrototype"));
+ battleRes.ikariMenuProperties = intp.GetMenuProperties("ikariMenuPrototype");
battleRes.escapeText = intp.GetString("escapeText");
BattleState *battleState(new BattleState(bg, monstersLayout, heroesLayout, &battleRes));