Adds isAurora() to HippoGridManager Adds setAuroraLimits and Aurora case to setLimits() in HippoLimits
38 lines
778 B
C++
38 lines
778 B
C++
#ifndef __HIPPO_LIMITS_H__
|
|
#define __HIPPO_LIMITS_H__
|
|
|
|
|
|
class HippoLimits
|
|
{
|
|
LOG_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; }
|
|
|
|
void setLimits();
|
|
|
|
private:
|
|
int mMaxAgentGroups;
|
|
float mMaxHeight;
|
|
float mMinHoleSize;
|
|
float mMaxHollow;
|
|
float mMaxPrimScale;
|
|
float mMinPrimScale;
|
|
|
|
void setOpenSimLimits();
|
|
void setAuroraLimits();
|
|
void setSecondLifeLimits();
|
|
};
|
|
|
|
|
|
extern HippoLimits *gHippoLimits;
|
|
|
|
|
|
#endif
|