Commit 3c1c1085 authored by hybrid's avatar hybrid

Fix method deprecation warnings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3614 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 524204d6
...@@ -31,7 +31,7 @@ to ask the user for a driver type using the console. ...@@ -31,7 +31,7 @@ to ask the user for a driver type using the console.
#endif #endif
#ifdef IRRLICHT_QUAKE3_ARENA #ifdef IRRLICHT_QUAKE3_ARENA
#define QUAKE3_STORAGE_FORMAT addZipFileArchive #define QUAKE3_STORAGE_FORMAT addFileArchive
#define QUAKE3_STORAGE_1 "../../media/map-20kdm2.pk3" #define QUAKE3_STORAGE_1 "../../media/map-20kdm2.pk3"
#define QUAKE3_MAP_NAME "maps/20kdm2.bsp" #define QUAKE3_MAP_NAME "maps/20kdm2.bsp"
#endif #endif
...@@ -145,7 +145,7 @@ int IRRCALLCONV main(int argc, char* argv[]) ...@@ -145,7 +145,7 @@ int IRRCALLCONV main(int argc, char* argv[])
gui::IGUIEnvironment* gui = device->getGUIEnvironment(); gui::IGUIEnvironment* gui = device->getGUIEnvironment();
//! add our private media directory to the file system //! 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 To display the Quake 3 map, we first need to load it. Quake 3 maps
......
...@@ -109,7 +109,7 @@ int main() ...@@ -109,7 +109,7 @@ int main()
} }
//Load map //Load map
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3"); device->getFileSystem()->addFileArchive("../../media/map-20kdm2.pk3");
IAnimatedMesh *map = smgr->getMesh("20kdm2.bsp"); IAnimatedMesh *map = smgr->getMesh("20kdm2.bsp");
if (map) if (map)
{ {
......
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