diff options
author | Armin Weatherwax | 2009-06-26 09:39:58 +0200 |
---|---|---|
committer | Armin Weatherwax | 2009-07-11 13:42:35 +0200 |
commit | 7067b31a6114089217e482bfecc58fd56bed4272 (patch) | |
tree | e0bb99a42c64cdb75e9ca15a38bc1171377c7739 /linden/indra/newview/hippoLimits.h | |
parent | Updated URL for Mac OpenAL libs package. (diff) | |
download | meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.zip meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.gz meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.bz2 meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.xz |
BROKEN logoff/relog crashing inconsistently on various startup states.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/hippoLimits.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/linden/indra/newview/hippoLimits.h b/linden/indra/newview/hippoLimits.h new file mode 100644 index 0000000..333a979 --- /dev/null +++ b/linden/indra/newview/hippoLimits.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef __HIPPO_LIMITS_H__ | ||
2 | #define __HIPPO_LIMITS_H__ | ||
3 | |||
4 | |||
5 | class HippoLimits | ||
6 | { | ||
7 | public: | ||
8 | HippoLimits(); | ||
9 | |||
10 | int getMaxAgentGroups() const { return mMaxAgentGroups; } | ||
11 | float getMaxHeight() const { return mMaxHeight; } | ||
12 | float getMinHoleSize() const { return mMinHoleSize; } | ||
13 | float getMaxHollow() const { return mMaxHollow; } | ||
14 | float getMaxPrimScale() const { return mMaxPrimScale; } | ||
15 | |||
16 | void setLimits(); | ||
17 | |||
18 | private: | ||
19 | int mMaxAgentGroups; | ||
20 | float mMaxHeight; | ||
21 | float mMinHoleSize; | ||
22 | float mMaxHollow; | ||
23 | float mMaxPrimScale; | ||
24 | |||
25 | void setOpenSimLimits(); | ||
26 | void setSecondLifeLimits(); | ||
27 | }; | ||
28 | |||
29 | |||
30 | extern HippoLimits *gHippoLimits; | ||
31 | |||
32 | |||
33 | #endif | ||