aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2
SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h b/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
deleted file mode 100644
index e97f08b..0000000
--- a/libraries/irrlicht-1.8/source/Irrlicht/CImageLoaderPNG.h
+++ /dev/null
@@ -1,45 +0,0 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
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 :)
7// why? lossless compression with 8-bit alpha channel!
8
9#ifndef __C_IMAGE_LOADER_PNG_H_INCLUDED__
10#define __C_IMAGE_LOADER_PNG_H_INCLUDED__
11
12#include "IrrCompileConfig.h"
13
14#ifdef _IRR_COMPILE_WITH_PNG_LOADER_
15
16#include "IImageLoader.h"
17
18namespace irr
19{
20namespace video
21{
22
23//! Surface Loader for PNG files
24class CImageLoaderPng : public IImageLoader
25{
26public:
27
28 //! returns true if the file maybe is able to be loaded by this class
29 //! based on the file extension (e.g. ".png")
30 virtual bool isALoadableFileExtension(const io::path& filename) const;
31
32 //! returns true if the file maybe is able to be loaded by this class
33 virtual bool isALoadableFileFormat(io::IReadFile* file) const;
34
35 //! creates a surface from the file
36 virtual IImage* loadImage(io::IReadFile* file) const;
37};
38
39
40} // end namespace video
41} // end namespace irr
42
43#endif
44#endif
45