Replace MAX_AGENT_ATTACHMENTS with sim based response Replace max groups with benefits based response Upload costs are now handled by sim response Removed no-longer-needed lleconomy files and classes Removed dead fields from hippolimits and hippogridmanager Also removed lame LL code that is redundant and silly On non SL grids, when values are not provided for benefits, they will be set to the values granting maximum liberty. Old standardized responses still work when benefits aren't implemented.
36 lines
696 B
C++
36 lines
696 B
C++
#ifndef __HIPPO_LIMITS_H__
|
|
#define __HIPPO_LIMITS_H__
|
|
|
|
|
|
class HippoLimits
|
|
{
|
|
LOG_CLASS(HippoLimits);
|
|
public:
|
|
HippoLimits();
|
|
|
|
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:
|
|
float mMaxHeight;
|
|
float mMinHoleSize;
|
|
float mMaxHollow;
|
|
float mMaxPrimScale;
|
|
float mMinPrimScale;
|
|
|
|
void setOpenSimLimits();
|
|
void setWhiteCoreLimits();
|
|
void setSecondLifeLimits();
|
|
};
|
|
|
|
|
|
extern HippoLimits *gHippoLimits;
|
|
|
|
|
|
#endif
|