#include <projectilemanager.hpp>
|
| ProjectileManager (osg::Group *parent, Resource::ResourceSystem *resourceSystem, MWRender::RenderingManager *rendering, MWPhysics::PhysicsSystem *physics) |
|
void | launchMagicBolt (const std::string &spellId, bool stack, const ESM::EffectList &effects, const MWWorld::Ptr &caster, const std::string &sourceName, const osg::Vec3f &fallbackDirection) |
| If caster is an actor, the actor's facing orientation is used. Otherwise fallbackDirection is used. More...
|
|
void | launchProjectile (MWWorld::Ptr actor, MWWorld::ConstPtr projectile, const osg::Vec3f &pos, const osg::Quat &orient, MWWorld::Ptr bow, float speed, float attackStrength) |
|
void | update (float dt) |
|
void | clear () |
| Removes all current projectiles. Should be called when switching to a new worldspace. More...
|
|
void | write (ESM::ESMWriter &writer, Loading::Listener &progress) const |
|
bool | readRecord (ESM::ESMReader &reader, uint32_t type) |
|
int | countSavedGameRecords () const |
|
void MWWorld::ProjectileManager::clear |
( |
| ) |
|
Removes all current projectiles. Should be called when switching to a new worldspace.
int MWWorld::ProjectileManager::countSavedGameRecords |
( |
| ) |
const |
void MWWorld::ProjectileManager::createModel |
( |
State & |
state, |
|
|
const std::string & |
model, |
|
|
const osg::Vec3f & |
pos, |
|
|
const osg::Quat & |
orient, |
|
|
bool |
rotate, |
|
|
bool |
createLight, |
|
|
osg::Vec4 |
lightDiffuseColor, |
|
|
std::string |
texture = "" |
|
) |
| |
|
private |
void MWWorld::ProjectileManager::launchMagicBolt |
( |
const std::string & |
spellId, |
|
|
bool |
stack, |
|
|
const ESM::EffectList & |
effects, |
|
|
const MWWorld::Ptr & |
caster, |
|
|
const std::string & |
sourceName, |
|
|
const osg::Vec3f & |
fallbackDirection |
|
) |
| |
If caster is an actor, the actor's facing orientation is used. Otherwise fallbackDirection is used.
void MWWorld::ProjectileManager::launchProjectile |
( |
MWWorld::Ptr |
actor, |
|
|
MWWorld::ConstPtr |
projectile, |
|
|
const osg::Vec3f & |
pos, |
|
|
const osg::Quat & |
orient, |
|
|
MWWorld::Ptr |
bow, |
|
|
float |
speed, |
|
|
float |
attackStrength |
|
) |
| |
void MWWorld::ProjectileManager::moveMagicBolts |
( |
float |
dt | ) |
|
|
private |
void MWWorld::ProjectileManager::moveProjectiles |
( |
float |
dt | ) |
|
|
private |
void MWWorld::ProjectileManager::update |
( |
float |
dt | ) |
|
void MWWorld::ProjectileManager::update |
( |
State & |
state, |
|
|
float |
duration |
|
) |
| |
|
private |
osg::ref_ptr<osg::Group> MWWorld::ProjectileManager::mParent |
|
private |
The documentation for this class was generated from the following files: