irrlicht/source/Irrlicht/CImageWriterPCX.cpp
bitplane 30b56d2ec5 Moved everything to /trunk
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00

38 lines
714 B
C++

#include "CImageWriterPCX.h"
#include "CImageLoaderPCX.h"
#include "IWriteFile.h"
#include "os.h" // for logging
#include "irrString.h"
namespace irr
{
namespace video
{
IImageWriter* createImageWriterPCX()
{
return new CImageWriterPCX;
}
CImageWriterPCX::CImageWriterPCX()
{
#ifdef _DEBUG
setDebugName("CImageWriterPCX");
#endif
}
bool CImageWriterPCX::isAWriteableFileExtension(const c8* fileName)
{
return strstr(fileName, ".pcx") != 0;
}
bool CImageWriterPCX::writeImage(io::IWriteFile *file, IImage *image,u32 param)
{
os::Printer::log("PCX writer not yet implemented. Image not written.", ELL_WARNING);
return false;
}
} // namespace video
} // namespace irr