Hey,
I wanted to try irrlicht 1.6 for a spin and was working my way off...and as i usally do i test my program every 10 seconds and this is my code
while linking avast goes "wooooooo wooooooo wooooo a virus has been detected"#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
#ifdef _IRR_WINDOWS_
#pragma comment(lib, "Irrlicht.lib")
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
#endif
int main(int argc, char** argv)
{
IrrlichtDevice *device =
createDevice( video::EDT_SOFTWARE, dimension2d<u32>(640, 480), 16,
false, false, false, 0);
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
IGUIEnvironment* guienv = device->getGUIEnvironment();
IAnimatedMesh* sidmes = smgr->getMesh("../../media/sydney.md2");
IAnimatedMeshSceneNode* sidnode = smgr->addAnimatedMeshSceneNode( sidmes );
IAnimatedMesh* ninjmes = smgr->getMesh("../../media/ninja.b3d");
IAnimatedMeshSceneNode* ninjnode = smgr->addAnimatedMeshSceneNode( ninjmes );
if (sidnode)
{
sidnode->setMaterialFlag(EMF_LIGHTING, false);
sidnode->setFrameLoop(0, 310);
sidnode->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") );
}
if (ninjnode)
{
ninjnode->setMaterialFlag(EMF_LIGHTING, false);
ninjnode->setMaterialTexture( 0, driver->getTexture("../../media/lastfuckingtest.bmp") );
}
smgr->addCameraSceneNodeFPS();
while(device->run())
{
driver->beginScene(true, true, SColor(0,200,200,200));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}
device->drop();
return 0;
}
and it sayed it was a Win32:Tibia-AD [Trj]
why does it do that