diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IIndexBuffer.h | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-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/include/IIndexBuffer.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/IIndexBuffer.h | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/libraries/irrlicht-1.8/include/IIndexBuffer.h b/libraries/irrlicht-1.8/include/IIndexBuffer.h index 5599b0f..ff5738c 100644 --- a/libraries/irrlicht-1.8/include/IIndexBuffer.h +++ b/libraries/irrlicht-1.8/include/IIndexBuffer.h | |||
@@ -1,65 +1,65 @@ | |||
1 | // Copyright (C) 2008-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2008-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 __I_INDEX_BUFFER_H_INCLUDED__ | 5 | #ifndef __I_INDEX_BUFFER_H_INCLUDED__ |
6 | #define __I_INDEX_BUFFER_H_INCLUDED__ | 6 | #define __I_INDEX_BUFFER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IReferenceCounted.h" | 8 | #include "IReferenceCounted.h" |
9 | #include "irrArray.h" | 9 | #include "irrArray.h" |
10 | 10 | ||
11 | #include "SVertexIndex.h" | 11 | #include "SVertexIndex.h" |
12 | 12 | ||
13 | namespace irr | 13 | namespace irr |
14 | { | 14 | { |
15 | 15 | ||
16 | namespace video | 16 | namespace video |
17 | { | 17 | { |
18 | 18 | ||
19 | } | 19 | } |
20 | 20 | ||
21 | namespace scene | 21 | namespace scene |
22 | { | 22 | { |
23 | 23 | ||
24 | class IIndexBuffer : public virtual IReferenceCounted | 24 | class IIndexBuffer : public virtual IReferenceCounted |
25 | { | 25 | { |
26 | public: | 26 | public: |
27 | 27 | ||
28 | virtual void* getData() =0; | 28 | virtual void* getData() =0; |
29 | 29 | ||
30 | virtual video::E_INDEX_TYPE getType() const =0; | 30 | virtual video::E_INDEX_TYPE getType() const =0; |
31 | virtual void setType(video::E_INDEX_TYPE IndexType) =0; | 31 | virtual void setType(video::E_INDEX_TYPE IndexType) =0; |
32 | 32 | ||
33 | virtual u32 stride() const =0; | 33 | virtual u32 stride() const =0; |
34 | 34 | ||
35 | virtual u32 size() const =0; | 35 | virtual u32 size() const =0; |
36 | virtual void push_back (const u32 &element) =0; | 36 | virtual void push_back (const u32 &element) =0; |
37 | virtual u32 operator [](u32 index) const =0; | 37 | virtual u32 operator [](u32 index) const =0; |
38 | virtual u32 getLast() =0; | 38 | virtual u32 getLast() =0; |
39 | virtual void setValue(u32 index, u32 value) =0; | 39 | virtual void setValue(u32 index, u32 value) =0; |
40 | virtual void set_used(u32 usedNow) =0; | 40 | virtual void set_used(u32 usedNow) =0; |
41 | virtual void reallocate(u32 new_size) =0; | 41 | virtual void reallocate(u32 new_size) =0; |
42 | virtual u32 allocated_size() const=0; | 42 | virtual u32 allocated_size() const=0; |
43 | 43 | ||
44 | virtual void* pointer() =0; | 44 | virtual void* pointer() =0; |
45 | 45 | ||
46 | //! get the current hardware mapping hint | 46 | //! get the current hardware mapping hint |
47 | virtual E_HARDWARE_MAPPING getHardwareMappingHint() const =0; | 47 | virtual E_HARDWARE_MAPPING getHardwareMappingHint() const =0; |
48 | 48 | ||
49 | //! set the hardware mapping hint, for driver | 49 | //! set the hardware mapping hint, for driver |
50 | virtual void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint ) =0; | 50 | virtual void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint ) =0; |
51 | 51 | ||
52 | //! flags the meshbuffer as changed, reloads hardware buffers | 52 | //! flags the meshbuffer as changed, reloads hardware buffers |
53 | virtual void setDirty() = 0; | 53 | virtual void setDirty() = 0; |
54 | 54 | ||
55 | //! Get the currently used ID for identification of changes. | 55 | //! Get the currently used ID for identification of changes. |
56 | /** This shouldn't be used for anything outside the VideoDriver. */ | 56 | /** This shouldn't be used for anything outside the VideoDriver. */ |
57 | virtual u32 getChangedID() const = 0; | 57 | virtual u32 getChangedID() const = 0; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | 60 | ||
61 | } // end namespace scene | 61 | } // end namespace scene |
62 | } // end namespace irr | 62 | } // end namespace irr |
63 | 63 | ||
64 | #endif | 64 | #endif |
65 | 65 | ||