cleaned up linden_common.h, removing stuff that is mostly unused
parent
5a14a67e06
commit
d32c1c28b4
|
|
@ -37,6 +37,7 @@
|
|||
#include "lluuid.h"
|
||||
#include "llframetimer.h"
|
||||
#include "llassettype.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
#include "lllistener.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -52,22 +52,11 @@
|
|||
#include <ctime>
|
||||
#include <iosfwd>
|
||||
|
||||
// *TODO: Eliminate these, most library .cpp files don't need them.
|
||||
// Add them to llviewerprecompiledheaders.h if necessary.
|
||||
//#include <list>
|
||||
//#include <map>
|
||||
//#include <vector>
|
||||
//#include <string>
|
||||
|
||||
// Linden only libs in alpha-order other than stdtypes.h
|
||||
// *NOTE: Please keep includes here to a minimum, see above.
|
||||
#include "stdtypes.h"
|
||||
#include "lldefs.h"
|
||||
#include "llerror.h"
|
||||
#include "llextendedstatus.h"
|
||||
// Don't do this, adds 15K lines of header code to every library file.
|
||||
//#include "llfasttimer.h"
|
||||
#include "llfile.h"
|
||||
#include "llformat.h"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ private:
|
|||
F32 _log(const F32& a) const { return log(a); }
|
||||
F32 _exp(const F32& a) const { return exp(a); }
|
||||
F32 _fabs(const F32& a) const { return fabs(a); }
|
||||
F32 _floor(const F32& a) const { return (F3)llfloor(a); }
|
||||
F32 _floor(const F32& a) const { return (F32)llfloor(a); }
|
||||
F32 _ceil(const F32& a) const { return llceil(a); }
|
||||
|
||||
F32 _atan2(const F32& a,const F32& b) const { return atan2(a,b); }
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ streampos LLBufferStreamBuf::seekoff(
|
|||
// NULL is fine
|
||||
break;
|
||||
}
|
||||
address = (S32)mBuffer->seek(mChannels.in(), base_addr, off);
|
||||
address = mBuffer->seek(mChannels.in(), base_addr, off);
|
||||
if(address)
|
||||
{
|
||||
LLBufferArray::segment_iterator_t iter;
|
||||
|
|
@ -304,7 +304,7 @@ streampos LLBufferStreamBuf::seekoff(
|
|||
// NULL is fine
|
||||
break;
|
||||
}
|
||||
address = (S32)mBuffer->seek(mChannels.out(), base_addr, off);
|
||||
address = mBuffer->seek(mChannels.out(), base_addr, off);
|
||||
if(address)
|
||||
{
|
||||
LLBufferArray::segment_iterator_t iter;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include "message.h"
|
||||
#include "lltimer.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
const S32 LL_XFER_LARGE_PAYLOAD = 7680;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#include "lldynamictexture.h"
|
||||
#include "llcharacter.h"
|
||||
#include "llquaternion.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
class LLVOAvatar;
|
||||
class LLViewerJointMesh;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
#include "llfloater.h"
|
||||
#include "llhost.h"
|
||||
#include "llpanel.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
#include "llenvmanager.h" // for LLEnvironmentSettings
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "llfloater.h"
|
||||
#include "lluuid.h"
|
||||
#include "v3math.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
class LLAvatarName;
|
||||
class LLMessageSystem;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include "llstring.h"
|
||||
#include "lluuid.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
class LLViewerObject;
|
||||
class LLMessageSystem;
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#include "llpointer.h"
|
||||
#include "lluuid.h"
|
||||
#include "llinventoryobserver.h"
|
||||
#include "llextendedstatus.h"
|
||||
#include <map>
|
||||
|
||||
class LLInventoryItem;
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#include "message.h"
|
||||
#include "stdenums.h"
|
||||
#include "llnotifications.h"
|
||||
#include "llextendedstatus.h"
|
||||
|
||||
//
|
||||
// Forward declarations
|
||||
|
|
|
|||
Loading…
Reference in New Issue