#include #include "IrrLib.h" #include using namespace std; using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; int main(){ IrrLib Irrlicht(5, 640, 480, 16, false, true, false); while (Irrlicht.DeviceIsRunning()) if (Irrlicht.IsActiveWindow()) { if(Irrlicht.CheckGameLoop()){ Irrlicht.BeginScene(); Irrlicht.DrawAll(); Irrlicht.EndScene(); } } //Our game is done, tell Irrlicht to clean up and exit Irrlicht.EndIrrlicht(); return 0; //the deconstructor will delete all our dynamic vars so we don't have horriable memory leaks! }