blob: 450a1126bc53f0e861e838eb38a56d6a0a4eb306 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef __HIPPO_LIMITS_H__
#define __HIPPO_LIMITS_H__
class HippoLimits
{
public:
HippoLimits();
int getMaxAgentGroups() const { return mMaxAgentGroups; }
float getMaxHeight() const { return mMaxHeight; }
float getMinHoleSize() const { return mMinHoleSize; }
float getMaxHollow() const { return mMaxHollow; }
float getMaxPrimScale() const { return mMaxPrimScale; }
float getMinPrimScale() const { return mMinPrimScale; }
S32 getMaxLinkedPrims() const { return mMaxLinkedPrims; }
void setLimits();
private:
int mMaxAgentGroups;
float mMaxHeight;
float mMinHoleSize;
float mMaxHollow;
float mMaxPrimScale;
float mMinPrimScale;
S32 mMaxLinkedPrims;
void setOpenSimLimits();
void setSecondLifeLimits();
};
extern HippoLimits *gHippoLimits;
#endif
|