OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Physics.h File Reference
#include "lib/C4Real.h"
Include dependency graph for C4Physics.h:
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

#define GravAccel   ::Landscape.GetGravity()

Variable Documentation

const int AttachRange =5

Definition at line 26 of file C4Physics.h.

Referenced by C4Shape::Attach().

const int CornerRange =AttachRange+2

Definition at line 27 of file C4Physics.h.

const C4Real DefaultGravAccel

Definition at line 41 of file C4Movement.cpp.

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

const C4Real FloatFriction

Definition at line 35 of file C4Movement.cpp.

const C4Real HitSpeed1

Definition at line 37 of file C4Movement.cpp.

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

const C4Real HitSpeed2

Definition at line 38 of file C4Movement.cpp.

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

const C4Real HitSpeed3

Definition at line 39 of file C4Movement.cpp.

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

const C4Real HitSpeed4

Definition at line 40 of file C4Movement.cpp.

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

const C4Real RotateAccel

Definition at line 36 of file C4Movement.cpp.

Referenced by C4Object::Push().

const int StableRange =10

Definition at line 25 of file C4Physics.h.

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