OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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

#define C4OS_DELETED   0

Definition at line 34 of file C4Object.h.

Referenced by C4ObjectList::DeleteObjects().

#define COMD_Down   5
#define COMD_DownLeft   6

Definition at line 56 of file C4Object.h.

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

#define COMD_DownRight   4

Definition at line 54 of file C4Object.h.

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

#define COMD_None   -1

Definition at line 49 of file C4Object.h.

Referenced by C4Object::ExecAction().

#define COMD_Up   1
#define COMD_UpLeft   8
#define COMD_UpRight   2
#define DIR_None   0

Definition at line 40 of file C4Object.h.

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

#define VIS_All   0

Definition at line 62 of file C4Object.h.

#define VIS_Allies   4

Definition at line 65 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_Editor   256

Definition at line 71 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_Enemies   8

Definition at line 66 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_God   32

Definition at line 68 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_LayerToggle   64

Definition at line 69 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_None   1

Definition at line 63 of file C4Object.h.

#define VIS_OverlayOnly   128

Definition at line 70 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_Owner   2

Definition at line 64 of file C4Object.h.

Referenced by C4Object::IsVisible().

#define VIS_Select   16

Definition at line 67 of file C4Object.h.

Referenced by C4Object::IsVisible().