Added the BLP-Loader to the source

Changed the basedir to be compatible with stuffextract
This commit is contained in:
shlainn 2008-04-06 12:35:36 +00:00
parent 50e83549ee
commit e7e7c15fb7

View File

@ -1,6 +1,7 @@
#include "common.h"
#include "irrlicht/irrlicht.h"
#include "CM2MeshFileLoader.h"
#include "CImageLoaderBLP.h"
#include "Object.h"
#include "DrawObject.h"
#include "PseuWoW.h"
@ -121,7 +122,9 @@ void PseuGUI::_Init(void)
//...
// register external loaders for not supported filetypes
scene::CM2MeshFileLoader* m2loader = new scene::CM2MeshFileLoader(_device, "./data/textures");
video::CImageLoaderBLP* BLPloader = new video::CImageLoaderBLP();
_driver->addExternalImageLoader(BLPloader);
scene::CM2MeshFileLoader* m2loader = new scene::CM2MeshFileLoader(_device, "./data/texture");
_smgr->addExternalMeshLoader(m2loader);
_initialized = true;