diff options
author | Robert Knop <prospero@lindenlab.com> | 2008-12-04 22:36:34 +0000 |
---|---|---|
committer | Robert Knop <prospero@lindenlab.com> | 2008-12-04 22:36:34 +0000 |
commit | 189599b6ff0c4e6b81e761fbc990c057189359f2 (patch) | |
tree | 1e9e0e91bae9bb1ee53e57ac91cdbbfc9f6dba95 /indra/llcommon/indra_constants.h | |
parent | fd46865a502036b9e4414e7ec4950faf551b1f14 (diff) |
Merging from server/server-1.25 back to trunk.
svn merge -r99446:104838 svn+ssh://svn.lindenlab.com/svn/linden/branches/server/server-1.25
Conflicts resolved by Prospero, except for one scary conflict in
SendConfirmationEmail.php which was resolved by jarv.
Diffstat (limited to 'indra/llcommon/indra_constants.h')
-rw-r--r-- | indra/llcommon/indra_constants.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/llcommon/indra_constants.h b/indra/llcommon/indra_constants.h index a3e3aec360..c13113a9f2 100644 --- a/indra/llcommon/indra_constants.h +++ b/indra/llcommon/indra_constants.h @@ -4,7 +4,7 @@ * * $LicenseInfo:firstyear=2001&license=viewergpl$ * - * Copyright (c) 2001-2007, Linden Research, Inc. + * Copyright (c) 2001-2008, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab @@ -77,6 +77,14 @@ enum LAND_STAT_REPORT_TYPE const U32 STAT_FILTER_MASK = 0x1FFFFFFF; +// Region absolute limits +static const S32 REGION_AGENT_COUNT_MIN = 1; +static const S32 REGION_AGENT_COUNT_MAX = 200; // Must fit in U8 for the moment (RegionInfo msg) +static const S32 REGION_PRIM_COUNT_MIN = 0; +static const S32 REGION_PRIM_COUNT_MAX = 40000; +static const F32 REGION_PRIM_BONUS_MIN = 1.0; +static const F32 REGION_PRIM_BONUS_MAX = 10.0; + // Default maximum number of tasks/prims per region. const U32 DEFAULT_MAX_REGION_WIDE_PRIM_COUNT = 15000; @@ -229,10 +237,11 @@ const S32 KEY_COUNT = 256; const F32 DEFAULT_WATER_HEIGHT = 20.0f; // Maturity ratings for simulators -const U8 SIM_ACCESS_MIN = 0; +const U8 SIM_ACCESS_MIN = 0; // Treated as 'unknown', usually ends up being SIM_ACCESS_PG const U8 SIM_ACCESS_TRIAL = 7; const U8 SIM_ACCESS_PG = 13; const U8 SIM_ACCESS_MATURE = 21; +const U8 SIM_ACCESS_ADULT = 42; // Seriously Adult Only const U8 SIM_ACCESS_DOWN = 254; const U8 SIM_ACCESS_MAX = SIM_ACCESS_MATURE; |