aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp92
1 files changed, 46 insertions, 46 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp b/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
index 952eb0b..d353520 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CImageWriterPSD.cpp
@@ -1,46 +1,46 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#include "CImageWriterPSD.h" 5#include "CImageWriterPSD.h"
6 6
7#ifdef _IRR_COMPILE_WITH_PSD_WRITER_ 7#ifdef _IRR_COMPILE_WITH_PSD_WRITER_
8 8
9#include "CImageLoaderPSD.h" 9#include "CImageLoaderPSD.h"
10#include "IWriteFile.h" 10#include "IWriteFile.h"
11#include "os.h" // for logging 11#include "os.h" // for logging
12#include "irrString.h" 12#include "irrString.h"
13 13
14namespace irr 14namespace irr
15{ 15{
16namespace video 16namespace video
17{ 17{
18 18
19IImageWriter* createImageWriterPSD() 19IImageWriter* createImageWriterPSD()
20{ 20{
21 return new CImageWriterPSD; 21 return new CImageWriterPSD;
22} 22}
23 23
24CImageWriterPSD::CImageWriterPSD() 24CImageWriterPSD::CImageWriterPSD()
25{ 25{
26#ifdef _DEBUG 26#ifdef _DEBUG
27 setDebugName("CImageWriterPSD"); 27 setDebugName("CImageWriterPSD");
28#endif 28#endif
29} 29}
30 30
31bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const 31bool CImageWriterPSD::isAWriteableFileExtension(const io::path& filename) const
32{ 32{
33 return core::hasFileExtension ( filename, "psd" ); 33 return core::hasFileExtension ( filename, "psd" );
34} 34}
35 35
36bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param) const 36bool CImageWriterPSD::writeImage(io::IWriteFile *file, IImage *image,u32 param) const
37{ 37{
38 os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING); 38 os::Printer::log("PSD writer not yet implemented. Image not written.", ELL_WARNING);
39 return false; 39 return false;
40} 40}
41 41
42} // namespace video 42} // namespace video
43} // namespace irr 43} // namespace irr
44 44
45#endif 45#endif
46 46