/* Irrlicht Library Wrapper Created by: Nathan Adams Denzel Morris Copyright (C) 2007 This software is licensed under the GNU/GPL. This software may not be used for commerical purposes. */ #ifndef IRRLIBBASE_H #define IRRLIBBASE_H /* We should include some basic functions */ #include /* include strings */ #include /* We have to include Irrlichts libs */ #include class IrrLibBase { protected: irr::video::IVideoDriver* driver; irr::scene::ISceneManager* smgr; irr::IrrlichtDevice *device; public: struct pixels { int width; int height; }; //possible future use in 2D objects when specifying the properties of an object draw void IrrLibBase::SetDriver(irr::video::IVideoDriver* driver); void IrrLibBase::SetSmgr(irr::scene::ISceneManager* smgr); void SetDevice(irr::IrrlichtDevice *device); std::string int_to_string (int t); std::string stringw_to_stdstring(irr::core::stringw sw); irr::core::stringw stdstring_to_stringw(std::string ss); void init(); }; #endif