1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00
OpenMW/apps/openmw/mwmechanics/summoning.hpp

26 lines
555 B
C++
Raw Normal View History

#ifndef OPENMW_MECHANICS_SUMMONING_H
#define OPENMW_MECHANICS_SUMMONING_H
#include <set>
#include "../mwworld/ptr.hpp"
2020-08-28 22:43:22 +04:00
#include <components/esm/magiceffects.hpp>
2016-06-17 23:07:16 +09:00
#include "magiceffects.hpp"
namespace MWMechanics
{
2020-04-04 17:45:03 +03:00
bool isSummoningEffect(int effectId);
std::string getSummonedCreature(int effectId);
void purgeSummonEffect(const MWWorld::Ptr& summoner, const std::pair<int, int>& summon);
int summonCreature(int effectId, const MWWorld::Ptr& summoner);
void updateSummons(const MWWorld::Ptr& summoner, bool cleanup);
}
#endif