Home
last modified time | relevance | path

Searched refs:XPotion (Results 1 – 11 of 11) sorted by relevance

/dports/games/avanor/avanor-0.5.8/item/
H A Dxpotion.cpp25 REGISTER_CLASS(XPotion);
180 XPotion::XPotion(POTION_NAME _pn) in XPotion() function in XPotion
209 XPotion::XPotion(XPotion * copy) : XItem((XItem *)copy) in XPotion() function in XPotion
215 int XPotion::Compare(XObject * o) in Compare()
218 XPotion * pot = (XPotion*)o; in Compare()
230 void XPotion::toString(char * buf) in toString()
250 int XPotion::isIdentifed() in isIdentifed()
255 void XPotion::Identify(int level) in Identify()
498 void XPotion::Store(XFile * f) in Store()
504 void XPotion::Restore(XFile * f) in Restore()
[all …]
H A Dxpotion.h110 class XPotion : public XItem
113 DECLARE_CREATOR(XPotion, XItem);
114 XPotion(POTION_NAME _pn = PN_RANDOM);
115 XPotion(XPotion * copy);
116 virtual XObject * MakeCopy() {return new XPotion(this);} in MakeCopy()
H A Dxtool.cpp251 XPotion * pot = new XPotion(pr->pn); in onUse()
H A Ditemf.cpp60 case IM_POTION: return new XPotion(); break; in CreateItem()
/dports/games/avanor/avanor-0.5.8/creature/
H A Dxhero2.cpp288 XPotion * potion; in PlayerSetup()
364 potion = new XPotion(PN_CURE_LIGHT_WOUNDS); in PlayerSetup()
369 potion = new XPotion(PN_HEROISM); in PlayerSetup()
386 potion = new XPotion(PN_POWER); in PlayerSetup()
524 potion = new XPotion(PN_CURE_LIGHT_WOUNDS); in PlayerSetup()
642 potion = new XPotion(PN_CURE_LIGHT_WOUNDS); in PlayerSetup()
676 potion = new XPotion(PN_CURE_LIGHT_WOUNDS); in PlayerSetup()
718 potion = new XPotion(PN_CURE_LIGHT_WOUNDS); in PlayerSetup()
766 potion = new XPotion(PN_ORANGEJUCE); in PlayerSetup()
770 potion = new XPotion(PN_APPLEJUCE); in PlayerSetup()
[all …]
H A DUniquem.cpp654 XPotion * pt = new XPotion(PN_HEALING); in XRoderick()
657 pt = new XPotion(PN_HEALING); in XRoderick()
660 pt = new XPotion(PN_HEALING); in XRoderick()
663 pt = new XPotion(PN_HEALING); in XRoderick()
888 XPotion * pt = new XPotion(PN_HEALING); in XHighPriest()
891 pt = new XPotion(PN_HEALING); in XHighPriest()
894 pt = new XPotion(PN_HEALING); in XHighPriest()
897 pt = new XPotion(PN_HEALING); in XHighPriest()
H A Dxhero3.cpp415 XPotion * pot1 = (XPotion *)Inventory(&contain, IM_POTION, IF_FIXED_MASK, 1); in MixPotions()
418 XPotion * pot2 = (XPotion *)Inventory(&contain, IM_POTION, IF_FIXED_MASK, 1); in MixPotions()
426 XPotion * pot = new XPotion(pn); in MixPotions()
H A DStd_ai.cpp865 XPotion * pot = (XPotion *)it; in DrinkPotion()
872 XPotion * np = (XPotion *)pot->MakeCopy(); in DrinkPotion()
H A Dcreature.h99 class XPotion; variable
H A Dxhero.cpp1183 XPotion * pot = (XPotion *)Inventory(&contain, IM_POTION, IF_FIXED_MASK, 1); in DrinkPotion()
/dports/games/avanor/avanor-0.5.8/engine/
H A Dxarchive.cpp43 XPotion::StoreTable(&file); in StoreGame()
88 XPotion::RestoreTable(&file); in RestoreGame()