aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/indra_constants.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/indra_constants.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h
index eceb576..77f3d8c 100644
--- a/linden/indra/llcommon/indra_constants.h
+++ b/linden/indra/llcommon/indra_constants.h
@@ -38,9 +38,10 @@
38// At 45 Hz collisions seem stable and objects seem 38// At 45 Hz collisions seem stable and objects seem
39// to settle down at a reasonable rate. 39// to settle down at a reasonable rate.
40// JC 3/18/2003 40// JC 3/18/2003
41const F32 HAVOK_TIMESTEP = 1.f / 45.f; 41const F32 PHYSICS_TIMESTEP = 1.f / 45.f;
42 42
43const F32 COLLISION_TOLERANCE = 0.1f; 43const F32 COLLISION_TOLERANCE = 0.1f;
44const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f;
44 45
45// Time constants 46// Time constants
46const U32 HOURS_PER_LINDEN_DAY = 4; 47const U32 HOURS_PER_LINDEN_DAY = 4;
@@ -53,6 +54,8 @@ const F32 REGION_WIDTH_METERS = 256.f;
53const S32 REGION_WIDTH_UNITS = 256; 54const S32 REGION_WIDTH_UNITS = 256;
54const U32 REGION_WIDTH_U32 = 256; 55const U32 REGION_WIDTH_U32 = 256;
55 56
57const F32 REGION_HEIGHT_METERS = 4096.f;
58
56// Bits for simulator performance query flags 59// Bits for simulator performance query flags
57enum LAND_STAT_FLAGS 60enum LAND_STAT_FLAGS
58{ 61{
@@ -87,7 +90,7 @@ const F32 MAX_AGENT_HEIGHT = 2.65f - 2.0f * COLLISION_TOLERANCE;
87 90
88// For linked sets 91// For linked sets
89const S32 MAX_CHILDREN_PER_TASK = 255; 92const S32 MAX_CHILDREN_PER_TASK = 255;
90const S32 MAX_CHILDREN_PER_PHYSICAL_TASK = 31; 93const S32 MAX_CHILDREN_PER_PHYSICAL_TASK = 32;
91 94
92const S32 MAX_JOINTS_PER_OBJECT = 1; // limiting to 1 until Havok 2.x 95const S32 MAX_JOINTS_PER_OBJECT = 1; // limiting to 1 until Havok 2.x
93 96
@@ -339,7 +342,7 @@ const U32 MAP_ITEM_LAND_FOR_SALE = 0x07;
339const U32 MAP_ITEM_CLASSIFIED = 0x08; 342const U32 MAP_ITEM_CLASSIFIED = 0x08;
340 343
341// Crash reporter behavior 344// Crash reporter behavior
342const char* const CRASH_SETTINGS_FILE = "crash_settings.xml"; 345const char* const CRASH_SETTINGS_FILE = "settings_crash_behavior.xml";
343const char* const CRASH_BEHAVIOR_SETTING = "CrashSubmitBehavior"; 346const char* const CRASH_BEHAVIOR_SETTING = "CrashSubmitBehavior";
344const S32 CRASH_BEHAVIOR_ASK = 0; 347const S32 CRASH_BEHAVIOR_ASK = 0;
345const S32 CRASH_BEHAVIOR_ALWAYS_SEND = 1; 348const S32 CRASH_BEHAVIOR_ALWAYS_SEND = 1;