1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 01:49:54 +00:00
openmw-tes3mp/apps/openmw/mwrender/objects.hpp

20 lines
596 B
C++
Raw Normal View History

2011-11-01 03:59:16 +00:00
#include "components/esm_store/cell_store.hpp"
#include "../mwworld/refdata.hpp"
2011-11-01 17:46:57 +00:00
#include "../mwworld/ptr.hpp"
2011-11-01 03:59:16 +00:00
namespace MWRender{
class Objects{
2011-11-01 17:46:57 +00:00
private:
OEngine::Render::OgreRenderer &rend;
2011-11-01 03:59:16 +00:00
public:
2011-11-01 17:46:57 +00:00
Objects(OEngine::Render::OgreRenderer& _rend): rend(_rend){}
2011-11-01 03:59:16 +00:00
~Objects(){}
2011-11-01 17:46:57 +00:00
void insertBegin (const MWWorld::Ptr& ptr, bool enabled, bool static_);
void insertMesh (const MWWorld::Ptr& ptr, const std::string& mesh);
void insertLight (const MWWorld::Ptr& ptr, float r, float g, float b, float radius);
2011-11-01 03:59:16 +00:00
/// insert a light related to the most recent insertBegin call.
2011-11-01 17:46:57 +00:00
2011-11-01 03:59:16 +00:00
};
}