#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>
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 |
const int32_t C4D_All = ~0 |
Definition at line 39 of file C4Def.h.
Referenced by C4IDList::GetCount(), C4IDList::GetID(), C4ObjectList::GetListID(), C4ObjectList::GetNameList(), C4IDList::GetNumberOfIDs(), and C4IDList::SetCount().
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_Foreground = 1<<15 |
Definition at line 53 of file C4Def.h.
Referenced by C4GameObjects::Add(), C4Def::CompileFunc(), C4Viewport::Draw(), C4MouseControl::Draw(), C4ObjectList::Draw(), C4GameMessageList::Draw(), C4Game::FindVisObject(), C4Object::GetDrawPosition(), C4Object::GetParallaxity(), C4DefScriptHost::Parse(), and C4GameObjects::PostLoad().
const int32_t C4D_Goal = 1<<5 |
Definition at line 46 of file C4Def.h.
Referenced by C4Def::CompileFunc(), C4RoundResults::EvaluateGoals(), and C4GameObjects::GRBroadcast().
const int32_t C4D_Grab_Get = 2 |
Definition at line 63 of file C4Def.h.
Referenced by C4Def::CompileFunc(), C4Command::Get(), ObjectComPutTake(), C4Object::SetOCF(), and C4Object::UpdateOCF().
const int32_t C4D_Grab_Put = 1 |
Definition at line 62 of file C4Def.h.
Referenced by C4Def::CompileFunc(), ObjectComPut(), C4Command::Put(), C4Object::SetOCF(), and C4Object::UpdateOCF().
const int32_t C4D_IgnoreFoW = 1<<17 |
Definition at line 55 of file C4Def.h.
Referenced by C4Def::CompileFunc(), C4MouseControl::DragNone(), C4Object::Draw(), C4MouseControl::UpdateCursorTarget(), and C4MouseControl::UpdateFogOfWar().
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_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 |
Definition at line 91 of file C4Def.h.
Referenced by C4Game::DropFile(), C4Game::InitDefs(), and C4Game::ReloadDef().
const DWORD C4D_Load_Script = 4 |
Definition at line 83 of file C4Def.h.
Referenced by c4_mapgen_handle_set_map_library().
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 |
Definition at line 52 of file C4Def.h.
Referenced by C4Def::CompileFunc(), C4MouseControl::GetTargetObject(), C4MouseControl::UpdateCursorTarget(), and C4MouseControl::UpdateSingleSelection().
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 |
Definition at line 51 of file C4Def.h.
Referenced by C4Def::CompileFunc(), C4Object::Draw(), C4Object::ExecMovement(), C4Object::GetParallaxity(), and C4Object::GetViewPos().
const int32_t C4D_Place_Air = 2 |
Definition at line 72 of file C4Def.h.
Referenced by C4Game::PlaceAnimal().
const int32_t C4D_Place_Liquid = 1 |
Definition at line 71 of file C4Def.h.
Referenced by C4Game::PlaceAnimal().
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 |
Definition at line 47 of file C4Def.h.
Referenced by C4MainMenu::ActivateRules(), C4Def::CompileFunc(), and C4GameObjects::GRBroadcast().
const int32_t C4D_SortLimit |
const int32_t C4D_StaticBack = 1<<0 |
Definition at line 40 of file C4Def.h.
Referenced by C4ObjectList::Add(), c4_mapgen_handle_set_map_library(), C4Def::CompileFunc(), C4Object::ExecMovement(), C4Object::IsMoveableBySolidMask(), C4Player::NotifyOwnedObjects(), C4DefScriptHost::Parse(), C4GameObjects::PostLoad(), and C4Object::SyncClearance().
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_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().