Slightly reorder the members.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2799 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2009-11-04 13:44:58 +00:00
parent ecd1072080
commit 21a52f9317
4 changed files with 10 additions and 11 deletions

View File

@ -62,7 +62,7 @@ enum E_TEXTURE_CREATION_FLAG
ETCF_NO_ALPHA_CHANNEL = 0x00000020,
//! Allow the Driver to use Non-Power-2-Textures
/** BurningVideo can handle Non-Power-2 Textures in 2D (GUI), but not it 3D. */
/** BurningVideo can handle Non-Power-2 Textures in 2D (GUI), but not in 3D. */
ETCF_ALLOW_NON_POWER_2 = 0x00000040,
/** This flag is never used, it only forces the compiler to compile
@ -109,12 +109,11 @@ public:
//! Get original size of the texture.
/** The texture is usually scaled, if it was created with an unoptimal
size. For example if the size of the texture file it was loaded from
was not a power of two. This returns the size of the texture, it had
before it was scaled. Can be useful when drawing 2d images on the
screen, which should have the exact size of the original texture. Use
ITexture::getSize() if you want to know the real size it has now stored
in the system.
size. For example if the size was not a power of two. This method
returns the size of the texture it had before it was scaled. Can be
useful when drawing 2d images on the screen, which should have the
exact size of the original texture. Use ITexture::getSize() if you want
to know the real size it has now stored in the system.
\return The original size of the texture. */
virtual const core::dimension2d<u32>& getOriginalSize() const = 0;

View File

@ -562,10 +562,10 @@ public:
private:
T* data;
TAlloc allocator;
u32 allocated;
u32 used;
eAllocStrategy strategy;
TAlloc allocator;
eAllocStrategy strategy:4;
bool free_when_destroyed:1;
bool is_sorted:1;
};

View File

@ -384,10 +384,10 @@ public:
private:
irrAllocator<SKListNode> allocator;
SKListNode* First;
SKListNode* Last;
u32 Size;
irrAllocator<SKListNode> allocator;
};

View File

@ -1104,9 +1104,9 @@ private:
//--- member variables
T* array;
TAlloc allocator;
u32 allocated;
u32 used;
TAlloc allocator;
};