diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/indra_constants.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h index 77f3d8c..1c48a5c 100644 --- a/linden/indra/llcommon/indra_constants.h +++ b/linden/indra/llcommon/indra_constants.h | |||
@@ -38,7 +38,11 @@ | |||
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 PHYSICS_TIMESTEP = 1.f / 45.f; | 41 | |
42 | // const F32 PHYSICS_TIMESTEP = 1.f / 45.f; | ||
43 | // This must be a #define due to anal retentive restrictions on const expressions | ||
44 | // CG 2008-06-05 | ||
45 | #define PHYSICS_TIMESTEP (1.f / 45.f) | ||
42 | 46 | ||
43 | const F32 COLLISION_TOLERANCE = 0.1f; | 47 | const F32 COLLISION_TOLERANCE = 0.1f; |
44 | const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f; | 48 | const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f; |
@@ -50,9 +54,9 @@ const U32 DAYS_PER_LINDEN_YEAR = 11; | |||
50 | const U32 SEC_PER_LINDEN_DAY = HOURS_PER_LINDEN_DAY * 60 * 60; | 54 | const U32 SEC_PER_LINDEN_DAY = HOURS_PER_LINDEN_DAY * 60 * 60; |
51 | const U32 SEC_PER_LINDEN_YEAR = DAYS_PER_LINDEN_YEAR * SEC_PER_LINDEN_DAY; | 55 | const U32 SEC_PER_LINDEN_YEAR = DAYS_PER_LINDEN_YEAR * SEC_PER_LINDEN_DAY; |
52 | 56 | ||
53 | const F32 REGION_WIDTH_METERS = 256.f; | 57 | static const F32 REGION_WIDTH_METERS = 256.f; |
54 | const S32 REGION_WIDTH_UNITS = 256; | 58 | static const S32 REGION_WIDTH_UNITS = 256; |
55 | const U32 REGION_WIDTH_U32 = 256; | 59 | static const U32 REGION_WIDTH_U32 = 256; |
56 | 60 | ||
57 | const F32 REGION_HEIGHT_METERS = 4096.f; | 61 | const F32 REGION_HEIGHT_METERS = 4096.f; |
58 | 62 | ||
@@ -74,7 +78,7 @@ enum LAND_STAT_REPORT_TYPE | |||
74 | const U32 STAT_FILTER_MASK = 0x1FFFFFFF; | 78 | const U32 STAT_FILTER_MASK = 0x1FFFFFFF; |
75 | 79 | ||
76 | // Default maximum number of tasks/prims per region. | 80 | // Default maximum number of tasks/prims per region. |
77 | const U32 MAX_TASKS_PER_REGION = 15000; | 81 | const U32 DEFAULT_MAX_REGION_WIDE_PRIM_COUNT = 15000; |
78 | 82 | ||
79 | const F32 MIN_AGENT_DEPTH = 0.30f; | 83 | const F32 MIN_AGENT_DEPTH = 0.30f; |
80 | const F32 DEFAULT_AGENT_DEPTH = 0.45f; | 84 | const F32 DEFAULT_AGENT_DEPTH = 0.45f; |