const char *ikariMenuHeadline;
graphics::Menu<const common::Item *> ikariMenuPrototype;
+ graphics::Sprite *weaponMenuIcon;
+ graphics::Sprite *armorMenuIcon;
+ graphics::Sprite *shieldMenuIcon;
+ graphics::Sprite *helmetMenuIcon;
+ graphics::Sprite *ringMenuIcon;
+ graphics::Sprite *jewelMenuIcon;
+
Resources()
: moveIcons(0)
, inventory(0)
, itemMenuHeadline("")
, ikariMenuHeadline("")
+
+ , weaponMenuIcon(0)
+ , armorMenuIcon(0)
+ , shieldMenuIcon(0)
+ , helmetMenuIcon(0)
+ , ringMenuIcon(0)
+ , jewelMenuIcon(0)
{ }
};
Sprite ringIcon(itemIcons, 16, 16, 0, 160);
Sprite jewelIcon(itemIcons, 16, 16, 0, 176);
+ battleRes.weaponMenuIcon = &swordIcon;
+ battleRes.armorMenuIcon = &armorIcon;
+ battleRes.shieldMenuIcon = &shieldIcon;
+ battleRes.helmetMenuIcon = &helmetIcon;
+ battleRes.ringMenuIcon = &ringIcon;
+ battleRes.jewelMenuIcon = &jewelIcon;
+
Inventory inventory;
Item antidote;
antidote.SetName("Antidote");