OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Def.h File Reference
#include "c4group/C4ComponentHost.h"
#include "c4group/C4LangStringTable.h"
#include "graphics/C4Facet.h"
#include "lib/C4InputValidation.h"
#include "object/C4DefGraphics.h"
#include "object/C4IDList.h"
#include "object/C4InfoCore.h"
#include "object/C4Shape.h"
#include "script/C4PropList.h"
#include "script/C4ScriptHost.h"
#include "script/C4ValueMap.h"
#include <functional>
Include dependency graph for C4Def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4Def
 

Macros

#define C4D_Blit_Normal   0
 
#define C4D_Blit_Additive   1
 
#define C4D_Blit_ModAdd   2
 

Variables

const int32_t C4D_None = 0
 
const int32_t C4D_All = ~0
 
const int32_t C4D_StaticBack = 1<<0
 
const int32_t C4D_Structure = 1<<1
 
const int32_t C4D_Vehicle = 1<<2
 
const int32_t C4D_Living = 1<<3
 
const int32_t C4D_Object = 1<<4
 
const int32_t C4D_Goal = 1<<5
 
const int32_t C4D_Rule = 1<<6
 
const int32_t C4D_Environment = 1<<7
 
const int32_t C4D_Background = 1<<12
 
const int32_t C4D_Parallax = 1<<13
 
const int32_t C4D_MouseSelect = 1<<14
 
const int32_t C4D_Foreground = 1<<15
 
const int32_t C4D_MouseIgnore = 1<<16
 
const int32_t C4D_IgnoreFoW = 1<<17
 
const int32_t C4D_SortLimit
 
const int32_t C4Plane_Structure = 200
 
const int32_t C4D_Grab_Put = 1
 
const int32_t C4D_Grab_Get = 2
 
const int32_t C4D_Border_Sides = 1
 
const int32_t C4D_Border_Top = 2
 
const int32_t C4D_Border_Bottom = 4
 
const int32_t C4D_Border_Layer = 8
 
const int32_t C4D_Place_Surface = 0
 
const int32_t C4D_Place_Liquid = 1
 
const int32_t C4D_Place_Air = 2
 
const int32_t C4D_Place_Subsurface = 3
 
const int32_t C4D_Place_BothSurface = 4
 
const int32_t C4D_VehicleControl_None = 0
 
const int32_t C4D_VehicleControl_Outside = 1
 
const int32_t C4D_VehicleControl_Inside = 2
 
const DWORD C4D_Load_None = 0
 
const DWORD C4D_Load_Picture = 1
 
const DWORD C4D_Load_Bitmap = 2
 
const DWORD C4D_Load_Script = 4
 
const DWORD C4D_Load_Image = 32
 
const DWORD C4D_Load_Sounds = 64
 
const DWORD C4D_Load_ClonkNames = 128
 
const DWORD C4D_Load_RankNames = 256
 
const DWORD C4D_Load_RankFaces = 512
 
const DWORD C4D_Load_FE = C4D_Load_Image
 
const DWORD C4D_Load_RX = C4D_Load_Bitmap | C4D_Load_Script | C4D_Load_ClonkNames | C4D_Load_Sounds | C4D_Load_RankNames | C4D_Load_RankFaces
 
const DWORD C4D_Load_Temporary = 1024
 

Macro Definition Documentation

#define C4D_Blit_Additive   1

Definition at line 95 of file C4Def.h.

#define C4D_Blit_ModAdd   2

Definition at line 96 of file C4Def.h.

#define C4D_Blit_Normal   0

Definition at line 94 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4Def::DefaultDefCore().

Variable Documentation

const int32_t C4D_Background = 1<<12

Definition at line 50 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4DefScriptHost::Parse().

const int32_t C4D_Border_Bottom = 4

Definition at line 67 of file C4Def.h.

Referenced by C4Object::ExecMovement(), and C4Object::VerticalBounds().

const int32_t C4D_Border_Layer = 8

Definition at line 68 of file C4Def.h.

Referenced by C4Object::SideBounds(), and C4Object::VerticalBounds().

const int32_t C4D_Border_Sides = 1

Definition at line 65 of file C4Def.h.

Referenced by C4Object::ExecMovement(), and C4Object::SideBounds().

const int32_t C4D_Border_Top = 2

Definition at line 66 of file C4Def.h.

Referenced by C4Object::VerticalBounds().

const int32_t C4D_Environment = 1<<7

Definition at line 48 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4GameObjects::GRBroadcast().

const int32_t C4D_Goal = 1<<5
const int32_t C4D_Grab_Get = 2
const int32_t C4D_Grab_Put = 1
const int32_t C4D_IgnoreFoW = 1<<17
const int32_t C4D_Living = 1<<3

Definition at line 43 of file C4Def.h.

Referenced by C4Def::CompileFunc(), C4Object::Init(), and C4DefScriptHost::Parse().

const DWORD C4D_Load_Bitmap = 2

Definition at line 82 of file C4Def.h.

const DWORD C4D_Load_ClonkNames = 128

Definition at line 87 of file C4Def.h.

const DWORD C4D_Load_FE = C4D_Load_Image

Definition at line 90 of file C4Def.h.

const DWORD C4D_Load_Image = 32

Definition at line 85 of file C4Def.h.

const DWORD C4D_Load_None = 0

Definition at line 80 of file C4Def.h.

const DWORD C4D_Load_Picture = 1

Definition at line 81 of file C4Def.h.

const DWORD C4D_Load_RankFaces = 512

Definition at line 89 of file C4Def.h.

const DWORD C4D_Load_RankNames = 256

Definition at line 88 of file C4Def.h.

const DWORD C4D_Load_Script = 4

Definition at line 83 of file C4Def.h.

Referenced by c4_mapgen_handle_set_map_library().

const DWORD C4D_Load_Sounds = 64

Definition at line 86 of file C4Def.h.

const DWORD C4D_Load_Temporary = 1024

Definition at line 92 of file C4Def.h.

const int32_t C4D_MouseIgnore = 1<<16

Definition at line 54 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4Game::FindVisObject().

const int32_t C4D_MouseSelect = 1<<14
const int32_t C4D_None = 0

Definition at line 38 of file C4Def.h.

Referenced by C4Def::CompileFunc().

const int32_t C4D_Object = 1<<4

Definition at line 44 of file C4Def.h.

Referenced by C4Def::CompileFunc(), C4GameObjects::CrossCheck(), and C4DefScriptHost::Parse().

const int32_t C4D_Parallax = 1<<13
const int32_t C4D_Place_Air = 2

Definition at line 72 of file C4Def.h.

Referenced by C4Game::PlaceAnimal().

const int32_t C4D_Place_BothSurface = 4

Definition at line 74 of file C4Def.h.

Referenced by C4Game::PlaceVegetation().

const int32_t C4D_Place_Liquid = 1

Definition at line 71 of file C4Def.h.

Referenced by C4Game::PlaceAnimal(), and C4Game::PlaceVegetation().

const int32_t C4D_Place_Subsurface = 3

Definition at line 73 of file C4Def.h.

Referenced by C4Game::PlaceVegetation().

const int32_t C4D_Place_Surface = 0

Definition at line 70 of file C4Def.h.

Referenced by C4Game::PlaceAnimal(), and C4Game::PlaceVegetation().

const int32_t C4D_Rule = 1<<6
const int32_t C4D_SortLimit
Initial value:
const int32_t C4D_Vehicle
Definition: C4Def.h:42
const int32_t C4D_Object
Definition: C4Def.h:44
const int32_t C4D_Background
Definition: C4Def.h:50
const int32_t C4D_StaticBack
Definition: C4Def.h:40
const int32_t C4D_Structure
Definition: C4Def.h:41
const int32_t C4D_Living
Definition: C4Def.h:43
const int32_t C4D_Foreground
Definition: C4Def.h:53

Definition at line 57 of file C4Def.h.

Referenced by C4DefScriptHost::Parse().

const int32_t C4D_Structure = 1<<1

Definition at line 41 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4DefScriptHost::Parse().

const int32_t C4D_Vehicle = 1<<2

Definition at line 42 of file C4Def.h.

Referenced by C4Def::CompileFunc(), and C4DefScriptHost::Parse().

const int32_t C4D_VehicleControl_Inside = 2

Definition at line 78 of file C4Def.h.

Referenced by C4Object::SetCommand().

const int32_t C4D_VehicleControl_None = 0

Definition at line 76 of file C4Def.h.

const int32_t C4D_VehicleControl_Outside = 1

Definition at line 77 of file C4Def.h.

Referenced by C4Object::SetCommand().

const int32_t C4Plane_Structure = 200

Definition at line 60 of file C4Def.h.

Referenced by C4DefScriptHost::Parse().