OpenClonk
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

◆ _LOCKED_RECT

struct _LOCKED_RECT

Definition at line 143 of file C4Surface.h.

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

Macro Definition Documentation

◆ C4GFX_NOGFX_CLRDEPTH

#define C4GFX_NOGFX_CLRDEPTH   24

Definition at line 39 of file C4Surface.h.

◆ C4GFXBLIT_ADDITIVE

◆ C4GFXBLIT_ALL

#define C4GFXBLIT_ALL   31

Definition at line 32 of file C4Surface.h.

Referenced by C4Draw::SetBlitMode().

◆ C4GFXBLIT_CLRSFC_MOD2

#define C4GFXBLIT_CLRSFC_MOD2   8

◆ C4GFXBLIT_CLRSFC_OWNCLR

#define C4GFXBLIT_CLRSFC_OWNCLR   4

Definition at line 28 of file C4Surface.h.

Referenced by C4Surface::GetPixDw().

◆ C4GFXBLIT_CUSTOM

#define C4GFXBLIT_CUSTOM   128

Definition at line 35 of file C4Surface.h.

Referenced by C4Object::ChangeDef().

◆ C4GFXBLIT_MOD2

#define C4GFXBLIT_MOD2   2

◆ C4GFXBLIT_NOADD

#define C4GFXBLIT_NOADD   30

Definition at line 33 of file C4Surface.h.

◆ C4GFXBLIT_NORMAL

#define C4GFXBLIT_NORMAL   0

Definition at line 25 of file C4Surface.h.

Referenced by C4Object::Picture2Facet().

◆ C4GFXBLIT_PARENT

#define C4GFXBLIT_PARENT   256

Definition at line 36 of file C4Surface.h.

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

◆ C4GFXBLIT_WIREFRAME

#define C4GFXBLIT_WIREFRAME   16

Definition at line 30 of file C4Surface.h.

Typedef Documentation

◆ LOCKED_RECT

typedef struct _LOCKED_RECT LOCKED_RECT

Variable Documentation

◆ ACenter

◆ ALeft

◆ ARight

◆ C4SF_MipMap

◆ C4SF_Tileable

const int C4SF_Tileable = 1

◆ C4SF_Unlocked

const int C4SF_Unlocked = 4

Definition at line 51 of file C4Surface.h.

Referenced by C4TexRef::C4TexRef().

◆ pGL

◆ pTexMgr