1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/openmw/mwrender/objects.hpp

20 lines
596 B
C++
Raw Normal View History

2011-10-31 23:59:16 -04:00
#include "components/esm_store/cell_store.hpp"
#include "../mwworld/refdata.hpp"
2011-11-01 13:46:57 -04:00
#include "../mwworld/ptr.hpp"
2011-10-31 23:59:16 -04:00
namespace MWRender{
class Objects{
2011-11-01 13:46:57 -04:00
private:
OEngine::Render::OgreRenderer &rend;
2011-10-31 23:59:16 -04:00
public:
2011-11-01 13:46:57 -04:00
Objects(OEngine::Render::OgreRenderer& _rend): rend(_rend){}
2011-10-31 23:59:16 -04:00
~Objects(){}
2011-11-01 13:46:57 -04: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-10-31 23:59:16 -04:00
/// insert a light related to the most recent insertBegin call.
2011-11-01 13:46:57 -04:00
2011-10-31 23:59:16 -04:00
};
}