OpenClonk
C4Physics.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GravAccel   ::Landscape.GetGravity()
 

Variables

const int StableRange =10
 
const int AttachRange =5
 
const int CornerRange =AttachRange+2
 
const C4Real HitSpeed1
 
const C4Real HitSpeed2
 
const C4Real HitSpeed3
 
const C4Real HitSpeed4
 
const C4Real FloatFriction
 
const C4Real RotateAccel
 
const C4Real DefaultGravAccel
 

Macro Definition Documentation

◆ GravAccel

#define GravAccel   ::Landscape.GetGravity()

Definition at line 27 of file C4Physics.h.

Variable Documentation

◆ AttachRange

const int AttachRange =5

Definition at line 24 of file C4Physics.h.

Referenced by C4Shape::Attach().

◆ CornerRange

const int CornerRange =AttachRange+2

Definition at line 25 of file C4Physics.h.

◆ DefaultGravAccel

const C4Real DefaultGravAccel
extern

Definition at line 41 of file C4Movement.cpp.

Referenced by C4Landscape::CompileFunc(), and C4Landscape::ScenarioInit().

◆ FloatFriction

const C4Real FloatFriction
extern

Definition at line 35 of file C4Movement.cpp.

◆ HitSpeed1

const C4Real HitSpeed1
extern

Definition at line 37 of file C4Movement.cpp.

Referenced by C4Object::SetOCF(), and C4Object::UpdateOCF().

◆ HitSpeed2

const C4Real HitSpeed2

Definition at line 29 of file C4Physics.h.

Referenced by C4GameObjects::CrossCheck(), C4Object::SetOCF(), and C4Object::UpdateOCF().

◆ HitSpeed3

const C4Real HitSpeed3

Definition at line 29 of file C4Physics.h.

Referenced by C4Object::SetOCF(), and C4Object::UpdateOCF().

◆ HitSpeed4

const C4Real HitSpeed4

Definition at line 29 of file C4Physics.h.

Referenced by C4Object::SetOCF(), and C4Object::UpdateOCF().

◆ RotateAccel

const C4Real RotateAccel
extern

Definition at line 36 of file C4Movement.cpp.

Referenced by C4Object::Push().

◆ StableRange

const int StableRange =10

Definition at line 23 of file C4Physics.h.

Referenced by C4Object::ExecAction(), C4Object::Push(), and C4Object::Stabilize().