aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.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/CZBuffer.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/CZBuffer.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.h104
1 files changed, 52 insertions, 52 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.h b/libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.h
index d923094..b67c740 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CZBuffer.h
@@ -1,52 +1,52 @@
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#ifndef __C_Z_BUFFER_H_INCLUDED__ 5#ifndef __C_Z_BUFFER_H_INCLUDED__
6#define __C_Z_BUFFER_H_INCLUDED__ 6#define __C_Z_BUFFER_H_INCLUDED__
7 7
8#include "IZBuffer.h" 8#include "IZBuffer.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace video 12namespace video
13{ 13{
14 14
15 class CZBuffer : public IZBuffer 15 class CZBuffer : public IZBuffer
16 { 16 {
17 public: 17 public:
18 18
19 //! constructor 19 //! constructor
20 CZBuffer(const core::dimension2d<u32>& size); 20 CZBuffer(const core::dimension2d<u32>& size);
21 21
22 //! destructor 22 //! destructor
23 virtual ~CZBuffer(); 23 virtual ~CZBuffer();
24 24
25 //! clears the zbuffer 25 //! clears the zbuffer
26 virtual void clear(); 26 virtual void clear();
27 27
28 //! sets the new size of the zbuffer 28 //! sets the new size of the zbuffer
29 virtual void setSize(const core::dimension2d<u32>& size); 29 virtual void setSize(const core::dimension2d<u32>& size);
30 30
31 //! returns the size of the zbuffer 31 //! returns the size of the zbuffer
32 virtual const core::dimension2d<u32>& getSize() const; 32 virtual const core::dimension2d<u32>& getSize() const;
33 33
34 //! locks the zbuffer 34 //! locks the zbuffer
35 virtual TZBufferType* lock(); 35 virtual TZBufferType* lock();
36 36
37 //! unlocks the zbuffer 37 //! unlocks the zbuffer
38 virtual void unlock(); 38 virtual void unlock();
39 39
40 private: 40 private:
41 41
42 TZBufferType* Buffer; 42 TZBufferType* Buffer;
43 TZBufferType* BufferEnd; 43 TZBufferType* BufferEnd;
44 core::dimension2d<u32> Size; 44 core::dimension2d<u32> Size;
45 s32 TotalSize; 45 s32 TotalSize;
46 }; 46 };
47 47
48} // end namespace video 48} // end namespace video
49} // end namespace irr 49} // end namespace irr
50 50
51#endif 51#endif
52 52