aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
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/CImageLoaderPNG.h
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 'libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h90
1 files changed, 45 insertions, 45 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h b/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
index a3faac2..e97f08b 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
@@ -1,45 +1,45 @@
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// this file was created by rt (www.tomkorp.com), based on ttk's png-reader 5// this file was created by rt (www.tomkorp.com), based on ttk's png-reader
6// i wanted to be able to read in PNG images with irrlicht :) 6// i wanted to be able to read in PNG images with irrlicht :)
7// why? lossless compression with 8-bit alpha channel! 7// why? lossless compression with 8-bit alpha channel!
8 8
9#ifndef __C_IMAGE_LOADER_PNG_H_INCLUDED__ 9#ifndef __C_IMAGE_LOADER_PNG_H_INCLUDED__
10#define __C_IMAGE_LOADER_PNG_H_INCLUDED__ 10#define __C_IMAGE_LOADER_PNG_H_INCLUDED__
11 11
12#include "IrrCompileConfig.h" 12#include "IrrCompileConfig.h"
13 13
14#ifdef _IRR_COMPILE_WITH_PNG_LOADER_ 14#ifdef _IRR_COMPILE_WITH_PNG_LOADER_
15 15
16#include "IImageLoader.h" 16#include "IImageLoader.h"
17 17
18namespace irr 18namespace irr
19{ 19{
20namespace video 20namespace video
21{ 21{
22 22
23//! Surface Loader for PNG files 23//! Surface Loader for PNG files
24class CImageLoaderPng : public IImageLoader 24class CImageLoaderPng : public IImageLoader
25{ 25{
26public: 26public:
27 27
28 //! returns true if the file maybe is able to be loaded by this class 28 //! returns true if the file maybe is able to be loaded by this class
29 //! based on the file extension (e.g. ".png") 29 //! based on the file extension (e.g. ".png")
30 virtual bool isALoadableFileExtension(const io::path& filename) const; 30 virtual bool isALoadableFileExtension(const io::path& filename) const;
31 31
32 //! returns true if the file maybe is able to be loaded by this class 32 //! returns true if the file maybe is able to be loaded by this class
33 virtual bool isALoadableFileFormat(io::IReadFile* file) const; 33 virtual bool isALoadableFileFormat(io::IReadFile* file) const;
34 34
35 //! creates a surface from the file 35 //! creates a surface from the file
36 virtual IImage* loadImage(io::IReadFile* file) const; 36 virtual IImage* loadImage(io::IReadFile* file) const;
37}; 37};
38 38
39 39
40} // end namespace video 40} // end namespace video
41} // end namespace irr 41} // end namespace irr
42 42
43#endif 43#endif
44#endif 44#endif
45 45