Fix method deprecation warnings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3614 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2011-03-20 11:30:01 +00:00
parent 524204d69d
commit 3c1c1085b4
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ to ask the user for a driver type using the console.
#endif
#ifdef IRRLICHT_QUAKE3_ARENA
#define QUAKE3_STORAGE_FORMAT addZipFileArchive
#define QUAKE3_STORAGE_FORMAT addFileArchive
#define QUAKE3_STORAGE_1 "../../media/map-20kdm2.pk3"
#define QUAKE3_MAP_NAME "maps/20kdm2.bsp"
#endif
@ -145,7 +145,7 @@ int IRRCALLCONV main(int argc, char* argv[])
gui::IGUIEnvironment* gui = device->getGUIEnvironment();
//! add our private media directory to the file system
device->getFileSystem()->addFolderFileArchive("../../media/");
device->getFileSystem()->addFileArchive("../../media/");
/*
To display the Quake 3 map, we first need to load it. Quake 3 maps

View File

@ -109,7 +109,7 @@ int main()
}
//Load map
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
device->getFileSystem()->addFileArchive("../../media/map-20kdm2.pk3");
IAnimatedMesh *map = smgr->getMesh("20kdm2.bsp");
if (map)
{