Home
last modified time | relevance | path

Searched refs:SpellIsAvailable (Results 1 – 4 of 4) sorted by relevance

/dports/games/stratagus/stratagus-3.2.0/src/ai/
H A Dai_magic.cpp68 if (unit.Type->CanCastSpell[j] && SpellIsAvailable(player, j) in AiCheckMagic()
/dports/games/stratagus/stratagus-3.2.0/src/include/
H A Dspells.h269 extern bool SpellIsAvailable(const CPlayer &player, int SpellId);
/dports/games/stratagus/stratagus-3.2.0/src/spell/
H A Dspells.cpp439 bool SpellIsAvailable(const CPlayer &player, int spellid) in SpellIsAvailable() function
477 if (!SpellIsAvailable(*caster.Player, spell.Slot) in AutoCastSpell()
/dports/games/stratagus/stratagus-3.2.0/src/ui/
H A Dbotpanel.cpp929 res = SpellIsAvailable(*unit.Player, buttonaction.Value); in IsButtonAllowed()