but why did you remove the include files for 0.1.65?
EDIT:
also, when I try to compile this project it crashes at runtime
Code: Select all
#include<irrlicht.h>
#include<irrBullet.h>
#include "clock.h"
using namespace irr;
using namespace core;
using namespace video;
using namespace scene;
using namespace std;
int main(){
IrrlichtDevice *device = createDevice(EDT_DIRECT3D9);
ISceneManager *smgr = device->getSceneManager();
IVideoDriver *vid = device->getVideoDriver();
smgr->addCameraSceneNodeFPS();
smgr->loadScene("Media/grass.irr");
irrBulletWorld *world = createIrrBulletWorld(device, false, false);
world->setGravity(vector3df(0,-9.8f,0));
Clock *clock = new Clock(device);
while(device->run()){
clock->count();
world->stepSimulation(clock->getElapsed()*0.001f, 120);
vid->beginScene(1,1,SColor(255,255,255,255));
smgr->drawAll();
vid->endScene();
}
return 0;
}
Code: Select all
irrBulletWorld *world = createIrrBulletWorld(device, false, false);
EDIT2:
also, I'm using the 0.1.6 include files