Fix a few implicit double to float conversions, pedanticly add a few missing function prototypes
parent
9b2e7ddd25
commit
b04e00b2a3
|
|
@ -79,8 +79,8 @@ 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;
|
||||
static const F32 REGION_PRIM_BONUS_MIN = 1.0f;
|
||||
static const F32 REGION_PRIM_BONUS_MAX = 10.0f;
|
||||
|
||||
// Default maximum number of tasks/prims per region.
|
||||
const U32 DEFAULT_MAX_REGION_WIDE_PRIM_COUNT = 15000;
|
||||
|
|
|
|||
|
|
@ -54,6 +54,12 @@ LLPumpIO* gServicePump;
|
|||
BOOL gBreak = false;
|
||||
BOOL gSent = false;
|
||||
|
||||
// <FS:CR> Various missing prototypes
|
||||
void trimSLLog(std::string& sllog);
|
||||
std::string getFormDataField(const std::string& strFieldName, const std::string& strFieldValue, const std::string& strBoundary);
|
||||
std::string getStartupStateFromLog(std::string& sllog);
|
||||
// </FS:CR>
|
||||
|
||||
class LLCrashLoggerResponder : public LLHTTPClient::Responder
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -591,6 +591,8 @@ BOOL LLInventoryItem::unpackMessage(LLMessageSystem* msg, const char* block, S32
|
|||
}
|
||||
|
||||
// <FS:ND> Helper functions
|
||||
void splitCacheDescOrName(char *aBuffer, char *&aJunk, char *&aValue); /// <FS:CR> Various Missing
|
||||
int splitCacheLine(char *aBuffer, char *&aKeyword, char *&aValue); /// Prototypes
|
||||
inline bool isWS( char aVal )
|
||||
{
|
||||
return aVal == ' ' || aVal == '\t' || aVal == '\r' || aVal == '\n';
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ bool LLLandmark::getGlobalPos(LLVector3d& pos)
|
|||
}
|
||||
else if(mRegionID.notNull())
|
||||
{
|
||||
F32 g_x = -1.0;
|
||||
F32 g_y = -1.0;
|
||||
F32 g_x = -1.0f;
|
||||
F32 g_y = -1.0f;
|
||||
if(mRegionID == mLocalRegion.first)
|
||||
{
|
||||
from_region_handle(mLocalRegion.second, &g_x, &g_y);
|
||||
|
|
|
|||
|
|
@ -959,6 +959,7 @@ BOOL LLParcel::addToBanList(const LLUUID& agent_id, S32 time)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL remove_from_access_array(std::map<LLUUID,LLAccessEntry>* list, const LLUUID& agent_id); // <FS:CR> Various missing prototypes
|
||||
BOOL remove_from_access_array(std::map<LLUUID,LLAccessEntry>* list,
|
||||
const LLUUID& agent_id)
|
||||
{
|
||||
|
|
@ -1041,7 +1042,7 @@ BOOL LLParcel::isSaleTimerExpired(const U64& time)
|
|||
{
|
||||
return FALSE;
|
||||
}
|
||||
BOOL expired = mSaleTimerExpires.checkExpirationAndReset(0.0);
|
||||
BOOL expired = mSaleTimerExpires.checkExpirationAndReset(0.0f);
|
||||
if (expired)
|
||||
{
|
||||
mSaleTimerExpires.stop();
|
||||
|
|
@ -1055,7 +1056,7 @@ BOOL LLParcel::isMediaResetTimerExpired(const U64& time)
|
|||
{
|
||||
return FALSE;
|
||||
}
|
||||
BOOL expired = mMediaResetTimer.checkExpirationAndReset(0.0);
|
||||
BOOL expired = mMediaResetTimer.checkExpirationAndReset(0.0f);
|
||||
if (expired)
|
||||
{
|
||||
mMediaResetTimer.stop();
|
||||
|
|
@ -1096,7 +1097,7 @@ void LLParcel::expireSale(
|
|||
LLUUID& from_id,
|
||||
LLUUID& to_id)
|
||||
{
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0);
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0f);
|
||||
mSaleTimerExpires.stop();
|
||||
setPreviousOwnerID(LLUUID::null);
|
||||
setPreviouslyGroupOwned(FALSE);
|
||||
|
|
@ -1115,7 +1116,7 @@ void LLParcel::completeSale(
|
|||
U8& flags,
|
||||
LLUUID& to_id)
|
||||
{
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0);
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0f);
|
||||
mSaleTimerExpires.stop();
|
||||
mStatus = OS_LEASED;
|
||||
type = TRANS_LAND_SALE;
|
||||
|
|
@ -1139,7 +1140,7 @@ void LLParcel::completeSale(
|
|||
|
||||
void LLParcel::clearSale()
|
||||
{
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0);
|
||||
mSaleTimerExpires.setTimerExpirySec(0.0f);
|
||||
mSaleTimerExpires.stop();
|
||||
if(isPublic())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ BOOL is_tf_owner_group(TransactionFlags flags)
|
|||
return ((flags & TRANSACTION_FLAG_OWNER_GROUP) == TRANSACTION_FLAG_OWNER_GROUP);
|
||||
}
|
||||
|
||||
void append_reason(std::ostream& ostr, S32 transaction_type, const std::string& description); // <FS:CR>
|
||||
void append_reason(
|
||||
std::ostream& ostr,
|
||||
S32 transaction_type,
|
||||
|
|
|
|||
|
|
@ -71,6 +71,12 @@ private:
|
|||
// Kakadu specific implementation
|
||||
//
|
||||
void set_default_colour_weights(kdu_params *siz);
|
||||
// <FS:CR> Various missing prototypes
|
||||
LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl();
|
||||
void fallbackDestroyLLImageJ2CImpl(LLImageJ2CImpl* impl);
|
||||
const char* fallbackEngineInfoLLImageJ2CImpl();
|
||||
void ll_kdu_error(void);
|
||||
// </FS:CR>
|
||||
|
||||
const char* engineInfoLLImageJ2CKDU()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,6 +53,10 @@ const S32 WHEEL_DELTA = 1; /* Value for rolling one detent */
|
|||
const S32 BITS_PER_PIXEL = 32;
|
||||
const S32 MAX_NUM_RESOLUTIONS = 32;
|
||||
|
||||
// <FS:CR> Various missing prototypes
|
||||
BOOL check_for_card(const char* RENDERER, const char* bad_card);
|
||||
const char* cursorIDToName(int id);
|
||||
// </FS:CR>
|
||||
|
||||
//
|
||||
// LLWindowMacOSX
|
||||
|
|
|
|||
Loading…
Reference in New Issue