Problems with Irrlicht and zips
Posted: Mon Apr 17, 2006 2:02 pm
Now, according to the 2nd tutorial a file inside a zip added via
should be "found" by the program straight away. Or am I mistaken here already?
Anyway, my Code:The archives get loaded correctly, just checked with the debugger, they return a value != NULL. And there is a file called 00.bmp inside the archive.
Code: Select all
IrrDevice->getFileSystem()->addZipFileArchive("level/00.gxlevel");
Anyway, my Code:
Code: Select all
IrrDevice->getFileSystem()->addZipFileArchive("level/00.gxlevel");
texMapPreview = IrrDriver->getTexture("00.bmp");
imgMapPreview->draw();
::PlaySoundW(L"snd/lvlchange.wav", NULL, SND_ASYNC);