Made recommended changes
parent
f1bc5b0ab6
commit
3d43a4cd33
@ -1,18 +1,20 @@
|
||||
#include "components/esm_store/cell_store.hpp"
|
||||
|
||||
#include "../mwworld/refdata.hpp"
|
||||
#include "../mwworld/ptr.hpp"
|
||||
|
||||
namespace MWRender{
|
||||
class Objects{
|
||||
private:
|
||||
OEngine::Render::OgreRenderer &rend;
|
||||
public:
|
||||
Objects(){}
|
||||
Objects(OEngine::Render::OgreRenderer& _rend): rend(_rend){}
|
||||
~Objects(){}
|
||||
void insertBegin (ESM::CellRef &ref, bool static_ = false);
|
||||
void insertMesh(const std::string &mesh);
|
||||
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);
|
||||
|
||||
/// insert a light related to the most recent insertBegin call.
|
||||
void insertLight(float r, float g, float b, float radius);
|
||||
void insertObjectPhysics();
|
||||
|
||||
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue