OpenClonk
C4Object.h File Reference
#include "game/C4GameScript.h"
#include "graphics/C4Facet.h"
#include "object/C4Id.h"
#include "object/C4ObjectPtr.h"
#include "object/C4Sector.h"
#include "object/C4Shape.h"
#include "script/C4PropList.h"
#include "script/C4Value.h"
Include dependency graph for C4Object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4Action
 
class  C4Object
 

Macros

#define C4OS_DELETED   0
 
#define C4OS_NORMAL   1
 
#define C4OS_INACTIVE   2
 
#define DIR_None   0
 
#define DIR_Left   0
 
#define DIR_Right   1
 
#define COMD_None   -1
 
#define COMD_Stop   0
 
#define COMD_Up   1
 
#define COMD_UpRight   2
 
#define COMD_Right   3
 
#define COMD_DownRight   4
 
#define COMD_Down   5
 
#define COMD_DownLeft   6
 
#define COMD_Left   7
 
#define COMD_UpLeft   8
 
#define VIS_All   0
 
#define VIS_None   1
 
#define VIS_Owner   2
 
#define VIS_Allies   4
 
#define VIS_Enemies   8
 
#define VIS_Select   16
 
#define VIS_God   32
 
#define VIS_LayerToggle   64
 
#define VIS_OverlayOnly   128
 
#define VIS_Editor   256
 

Macro Definition Documentation

◆ C4OS_DELETED

#define C4OS_DELETED   0

Definition at line 34 of file C4Object.h.

Referenced by C4ObjectList::DeleteObjects().

◆ C4OS_INACTIVE

◆ C4OS_NORMAL

◆ COMD_Down

#define COMD_Down   5

Definition at line 55 of file C4Object.h.

Referenced by C4Object::ContactAction(), C4Command::Dig(), and C4Command::MoveTo().

◆ COMD_DownLeft

#define COMD_DownLeft   6

Definition at line 56 of file C4Object.h.

Referenced by C4Command::Dig(), and C4Command::MoveTo().

◆ COMD_DownRight

#define COMD_DownRight   4

Definition at line 54 of file C4Object.h.

Referenced by C4Command::Dig(), and C4Command::MoveTo().

◆ COMD_Left

◆ COMD_None

#define COMD_None   -1

Definition at line 49 of file C4Object.h.

◆ COMD_Right

◆ COMD_Stop

◆ COMD_Up

#define COMD_Up   1

◆ COMD_UpLeft

#define COMD_UpLeft   8

Definition at line 58 of file C4Object.h.

Referenced by C4Command::Dig(), DoBridge(), C4Command::MoveTo(), and ObjectComJump().

◆ COMD_UpRight

#define COMD_UpRight   2

Definition at line 52 of file C4Object.h.

Referenced by C4Command::Dig(), DoBridge(), C4Command::MoveTo(), and ObjectComJump().

◆ DIR_Left

◆ DIR_None

#define DIR_None   0

Definition at line 40 of file C4Object.h.

Referenced by C4Action::CompileFunc(), and C4Action::Default().

◆ DIR_Right

◆ VIS_All

#define VIS_All   0

Definition at line 62 of file C4Object.h.

◆ VIS_Allies

#define VIS_Allies   4

Definition at line 65 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_Editor

#define VIS_Editor   256

Definition at line 71 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_Enemies

#define VIS_Enemies   8

Definition at line 66 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_God

#define VIS_God   32

Definition at line 68 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_LayerToggle

#define VIS_LayerToggle   64

Definition at line 69 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_None

#define VIS_None   1

Definition at line 63 of file C4Object.h.

◆ VIS_OverlayOnly

#define VIS_OverlayOnly   128

Definition at line 70 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_Owner

#define VIS_Owner   2

Definition at line 64 of file C4Object.h.

Referenced by C4Object::IsVisible().

◆ VIS_Select

#define VIS_Select   16

Definition at line 67 of file C4Object.h.

Referenced by C4Object::IsVisible().