OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Surface.h File Reference
Include dependency graph for C4Surface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4Surface
 
struct  _LOCKED_RECT
 
class  C4TexRef
 
class  C4TexMgr
 

Macros

#define C4GFXBLIT_NORMAL   0
 
#define C4GFXBLIT_ADDITIVE   1
 
#define C4GFXBLIT_MOD2   2
 
#define C4GFXBLIT_CLRSFC_OWNCLR   4
 
#define C4GFXBLIT_CLRSFC_MOD2   8
 
#define C4GFXBLIT_WIREFRAME   16
 
#define C4GFXBLIT_ALL   31
 
#define C4GFXBLIT_NOADD   30
 
#define C4GFXBLIT_CUSTOM   128
 
#define C4GFXBLIT_PARENT   256
 
#define C4GFX_NOGFX_CLRDEPTH   24
 

Typedefs

typedef struct _LOCKED_RECT LOCKED_RECT
 

Variables

const int ALeft =0
 
const int ACenter =1
 
const int ARight =2
 
CStdGLpGL
 
const int C4SF_Tileable = 1
 
const int C4SF_MipMap = 2
 
const int C4SF_Unlocked = 4
 
C4TexMgrpTexMgr
 

Class Documentation

struct _LOCKED_RECT

Definition at line 143 of file C4Surface.h.

Class Members
unique_ptr< unsigned char[]> pBits
int Pitch

Macro Definition Documentation

#define C4GFX_NOGFX_CLRDEPTH   24

Definition at line 39 of file C4Surface.h.

#define C4GFXBLIT_ALL   31

Definition at line 32 of file C4Surface.h.

Referenced by C4Draw::SetBlitMode().

#define C4GFXBLIT_CLRSFC_MOD2   8
#define C4GFXBLIT_CLRSFC_OWNCLR   4

Definition at line 28 of file C4Surface.h.

Referenced by C4Surface::GetPixDw().

#define C4GFXBLIT_CUSTOM   128

Definition at line 35 of file C4Surface.h.

Referenced by C4Object::ChangeDef().

#define C4GFXBLIT_MOD2   2
#define C4GFXBLIT_NOADD   30

Definition at line 33 of file C4Surface.h.

#define C4GFXBLIT_NORMAL   0

Definition at line 25 of file C4Surface.h.

Referenced by C4Object::Picture2Facet().

#define C4GFXBLIT_PARENT   256

Definition at line 36 of file C4Surface.h.

Referenced by C4GraphicsOverlay::Draw(), and C4GraphicsOverlay::DrawPicture().

#define C4GFXBLIT_WIREFRAME   16

Definition at line 30 of file C4Surface.h.

Typedef Documentation

typedef struct _LOCKED_RECT LOCKED_RECT

Variable Documentation

const int C4SF_Tileable = 1
const int C4SF_Unlocked = 4

Definition at line 51 of file C4Surface.h.

Referenced by C4TexRef::C4TexRef().

C4TexMgr* pTexMgr

Definition at line 880 of file C4Surface.cpp.

Referenced by C4TexRef::C4TexRef(), C4TexMgr::UnregTex(), and C4TexRef::~C4TexRef().