Commit e5158f69 authored by bitplane's avatar bitplane

Replaced addZipFileArchive with addFileArchive



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3589 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a29b60d4
......@@ -98,7 +98,7 @@ int main()
we are able to read from the files in that archive as if they are
directly stored on the disk.
*/
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
device->getFileSystem()->addFileArchive("../../media/map-20kdm2.pk3");
/*
Now we can load the mesh by calling
......
......@@ -53,7 +53,7 @@ int main()
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
device->getFileSystem()->addFileArchive("../../media/map-20kdm2.pk3");
scene::IAnimatedMesh* q3levelmesh = smgr->getMesh("20kdm2.bsp");
scene::IMeshSceneNode* q3node = 0;
......
......@@ -25,9 +25,9 @@ bool CMainMenu::run(bool& outFullscreen, bool& outMusic, bool& outShadows,
core::dimension2d<u32>(512, 384), 16, false, false, false, this);
if (MenuDevice->getFileSystem()->existFile("irrlicht.dat"))
MenuDevice->getFileSystem()->addZipFileArchive("irrlicht.dat");
MenuDevice->getFileSystem()->addFileArchive("irrlicht.dat");
else
MenuDevice->getFileSystem()->addZipFileArchive("../../media/irrlicht.dat");
MenuDevice->getFileSystem()->addFileArchive("../../media/irrlicht.dat");
video::IVideoDriver* driver = MenuDevice->getVideoDriver();
scene::ISceneManager* smgr = MenuDevice->getSceneManager();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment