Code: Select all
MapTile = smgr->getMesh("../data/meshes/cell.3ds");
WallN = smgr->getMesh("../data/meshes/walln.3ds");
Wall1Text = driver->getTexture("../data/textures/dead_wall1.jpg");
Floor1Text = driver->getTexture("../data/textures/dead_floor1.jpg");
level = lvlParser->parseMap(file);
Code: Select all
level = lvlParser->parseMap(file);
MapTile = smgr->getMesh("../data/meshes/cell.3ds");
WallN = smgr->getMesh("../data/meshes/walln.3ds");
Wall1Text = driver->getTexture("../data/textures/dead_wall1.jpg");
Floor1Text = driver->getTexture("../data/textures/dead_floor1.jpg");
This isn't a problem ATM, but when very soon I will be getting the mesh file locations from the level file and so will need to call in the non working order.
Any thoughts on a solution anyone?