#ifndef OPENMW_COMPONENTS_RESOURCE_FOREACHBULLETOBJECT_H #define OPENMW_COMPONENTS_RESOURCE_FOREACHBULLETOBJECT_H #include #include #include #include #include #include namespace ESM { class ESMReader; struct Cell; } namespace VFS { class Manager; } namespace Resource { class BulletShapeManager; } namespace EsmLoader { struct EsmData; } namespace Resource { struct BulletObject { osg::ref_ptr mShape; ESM::Position mPosition; float mScale; }; void forEachBulletObject(std::vector& readers, const VFS::Manager& vfs, Resource::BulletShapeManager& bulletShapeManager, const EsmLoader::EsmData& esmData, std::function callback); } #endif