diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/indra_constants.h | 9 |
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 |
41 | const F32 HAVOK_TIMESTEP = 1.f / 45.f; | 41 | const F32 PHYSICS_TIMESTEP = 1.f / 45.f; |
42 | 42 | ||
43 | const F32 COLLISION_TOLERANCE = 0.1f; | 43 | const F32 COLLISION_TOLERANCE = 0.1f; |
44 | const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f; | ||
44 | 45 | ||
45 | // Time constants | 46 | // Time constants |
46 | const U32 HOURS_PER_LINDEN_DAY = 4; | 47 | const U32 HOURS_PER_LINDEN_DAY = 4; |
@@ -53,6 +54,8 @@ const F32 REGION_WIDTH_METERS = 256.f; | |||
53 | const S32 REGION_WIDTH_UNITS = 256; | 54 | const S32 REGION_WIDTH_UNITS = 256; |
54 | const U32 REGION_WIDTH_U32 = 256; | 55 | const U32 REGION_WIDTH_U32 = 256; |
55 | 56 | ||
57 | const F32 REGION_HEIGHT_METERS = 4096.f; | ||
58 | |||
56 | // Bits for simulator performance query flags | 59 | // Bits for simulator performance query flags |
57 | enum LAND_STAT_FLAGS | 60 | enum 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 |
89 | const S32 MAX_CHILDREN_PER_TASK = 255; | 92 | const S32 MAX_CHILDREN_PER_TASK = 255; |
90 | const S32 MAX_CHILDREN_PER_PHYSICAL_TASK = 31; | 93 | const S32 MAX_CHILDREN_PER_PHYSICAL_TASK = 32; |
91 | 94 | ||
92 | const S32 MAX_JOINTS_PER_OBJECT = 1; // limiting to 1 until Havok 2.x | 95 | const 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; | |||
339 | const U32 MAP_ITEM_CLASSIFIED = 0x08; | 342 | const U32 MAP_ITEM_CLASSIFIED = 0x08; |
340 | 343 | ||
341 | // Crash reporter behavior | 344 | // Crash reporter behavior |
342 | const char* const CRASH_SETTINGS_FILE = "crash_settings.xml"; | 345 | const char* const CRASH_SETTINGS_FILE = "settings_crash_behavior.xml"; |
343 | const char* const CRASH_BEHAVIOR_SETTING = "CrashSubmitBehavior"; | 346 | const char* const CRASH_BEHAVIOR_SETTING = "CrashSubmitBehavior"; |
344 | const S32 CRASH_BEHAVIOR_ASK = 0; | 347 | const S32 CRASH_BEHAVIOR_ASK = 0; |
345 | const S32 CRASH_BEHAVIOR_ALWAYS_SEND = 1; | 348 | const S32 CRASH_BEHAVIOR_ALWAYS_SEND = 1; |