QAR-570 maint-render-4 merge

merge -r 87067:87077 svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-render/maint-render-4-merge -> release. dataserver-is-deprecated.
master
Steven Bennetts 2008-05-08 18:41:20 +00:00
parent a75b85112f
commit 63e7894148
123 changed files with 955 additions and 952 deletions

View File

@ -160,7 +160,7 @@ LLFILE * LLFile::_Fiopen(const char *filename, std::ios::openmode mode,int) // p
| ios_base::binary,
0};
FILE *fp = 0;
LLFILE *fp = 0;
int n;
ios_base::openmode atendflag = mode & ios_base::ate;
ios_base::openmode norepflag = mode & ios_base::_Noreplace;
@ -207,7 +207,7 @@ void llifstream::open(const char* _Filename, /* Flawfinder: ignore */
int _Prot)
{ // open a C stream with specified mode
FILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::in, _Prot);
LLFILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::in, _Prot);
if(filep == NULL)
{
_Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/
@ -258,7 +258,7 @@ void llofstream::open(const char* _Filename, /* Flawfinder: ignore */
int _Prot)
{ // open a C stream with specified mode
FILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::out, _Prot);
LLFILE* filep = LLFile::_Fiopen(_Filename,_Mode | ios_base::out, _Prot);
if(filep == NULL)
{
_Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/

View File

@ -42,6 +42,8 @@
typedef FILE LLFILE;
#include <fstream>
#ifdef LL_WINDOWS
#define USE_LLFILESTREAMS 1
#else

View File

@ -387,7 +387,7 @@ U64 getCurrentRSS()
U64 getCurrentRSS()
{
static const char statPath[] = "/proc/self/stat";
FILE *fp = fopen(statPath, "r");
LLFILE *fp = LLFile::fopen(statPath, "r");
U64 rss = 0;
if (fp == NULL)

View File

@ -2230,7 +2230,7 @@ bool CProcessor::WriteInfoTextFile(const char *strFilename)
return false;
// Then we create a new file (CREATE_ALWAYS)
FILE *file = LLFile::fopen(strFilename, "w"); /* Flawfinder: ignore */
LLFILE *file = LLFile::fopen(strFilename, "w"); /* Flawfinder: ignore */
if (!file)
return false;

View File

@ -293,7 +293,7 @@ U32 LLOSInfo::getProcessVirtualSizeKB()
#if LL_WINDOWS
#endif
#if LL_LINUX
FILE* status_filep = LLFile::fopen("/proc/self/status", "rb");
LLFILE* status_filep = LLFile::fopen("/proc/self/status", "rb");
S32 numRead = 0;
char buff[STATUS_SIZE]; /* Flawfinder: ignore */
@ -336,7 +336,7 @@ U32 LLOSInfo::getProcessResidentSizeKB()
#if LL_WINDOWS
#endif
#if LL_LINUX
FILE* status_filep = LLFile::fopen("/proc/self/status", "rb");
LLFILE* status_filep = LLFile::fopen("/proc/self/status", "rb");
if (status_filep != NULL)
{
S32 numRead = 0;
@ -398,7 +398,7 @@ LLCPUInfo::LLCPUInfo()
#elif LL_LINUX
std::map< LLString, LLString > cpuinfo;
FILE* cpuinfo_fp = LLFile::fopen(CPUINFO_FILE, "rb");
LLFILE* cpuinfo_fp = LLFile::fopen(CPUINFO_FILE, "rb");
if(cpuinfo_fp)
{
char line[MAX_STRING];
@ -486,7 +486,7 @@ void LLCPUInfo::stream(std::ostream& s) const
}
#else
// *NOTE: This works on linux. What will it do on other systems?
FILE* cpuinfo = LLFile::fopen(CPUINFO_FILE, "rb");
LLFILE* cpuinfo = LLFile::fopen(CPUINFO_FILE, "rb");
if(cpuinfo)
{
char line[MAX_STRING];
@ -621,7 +621,7 @@ void LLMemoryInfo::stream(std::ostream& s) const
s << "Total Physical KB: " << phys << std::endl;
#else
// *NOTE: This works on linux. What will it do on other systems?
FILE* meminfo = LLFile::fopen(MEMINFO_FILE,"rb");
LLFILE* meminfo = LLFile::fopen(MEMINFO_FILE,"rb");
if(meminfo)
{
char line[MAX_STRING]; /* Flawfinder: ignore */
@ -665,7 +665,7 @@ BOOL gunzip_file(const char *srcfile, const char *dstfile)
BOOL retval = FALSE;
gzFile src = NULL;
U8 buffer[UNCOMPRESS_BUFFER_SIZE];
FILE *dst = NULL;
LLFILE *dst = NULL;
S32 bytes = 0;
(void *) strcpy(tmpfile, dstfile); /* Flawfinder: ignore */
(void *) strncat(tmpfile, ".t", sizeof(tmpfile) - strlen(tmpfile) -1); /* Flawfinder: ignore */
@ -700,7 +700,7 @@ BOOL gzip_file(const char *srcfile, const char *dstfile)
BOOL retval = FALSE;
U8 buffer[COMPRESS_BUFFER_SIZE];
gzFile dst = NULL;
FILE *src = NULL;
LLFILE *src = NULL;
S32 bytes = 0;
(void *) strcpy(tmpfile, dstfile); /* Flawfinder: ignore */
(void *) strncat(tmpfile, ".t", sizeof(tmpfile) - strlen(tmpfile) -1); /* Flawfinder: ignore */

View File

@ -1128,7 +1128,7 @@ bool LLImageTGA::loadFile( const LLString& path )
return false;
}
FILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */
LLFILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */
if( !file )
{
llwarns << "Couldn't open file " << path << llendl;

View File

@ -58,14 +58,14 @@ void fallbackDestroyLLImageJ2CImpl(LLImageJ2CImpl* impl)
}
/**
sample error callback expecting a FILE* client object
sample error callback expecting a LLFILE* client object
*/
void error_callback(const char* msg, void*)
{
lldebugs << "LLImageJ2CImpl error_callback: " << msg << llendl;
}
/**
sample warning callback expecting a FILE* client object
sample warning callback expecting a LLFILE* client object
*/
void warning_callback(const char* msg, void*)
{

View File

@ -217,7 +217,7 @@ BOOL LLInventoryObject::importLegacyStream(std::istream& input_stream)
// exportFile should be replaced with exportLegacyStream
// not sure whether exportLegacyStream(llofstream(fp)) would work, fp may need to get icramented...
BOOL LLInventoryObject::exportFile(FILE* fp, BOOL) const
BOOL LLInventoryObject::exportFile(LLFILE* fp, BOOL) const
{
char uuid_str[UUID_STR_LENGTH]; /* Flawfinder: ignore */
fprintf(fp, "\tinv_object\t0\n\t{\n");
@ -520,7 +520,7 @@ BOOL LLInventoryItem::unpackMessage(LLMessageSystem* msg, const char* block, S32
}
// virtual
BOOL LLInventoryItem::importFile(FILE* fp)
BOOL LLInventoryItem::importFile(LLFILE* fp)
{
// *NOTE: Changing the buffer size will require changing the scanf
// calls below.
@ -674,7 +674,7 @@ BOOL LLInventoryItem::importFile(FILE* fp)
return success;
}
BOOL LLInventoryItem::exportFile(FILE* fp, BOOL include_asset_key) const
BOOL LLInventoryItem::exportFile(LLFILE* fp, BOOL include_asset_key) const
{
char uuid_str[UUID_STR_LENGTH]; /* Flawfinder: ignore */
fprintf(fp, "\tinv_item\t0\n\t{\n");
@ -1429,7 +1429,7 @@ void LLInventoryCategory::unpackMessage(LLMessageSystem* msg,
}
// virtual
BOOL LLInventoryCategory::importFile(FILE* fp)
BOOL LLInventoryCategory::importFile(LLFILE* fp)
{
// *NOTE: Changing the buffer size will require changing the scanf
// calls below.
@ -1495,7 +1495,7 @@ BOOL LLInventoryCategory::importFile(FILE* fp)
return TRUE;
}
BOOL LLInventoryCategory::exportFile(FILE* fp, BOOL) const
BOOL LLInventoryCategory::exportFile(LLFILE* fp, BOOL) const
{
char uuid_str[UUID_STR_LENGTH]; /* Flawfinder: ignore */
fprintf(fp, "\tinv_category\t0\n\t{\n");

View File

@ -101,8 +101,8 @@ public:
// file support - implemented here so that a minimal information
// set can be transmitted between simulator and viewer.
// virtual BOOL importFile(FILE* fp);
virtual BOOL exportFile(FILE* fp, BOOL include_asset_key = TRUE) const;
// virtual BOOL importFile(LLFILE* fp);
virtual BOOL exportFile(LLFILE* fp, BOOL include_asset_key = TRUE) const;
virtual BOOL importLegacyStream(std::istream& input_stream);
virtual BOOL exportLegacyStream(std::ostream& output_stream, BOOL include_asset_key = TRUE) const;
@ -259,8 +259,8 @@ public:
// we want to detect network mangling somehow.
virtual BOOL unpackMessage(LLMessageSystem* msg, const char* block, S32 block_num = 0);
// file support
virtual BOOL importFile(FILE* fp);
virtual BOOL exportFile(FILE* fp, BOOL include_asset_key = TRUE) const;
virtual BOOL importFile(LLFILE* fp);
virtual BOOL exportFile(LLFILE* fp, BOOL include_asset_key = TRUE) const;
virtual BOOL importLegacyStream(std::istream& input_stream);
virtual BOOL exportLegacyStream(std::ostream& output_stream, BOOL include_asset_key = TRUE) const;
@ -319,8 +319,8 @@ public:
bool fromLLSD(LLSD& sd);
// file support
virtual BOOL importFile(FILE* fp);
virtual BOOL exportFile(FILE* fp, BOOL include_asset_key = TRUE) const;
virtual BOOL importFile(LLFILE* fp);
virtual BOOL exportFile(LLFILE* fp, BOOL include_asset_key = TRUE) const;
virtual BOOL importLegacyStream(std::istream& input_stream);
virtual BOOL exportLegacyStream(std::ostream& output_stream, BOOL include_asset_key = TRUE) const;

View File

@ -544,7 +544,7 @@ void LLPermissions::unpackMessage(LLMessageSystem* msg, const char* block, S32 b
// File support
//
BOOL LLPermissions::importFile(FILE* fp)
BOOL LLPermissions::importFile(LLFILE* fp)
{
init(LLUUID::null, LLUUID::null, LLUUID::null, LLUUID::null);
const S32 BUFSIZE = 16384;
@ -648,7 +648,7 @@ BOOL LLPermissions::importFile(FILE* fp)
}
BOOL LLPermissions::exportFile(FILE* fp) const
BOOL LLPermissions::exportFile(LLFILE* fp) const
{
char uuid_str[256]; /* Flawfinder: ignore */

View File

@ -302,8 +302,8 @@ public:
void unpackMessage(LLMessageSystem* msg, const char* block, S32 block_num = 0);
// Load/save support
BOOL importFile(FILE* fp);
BOOL exportFile(FILE* fp) const;
BOOL importFile(LLFILE* fp);
BOOL exportFile(LLFILE* fp) const;
BOOL importLegacyStream(std::istream& input_stream);
BOOL exportLegacyStream(std::ostream& output_stream) const;

View File

@ -84,7 +84,7 @@ U32 LLSaleInfo::getCRC32() const
}
BOOL LLSaleInfo::exportFile(FILE* fp) const
BOOL LLSaleInfo::exportFile(LLFILE* fp) const
{
fprintf(fp, "\tsale_info\t0\n\t{\n");
fprintf(fp, "\t\tsale_type\t%s\n", lookup(mSaleType));
@ -158,7 +158,7 @@ BOOL LLSaleInfo::importXML(LLXMLNode* node)
return success;
}
BOOL LLSaleInfo::importFile(FILE* fp, BOOL& has_perm_mask, U32& perm_mask)
BOOL LLSaleInfo::importFile(LLFILE* fp, BOOL& has_perm_mask, U32& perm_mask)
{
has_perm_mask = FALSE;

View File

@ -91,8 +91,8 @@ public:
// file serialization
BOOL exportFile(FILE* fp) const;
BOOL importFile(FILE* fp, BOOL& has_perm_mask, U32& perm_mask);
BOOL exportFile(LLFILE* fp) const;
BOOL importFile(LLFILE* fp, BOOL& has_perm_mask, U32& perm_mask);
BOOL exportLegacyStream(std::ostream& output_stream) const;
LLSD asLLSD() const;

View File

@ -770,7 +770,7 @@ BOOL LLProfile::generate(const LLProfileParams& params, BOOL path_open,F32 detai
BOOL LLProfileParams::importFile(FILE *fp)
BOOL LLProfileParams::importFile(LLFILE *fp)
{
LLMemType m1(LLMemType::MTYPE_VOLUME);
@ -834,7 +834,7 @@ BOOL LLProfileParams::importFile(FILE *fp)
}
BOOL LLProfileParams::exportFile(FILE *fp) const
BOOL LLProfileParams::exportFile(LLFILE *fp) const
{
fprintf(fp,"\t\tprofile 0\n");
fprintf(fp,"\t\t{\n");
@ -1282,7 +1282,7 @@ BOOL LLDynamicPath::generate(const LLPathParams& params, F32 detail, S32 split,
}
BOOL LLPathParams::importFile(FILE *fp)
BOOL LLPathParams::importFile(LLFILE *fp)
{
LLMemType m1(LLMemType::MTYPE_VOLUME);
@ -1403,7 +1403,7 @@ BOOL LLPathParams::importFile(FILE *fp)
}
BOOL LLPathParams::exportFile(FILE *fp) const
BOOL LLPathParams::exportFile(LLFILE *fp) const
{
fprintf(fp, "\t\tpath 0\n");
fprintf(fp, "\t\t{\n");
@ -3777,7 +3777,7 @@ BOOL LLVolume::cleanupTriangleData( const S32 num_input_vertices,
}
BOOL LLVolumeParams::importFile(FILE *fp)
BOOL LLVolumeParams::importFile(LLFILE *fp)
{
LLMemType m1(LLMemType::MTYPE_VOLUME);
@ -3822,7 +3822,7 @@ BOOL LLVolumeParams::importFile(FILE *fp)
return TRUE;
}
BOOL LLVolumeParams::exportFile(FILE *fp) const
BOOL LLVolumeParams::exportFile(LLFILE *fp) const
{
fprintf(fp,"\tshape 0\n");
fprintf(fp,"\t{\n");

View File

@ -52,6 +52,7 @@ class LLVolume;
#include "llstrider.h"
#include "v4coloru.h"
#include "llmemory.h"
#include "llfile.h"
//============================================================================
@ -229,8 +230,8 @@ public:
void copyParams(const LLProfileParams &params);
BOOL importFile(FILE *fp);
BOOL exportFile(FILE *fp) const;
BOOL importFile(LLFILE *fp);
BOOL exportFile(LLFILE *fp) const;
BOOL importLegacyStream(std::istream& input_stream);
BOOL exportLegacyStream(std::ostream& output_stream) const;
@ -354,8 +355,8 @@ public:
void copyParams(const LLPathParams &params);
BOOL importFile(FILE *fp);
BOOL exportFile(FILE *fp) const;
BOOL importFile(LLFILE *fp);
BOOL exportFile(LLFILE *fp) const;
BOOL importLegacyStream(std::istream& input_stream);
BOOL exportLegacyStream(std::ostream& output_stream) const;
@ -545,8 +546,8 @@ public:
const LLPathParams &getPathParams() const {return mPathParams;}
LLPathParams &getPathParams() {return mPathParams;}
BOOL importFile(FILE *fp);
BOOL exportFile(FILE *fp) const;
BOOL importFile(LLFILE *fp);
BOOL exportFile(LLFILE *fp) const;
BOOL importLegacyStream(std::istream& input_stream);
BOOL exportLegacyStream(std::ostream& output_stream) const;

View File

@ -1242,7 +1242,7 @@ void LLAssetStorage::legacyGetDataCallback(LLVFS *vfs, const LLUUID &uuid, LLAss
uuid.toString(uuid_str);
snprintf(filename,sizeof(filename),"%s.%s",gDirUtilp->getExpandedFilename(LL_PATH_CACHE,uuid_str).c_str(),LLAssetType::lookup(type)); /* Flawfinder: ignore */
FILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */
LLFILE* fp = LLFile::fopen(filename, "wb"); /* Flawfinder: ignore */
if (fp)
{
const S32 buf_size = 65536;

View File

@ -323,7 +323,7 @@ void LLCacheName::cancelCallback(const LLUUID& id, LLCacheNameCallback callback,
}
}
void LLCacheName::importFile(FILE* fp)
void LLCacheName::importFile(LLFILE* fp)
{
S32 count = 0;

View File

@ -64,7 +64,7 @@ public:
void cancelCallback(const LLUUID& id, LLCacheNameCallback callback, void* user_data = NULL);
// janky old format. Remove after a while. Phoenix. 2008-01-30
void importFile(FILE* fp);
void importFile(LLFILE* fp);
// storing cache on disk; for viewer, in name.cache
bool importFile(std::istream& istr);

View File

@ -330,7 +330,7 @@ inline BOOL LLDataPackerAsciiBuffer::verifyLength(const S32 data_size, const cha
class LLDataPackerAsciiFile : public LLDataPacker
{
public:
LLDataPackerAsciiFile(FILE *fp, const S32 indent = 2)
LLDataPackerAsciiFile(LLFILE *fp, const S32 indent = 2)
: LLDataPacker(),
mIndent(indent),
mFP(fp),
@ -407,7 +407,7 @@ protected:
protected:
S32 mIndent;
FILE *mFP;
LLFILE *mFP;
std::ostream* mOutputStream;
std::istream* mInputStream;
};

View File

@ -74,7 +74,7 @@ protected:
protected:
LLTransferSourceParamsFile mParams;
FILE *mFP;
LLFILE *mFP;
};
#endif // LL_LLTRANSFERSOURCEFILE_H

View File

@ -69,7 +69,7 @@ protected:
LLTransferTargetParamsFile mParams;
FILE *mFP;
LLFILE *mFP;
};
#endif // LL_LLTRANSFERTARGETFILE_H

View File

@ -353,7 +353,7 @@ S32 LLXfer_File::processEOF()
}
else
{
//FILE* fp = LLFile::fopen(mTempFilename, "r");
//LLFILE* fp = LLFile::fopen(mTempFilename, "r");
//llwarns << "File " << mTempFilename << " does "
// << (!fp ? "not" : "" ) << " exit." << llendl;
//if(fp) fclose(fp);
@ -424,8 +424,8 @@ U32 LLXfer_File::getXferTypeTag()
S32 copy_file(const char* from, const char* to)
{
S32 rv = 0;
FILE* in = LLFile::fopen(from, "rb"); /*Flawfinder: ignore*/
FILE* out = LLFile::fopen(to, "wb"); /*Flawfinder: ignore*/
LLFILE* in = LLFile::fopen(from, "rb"); /*Flawfinder: ignore*/
LLFILE* out = LLFile::fopen(to, "wb"); /*Flawfinder: ignore*/
if(in && out)
{
S32 read = 0;

View File

@ -38,7 +38,7 @@
class LLXfer_File : public LLXfer
{
protected:
FILE *mFp;
LLFILE *mFp;
char mLocalFilename[LL_MAX_PATH]; /* Flawfinder : ignore */
char mRemoteFilename[LL_MAX_PATH]; /* Flawfinder : ignore */
ELLPath mRemotePath;

View File

@ -2419,7 +2419,7 @@ void process_deny_trusted_circuit(LLMessageSystem *msg, void **)
void dump_prehash_files()
{
U32 i;
FILE* fp = LLFile::fopen("../../indra/llmessage/message_prehash.h", "w"); /* Flawfinder: ignore */
LLFILE* fp = LLFile::fopen("../../indra/llmessage/message_prehash.h", "w"); /* Flawfinder: ignore */
if (fp)
{
fprintf(

View File

@ -863,7 +863,7 @@ S32 LLFontGL::render(const LLWString &wstr,
if (style & UNDERLINE)
{
LLGLSNoTexture no_texture;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2f(start_x, cur_y - (mDescender));
gGL.vertex2f(cur_x, cur_y - (mDescender));
gGL.end();
@ -1358,7 +1358,7 @@ void LLFontGL::drawGlyph(const LLRectf& screen_rect, const LLRectf& uv_rect, con
F32 slant_offset;
slant_offset = ((style & ITALIC) ? ( -mAscender * 0.2f) : 0.f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
//FIXME: bold and drop shadow are mutually exclusive only for convenience
//Allow both when we need them.

View File

@ -60,7 +60,6 @@ U32 LLVertexBuffer::sLastMask = 0;
BOOL LLVertexBuffer::sVBOActive = FALSE;
BOOL LLVertexBuffer::sIBOActive = FALSE;
U32 LLVertexBuffer::sAllocatedBytes = 0;
BOOL LLVertexBuffer::sRenderActive = FALSE;
BOOL LLVertexBuffer::sMapped = FALSE;
std::vector<U32> LLVertexBuffer::sDeleteList;
@ -84,16 +83,18 @@ U32 LLVertexBuffer::sGLMode[LLVertexBuffer::NUM_MODES] =
GL_TRIANGLE_FAN,
GL_POINTS,
GL_LINES,
GL_LINE_STRIP
GL_LINE_STRIP,
GL_QUADS,
GL_LINE_LOOP,
};
//static
void LLVertexBuffer::setupClientArrays(U32 data_mask)
{
if (LLGLImmediate::sStarted)
/*if (LLGLImmediate::sStarted)
{
llerrs << "Cannot use LLGLImmediate and LLVertexBuffer simultaneously!" << llendl;
}
}*/
if (sLastMask != data_mask)
{
@ -186,6 +187,11 @@ void LLVertexBuffer::drawRange(U32 mode, U32 start, U32 end, U32 count, U32 indi
llerrs << "Wrong vertex buffer bound." << llendl;
}
if (mode > NUM_MODES)
{
llerrs << "Invalid draw mode: " << mode << llendl;
}
glDrawRangeElements(sGLMode[mode], start, end, count, GL_UNSIGNED_SHORT,
((U16*) getIndicesPointer()) + indices_offset);
}
@ -208,10 +214,37 @@ void LLVertexBuffer::draw(U32 mode, U32 count, U32 indices_offset) const
llerrs << "Wrong vertex buffer bound." << llendl;
}
if (mode > NUM_MODES)
{
llerrs << "Invalid draw mode: " << mode << llendl;
}
glDrawElements(sGLMode[mode], count, GL_UNSIGNED_SHORT,
((U16*) getIndicesPointer()) + indices_offset);
}
void LLVertexBuffer::drawArrays(U32 mode, U32 first, U32 count) const
{
if (first >= (U32) mRequestedNumVerts ||
first + count > (U32) mRequestedNumVerts)
{
llerrs << "Bad vertex buffer draw range: [" << first << ", " << first+count << "]" << llendl;
}
if (mGLBuffer != sGLRenderBuffer)
{
llerrs << "Wrong vertex buffer bound." << llendl;
}
if (mode > NUM_MODES)
{
llerrs << "Invalid draw mode: " << mode << llendl;
}
glDrawArrays(sGLMode[mode], first, count);
}
//static
void LLVertexBuffer::initClass(bool use_vbo)
{
@ -246,26 +279,10 @@ void LLVertexBuffer::unbind()
void LLVertexBuffer::cleanupClass()
{
LLMemType mt(LLMemType::MTYPE_VERTEX_DATA);
startRender();
stopRender();
unbind();
clientCopy(); // deletes GL buffers
}
//static, call before rendering VBOs
void LLVertexBuffer::startRender()
{
LLMemType mt(LLMemType::MTYPE_VERTEX_DATA);
unbind();
sRenderActive = TRUE;
}
void LLVertexBuffer::stopRender()
{
unbind();
sRenderActive = FALSE;
}
void LLVertexBuffer::clientCopy(F64 max_time)
{
if (!sDeleteList.empty())
@ -717,7 +734,7 @@ BOOL LLVertexBuffer::useVBOs() const
return FALSE;
}
#endif
return sEnableVBOs; // && (!sRenderActive || !mLocked);
return sEnableVBOs;
}
//----------------------------------------------------------------------------
@ -937,6 +954,22 @@ void LLVertexBuffer::setBuffer(U32 data_mask)
if (mResized)
{
if (gDebugGL)
{
GLint buff;
glGetIntegerv(GL_ARRAY_BUFFER_BINDING_ARB, &buff);
if (buff != mGLBuffer)
{
llerrs << "Invalid GL vertex buffer bound: " << buff << llendl;
}
glGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB, &buff);
if (buff != mGLIndices)
{
llerrs << "Invalid GL index buffer bound: " << buff << llendl;
}
}
if (mGLBuffer)
{
stop_glerror();
@ -1000,10 +1033,6 @@ void LLVertexBuffer::setBuffer(U32 data_mask)
sGLRenderBuffer = mGLBuffer;
if (data_mask && setup)
{
if (!sRenderActive)
{
llwarns << "Vertex buffer set for rendering outside of render frame." << llendl;
}
setupVertexBuffer(data_mask); // subclass specific setup (virtual function)
sSetCount++;
}

View File

@ -85,9 +85,7 @@ public:
static void initClass(bool use_vbo);
static void cleanupClass();
static void setupClientArrays(U32 data_mask);
static void startRender(); //between start and stop render, no client copies will occur
static void stopRender(); //any buffer not copied to GL will be rendered from client memory
static void clientCopy(F64 max_time = 0.005); //copy data from client to GL
static void clientCopy(F64 max_time = 0.005); //copy data from client to GL
static void unbind(); //unbind any bound vertex buffer
//get the size of a vertex with the given typemask
@ -131,6 +129,8 @@ public:
POINTS,
LINES,
LINE_STRIP,
QUADS,
LINE_LOOP,
NUM_MODES
};
protected:
@ -205,6 +205,7 @@ public:
void markDirty(U32 vert_index, U32 vert_count, U32 indices_index, U32 indices_count);
void draw(U32 mode, U32 count, U32 indices_offset) const;
void drawArrays(U32 mode, U32 offset, U32 count) const;
void drawRange(U32 mode, U32 start, U32 end, U32 count, U32 indices_offset) const;
protected:
@ -244,7 +245,6 @@ protected:
std::vector<DirtyRegion> mDirtyRegions; //vector of dirty regions to rebuild
public:
static BOOL sRenderActive;
static S32 sCount;
static S32 sGLCount;
static S32 sMappedCount;

View File

@ -152,7 +152,7 @@ void gl_draw_x(const LLRect& rect, const LLColor4& color)
gGL.color4fv( color.mV );
gGL.begin( GL_LINES );
gGL.begin( LLVertexBuffer::LINES );
gGL.vertex2i( rect.mLeft, rect.mTop );
gGL.vertex2i( rect.mRight, rect.mBottom );
gGL.vertex2i( rect.mLeft, rect.mBottom );
@ -193,7 +193,7 @@ void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, BOOL filled )
// Counterclockwise quad will face the viewer
if( filled )
{
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
gGL.vertex2i(left, top);
gGL.vertex2i(left, bottom);
gGL.vertex2i(right, bottom);
@ -205,7 +205,7 @@ void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, BOOL filled )
if( gGLManager.mATIOffsetVerticalLines )
{
// Work around bug in ATI driver: vertical lines are offset by (-1,-1)
gGL.begin( GL_LINES );
gGL.begin( LLVertexBuffer::LINES );
// Verticals
gGL.vertex2i(left + 1, top);
@ -228,7 +228,7 @@ void gl_rect_2d(S32 left, S32 top, S32 right, S32 bottom, BOOL filled )
{
top--;
right--;
gGL.begin( GL_LINE_STRIP );
gGL.begin( LLVertexBuffer::LINE_STRIP );
gGL.vertex2i(left, top);
gGL.vertex2i(left, bottom);
gGL.vertex2i(right, bottom);
@ -269,7 +269,7 @@ void gl_drop_shadow(S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &st
LLColor4 end_color = start_color;
end_color.mV[VALPHA] = 0.f;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
// Right edge, CCW faces screen
gGL.color4fv(start_color.mV);
@ -331,7 +331,7 @@ void gl_line_2d(S32 x1, S32 y1, S32 x2, S32 y2 )
LLGLSNoTexture no_texture;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2i(x1, y1);
gGL.vertex2i(x2, y2);
gGL.end();
@ -352,7 +352,7 @@ void gl_line_2d(S32 x1, S32 y1, S32 x2, S32 y2, const LLColor4 &color )
gGL.color4fv( color.mV );
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2i(x1, y1);
gGL.vertex2i(x2, y2);
gGL.end();
@ -366,11 +366,11 @@ void gl_triangle_2d(S32 x1, S32 y1, S32 x2, S32 y2, S32 x3, S32 y3, const LLColo
if (filled)
{
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
}
else
{
gGL.begin(GL_LINE_LOOP);
gGL.begin(LLVertexBuffer::LINE_LOOP);
}
gGL.vertex2i(x1, y1);
gGL.vertex2i(x2, y2);
@ -384,7 +384,7 @@ void gl_corners_2d(S32 left, S32 top, S32 right, S32 bottom, S32 length, F32 max
length = llmin((S32)(max_frac*(right - left)), length);
length = llmin((S32)(max_frac*(top - bottom)), length);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2i(left, top);
gGL.vertex2i(left + length, top);
@ -515,7 +515,7 @@ void gl_draw_scaled_image_with_border(S32 x, S32 y, S32 width, S32 height, LLIma
gGL.color4fv(color.mV);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
// draw bottom left
gGL.texCoord2f(uv_rect.mLeft, uv_rect.mBottom);
@ -675,7 +675,7 @@ void gl_draw_scaled_rotated_image(S32 x, S32 y, S32 width, S32 height, F32 degre
gGL.color4fv(color.mV);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2f(uv_rect.mRight, uv_rect.mTop);
gGL.vertex2i(width, height );
@ -713,7 +713,7 @@ void gl_draw_scaled_image_inverted(S32 x, S32 y, S32 width, S32 height, LLImageG
gGL.color4fv(color.mV);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2f(uv_rect.mRight, uv_rect.mBottom);
gGL.vertex2i(width, height );
@ -748,7 +748,7 @@ void gl_stippled_line_3d( const LLVector3& start, const LLVector3& end, const LL
glLineWidth(2.5f);
glLineStipple(2, 0x3333 << shift);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv( start.mV );
gGL.vertex3fv( end.mV );
@ -765,7 +765,7 @@ void gl_rect_2d_xor(S32 left, S32 top, S32 right, S32 bottom)
glLogicOp( GL_XOR );
stop_glerror();
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.vertex2i(left, top);
gGL.vertex2i(left, bottom);
gGL.vertex2i(right, bottom);
@ -797,14 +797,14 @@ void gl_arc_2d(F32 center_x, F32 center_y, F32 radius, S32 steps, BOOL filled, F
if (filled)
{
gGL.begin(GL_TRIANGLE_FAN);
gGL.begin(LLVertexBuffer::TRIANGLE_FAN);
gGL.vertex2f(0.f, 0.f);
// make sure circle is complete
steps += 1;
}
else
{
gGL.begin(GL_LINE_STRIP);
gGL.begin(LLVertexBuffer::LINE_STRIP);
}
while( steps-- )
@ -836,14 +836,14 @@ void gl_circle_2d(F32 center_x, F32 center_y, F32 radius, S32 steps, BOOL filled
if (filled)
{
gGL.begin(GL_TRIANGLE_FAN);
gGL.begin(LLVertexBuffer::TRIANGLE_FAN);
gGL.vertex2f(0.f, 0.f);
// make sure circle is complete
steps += 1;
}
else
{
gGL.begin(GL_LINE_LOOP);
gGL.begin(LLVertexBuffer::LINE_LOOP);
}
while( steps-- )
@ -865,7 +865,7 @@ void gl_deep_circle( F32 radius, F32 depth, S32 steps )
F32 x = radius;
F32 y = 0.f;
F32 angle_delta = F_TWO_PI / (F32)steps;
gGL.begin( GL_TRIANGLE_STRIP );
gGL.begin( LLVertexBuffer::TRIANGLE_STRIP );
{
S32 step = steps + 1; // An extra step to close the circle.
while( step-- )
@ -952,7 +952,7 @@ void gl_washer_2d(F32 outer_radius, F32 inner_radius, S32 steps, const LLColor4&
LLGLSNoTexture gls_no_texture;
gGL.begin( GL_TRIANGLE_STRIP );
gGL.begin( LLVertexBuffer::TRIANGLE_STRIP );
{
steps += 1; // An extra step to close the circle.
while( steps-- )
@ -988,7 +988,7 @@ void gl_washer_segment_2d(F32 outer_radius, F32 inner_radius, F32 start_radians,
F32 y2 = inner_radius * sin( start_radians );
LLGLSNoTexture gls_no_texture;
gGL.begin( GL_TRIANGLE_STRIP );
gGL.begin( LLVertexBuffer::TRIANGLE_STRIP );
{
steps += 1; // An extra step to close the circle.
while( steps-- )
@ -1025,7 +1025,7 @@ void gl_washer_spokes_2d(F32 outer_radius, F32 inner_radius, S32 count, const LL
LLGLSNoTexture gls_no_texture;
gGL.begin( GL_LINES );
gGL.begin( LLVertexBuffer::LINES );
{
while( count-- )
{
@ -1048,7 +1048,7 @@ void gl_washer_spokes_2d(F32 outer_radius, F32 inner_radius, S32 count, const LL
void gl_rect_2d_simple_tex( S32 width, S32 height )
{
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
gGL.texCoord2f(1.f, 1.f);
gGL.vertex2i(width, height);
@ -1067,7 +1067,7 @@ void gl_rect_2d_simple_tex( S32 width, S32 height )
void gl_rect_2d_simple( S32 width, S32 height )
{
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
gGL.vertex2i(width, height);
gGL.vertex2i(0, height);
gGL.vertex2i(0, 0);
@ -1109,7 +1109,7 @@ void gl_segmented_rect_2d_tex(const S32 left,
LLVector2 width_vec((F32)width, 0.f);
LLVector2 height_vec(0.f, (F32)height);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
// draw bottom left
gGL.texCoord2f(0.f, 0.f);
@ -1277,7 +1277,7 @@ void gl_segmented_rect_2d_fragment_tex(const S32 left,
LLVector2 x_min;
LLVector2 x_max;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
if (start_fragment < middle_start)
{
@ -1434,7 +1434,7 @@ void gl_segmented_rect_3d_tex(const LLVector2& border_scale, const LLVector3& bo
LLVector3 bottom_border_height = ((edges & (~(U32)ROUNDED_RECT_TOP)) != 0) ? border_height : LLVector3::zero;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
// draw bottom left
gGL.texCoord2f(0.f, 0.f);

View File

@ -1306,7 +1306,7 @@ void LLView::drawDebugRect()
gGL.color4fv( border_color.mV );
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2i(0, debug_rect.getHeight() - 1);
gGL.vertex2i(0, 0);

View File

@ -248,7 +248,7 @@ void LLViewBorder::drawTextureTrapezoid( F32 degrees, S32 width, S32 length, F32
gGL.translatef(start_x, start_y, 0.f);
glRotatef( degrees, 0, 0, 1 );
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
// width, width /---------\ length-width, width //
// / \ //

View File

@ -597,7 +597,7 @@ LLVFS::LLVFS(const char *index_filename, const char *data_filename, const BOOL r
return;
}
sprintf(marker, "%s.open", mDataFilename); /* Flawfinder: ignore */
FILE* marker_fp = LLFile::fopen(marker, "w"); /* Flawfinder: ignore */
LLFILE* marker_fp = LLFile::fopen(marker, "w"); /* Flawfinder: ignore */
if (marker_fp)
{
fclose(marker_fp);
@ -2134,7 +2134,7 @@ void LLVFS::dumpFiles()
//============================================================================
// static
FILE *LLVFS::openAndLock(const char *filename, const char *mode, BOOL read_lock)
LLFILE *LLVFS::openAndLock(const char *filename, const char *mode, BOOL read_lock)
{
#if LL_WINDOWS
@ -2142,7 +2142,7 @@ FILE *LLVFS::openAndLock(const char *filename, const char *mode, BOOL read_lock)
#else
FILE *fp;
LLFILE *fp;
int fd;
// first test the lock in a non-destructive way
@ -2192,7 +2192,7 @@ FILE *LLVFS::openAndLock(const char *filename, const char *mode, BOOL read_lock)
}
// static
void LLVFS::unlockAndClose(FILE *fp)
void LLVFS::unlockAndClose(LLFILE *fp)
{
if (fp)
{

View File

@ -131,8 +131,8 @@ protected:
void sync(LLVFSFileBlock *block, BOOL remove = FALSE);
void presizeDataFile(const U32 size);
static FILE *openAndLock(const char *filename, const char *mode, BOOL read_lock);
static void unlockAndClose(FILE *fp);
static LLFILE *openAndLock(const char *filename, const char *mode, BOOL read_lock);
static void unlockAndClose(LLFILE *fp);
// Can initiate LRU-based file removal to make space.
// The immune file block will not be removed.
@ -153,8 +153,8 @@ protected:
typedef std::multimap<U32, LLVFSBlock*> blocks_location_map_t;
blocks_location_map_t mFreeBlocksByLocation;
FILE *mDataFP;
FILE *mIndexFP;
LLFILE *mDataFP;
LLFILE *mIndexFP;
std::deque<S32> mIndexHoles;

View File

@ -572,7 +572,7 @@ bool LLXMLNode::parseFile(
LLXMLNode* defaults_tree)
{
// Read file
FILE* fp = LLFile::fopen(filename.c_str(), "rb"); /* Flawfinder: ignore */
LLFILE* fp = LLFile::fopen(filename.c_str(), "rb"); /* Flawfinder: ignore */
if (fp == NULL)
{
node = new LLXMLNode();
@ -741,12 +741,12 @@ BOOL LLXMLNode::isFullyDefault()
}
// static
void LLXMLNode::writeHeaderToFile(FILE *fOut)
void LLXMLNode::writeHeaderToFile(LLFILE *fOut)
{
fprintf(fOut, "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>\n");
}
void LLXMLNode::writeToFile(FILE *fOut, LLString indent)
void LLXMLNode::writeToFile(LLFILE *fOut, LLString indent)
{
if (isFullyDefault())
{

View File

@ -133,8 +133,8 @@ public:
static bool updateNode(
LLXMLNodePtr& node,
LLXMLNodePtr& update_node);
static void writeHeaderToFile(FILE *fOut);
void writeToFile(FILE *fOut, LLString indent = LLString());
static void writeHeaderToFile(LLFILE *fOut);
void writeToFile(LLFILE *fOut, LLString indent = LLString());
void writeToOstream(std::ostream& output_stream, const LLString& indent = LLString());
// Utility

View File

@ -77,7 +77,7 @@ BOOL LLXmlParser::parseFile(const std::string &path)
BOOL success = TRUE;
FILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */
LLFILE* file = LLFile::fopen(path.c_str(), "rb"); /* Flawfinder: ignore */
if( !file )
{
snprintf( mAuxErrorString, sizeof(mAuxErrorString), "Couldn't open file %s", path.c_str()); /* Flawfinder: ignore */
@ -393,7 +393,7 @@ int main()
{
char buf[1024];
FILE* file = LLFile::fopen("test.xml", "rb");
LLFILE* file = LLFile::fopen("test.xml", "rb");
if( !file )
{
return 1;

View File

@ -118,7 +118,7 @@ inline void bytestream2alloc_entry(LLScriptAllocEntry &entry, U8 *buffer, S32 &o
// create a heap from the HR to TM
BOOL lsa_create_heap(U8 *heap_start, S32 size);
void lsa_fprint_heap(U8 *buffer, FILE *fp);
void lsa_fprint_heap(U8 *buffer, LLFILE *fp);
void lsa_print_heap(U8 *buffer);

View File

@ -706,7 +706,7 @@ BOOL lscript_compile(const char* src_filename, const char* dst_filename,
#ifdef EMERGENCY_DEBUG_PRINTOUTS
char compiled[256];
sprintf(compiled, "%s.o", src_filename);
FILE* compfile;
LLFILE* compfile;
compfile = LLFile::fopen(compiled, "w");
#endif
@ -733,7 +733,7 @@ BOOL lscript_compile(const char* src_filename, const char* dst_filename,
#endif
#ifdef EMIT_CIL_ASSEMBLER
const char* cil_output_file_name = dst_filename? dst_filename : "lscript.cil";
FILE* cilout = LLFile::fopen(cil_output_file_name, "w");
LLFILE* cilout = LLFile::fopen(cil_output_file_name, "w");
if(NULL == cilout)
{
fprintf(yyout, "Error opening cil output file %s\n", cil_output_file_name);

View File

@ -245,7 +245,7 @@ LLScriptScriptCodeChunk::~LLScriptScriptCodeChunk()
delete [] mCompleteCode;
}
void LLScriptScriptCodeChunk::build(FILE *efp, FILE *bcfp)
void LLScriptScriptCodeChunk::build(LLFILE *efp, LLFILE *bcfp)
{
S32 code_data_size = mRegisters->mCurrentOffset +
mGlobalVariables->mCurrentOffset +

View File

@ -77,7 +77,7 @@ public:
LLScriptScriptCodeChunk(S32 total_size);
~LLScriptScriptCodeChunk();
void build(FILE *efp, FILE *bcfp);
void build(LLFILE *efp, LLFILE *bcfp);
LLScriptByteCodeChunk *mRegisters;
LLScriptByteCodeChunk *mGlobalVariables;

View File

@ -40,7 +40,7 @@ S32 gInternalLine = 0;
LLScriptGenerateErrorText gErrorToText;
void LLScriptFilePosition::fdotabs(FILE *fp, S32 tabs, S32 tabsize)
void LLScriptFilePosition::fdotabs(LLFILE *fp, S32 tabs, S32 tabsize)
{
S32 i;
for (i = 0; i < tabs * tabsize; i++)
@ -75,25 +75,25 @@ char* gErrorText[LSERROR_EOF] = /*Flawfinder: ignore*/
"Declaration requires a new scope -- use { and }"
};
void LLScriptGenerateErrorText::writeWarning(FILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning)
void LLScriptGenerateErrorText::writeWarning(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning)
{
fprintf(fp, "(%d, %d) : WARNING : %s\n", pos->mLineNumber, pos->mColumnNumber, gWarningText[warning]);
mTotalWarnings++;
}
void LLScriptGenerateErrorText::writeWarning(FILE *fp, S32 line, S32 col, LSCRIPTWarnings warning)
void LLScriptGenerateErrorText::writeWarning(LLFILE *fp, S32 line, S32 col, LSCRIPTWarnings warning)
{
fprintf(fp, "(%d, %d) : WARNING : %s\n", line, col, gWarningText[warning]);
mTotalWarnings++;
}
void LLScriptGenerateErrorText::writeError(FILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error)
void LLScriptGenerateErrorText::writeError(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error)
{
fprintf(fp, "(%d, %d) : ERROR : %s\n", pos->mLineNumber, pos->mColumnNumber, gErrorText[error]);
mTotalErrors++;
}
void LLScriptGenerateErrorText::writeError(FILE *fp, S32 line, S32 col, LSCRIPTErrors error)
void LLScriptGenerateErrorText::writeError(LLFILE *fp, S32 line, S32 col, LSCRIPTErrors error)
{
fprintf(fp, "(%d, %d) : ERROR : %s\n", line, col, gErrorText[error]);
mTotalErrors++;

View File

@ -84,13 +84,13 @@ public:
virtual ~LLScriptFilePosition() {}
virtual void recurse(FILE *fp, S32 tabs, S32 tabsize,
virtual void recurse(LLFILE *fp, S32 tabs, S32 tabsize,
LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg,
LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count,
LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) = 0;
virtual S32 getSize() = 0;
void fdotabs(FILE *fp, S32 tabs, S32 tabsize);
void fdotabs(LLFILE *fp, S32 tabs, S32 tabsize);
S32 mLineNumber;
S32 mColumnNumber;
@ -135,10 +135,10 @@ public:
void init() { mTotalErrors = 0; mTotalWarnings = 0; }
void writeWarning(FILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning);
void writeWarning(FILE *fp, S32 line, S32 col, LSCRIPTWarnings warning);
void writeError(FILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error);
void writeError(FILE *fp, S32 line, S32 col, LSCRIPTErrors error);
void writeWarning(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning);
void writeWarning(LLFILE *fp, S32 line, S32 col, LSCRIPTWarnings warning);
void writeError(LLFILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error);
void writeError(LLFILE *fp, S32 line, S32 col, LSCRIPTErrors error);
BOOL getErrors() { return mTotalErrors; }
BOOL getWarnings() { return mTotalWarnings; }

File diff suppressed because it is too large Load Diff

View File

@ -53,7 +53,7 @@ public:
~LLScriptType() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTType mType;
@ -70,7 +70,7 @@ public:
virtual ~LLScriptConstant() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTType mType;
@ -86,7 +86,7 @@ public:
~LLScriptConstantInteger() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
S32 mValue;
@ -102,7 +102,7 @@ public:
~LLScriptConstantFloat() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
F32 mValue;
@ -122,7 +122,7 @@ public:
mValue = NULL;
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
char *mValue;
@ -143,7 +143,7 @@ public:
mName = NULL;
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
char *mName;
@ -177,7 +177,7 @@ public:
// don't delete next pointer because we're going to store allocation lists and delete from those
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTSimpleAssignableType mType;
@ -196,7 +196,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mIdentifier;
@ -214,7 +214,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptConstant *mConstant;
@ -235,7 +235,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptSimpleAssignable *mEntry1;
@ -259,7 +259,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptSimpleAssignable *mEntry1;
@ -280,7 +280,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptSimpleAssignable *mEntryList;
@ -303,9 +303,9 @@ public:
{
}
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptType *mType;
@ -330,7 +330,7 @@ public:
// don't delete next pointer because we're going to store allocation lists and delete from those
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTStateEventType mType;
@ -344,7 +344,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptStateEntryEvent() {}
@ -360,7 +360,7 @@ public:
~LLScriptStateExitEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
};
@ -376,7 +376,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -394,7 +394,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -412,7 +412,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -430,7 +430,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -448,7 +448,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -466,7 +466,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mCount;
@ -484,7 +484,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mPosition;
@ -502,7 +502,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mPosition;
@ -520,7 +520,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mPosition;
@ -536,7 +536,7 @@ public:
~LLScriptInventoryEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mChange;
@ -552,7 +552,7 @@ public:
~LLScriptAttachEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mAttach;
@ -568,7 +568,7 @@ public:
~LLScriptDataserverEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mID;
@ -585,7 +585,7 @@ public:
~LLScriptTimerEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
};
@ -599,7 +599,7 @@ public:
~LLScriptMovingStartEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
};
@ -613,7 +613,7 @@ public:
~LLScriptMovingEndEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
};
@ -627,7 +627,7 @@ public:
~LLScriptRTPEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mRTPermissions;
@ -645,7 +645,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mChannel;
@ -666,7 +666,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mID;
@ -684,7 +684,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mNumber;
@ -702,7 +702,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mName;
@ -722,7 +722,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mSender;
@ -743,7 +743,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mType;
@ -767,7 +767,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass,
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass,
LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope,
LSCRIPTType &type, LSCRIPTType basetype, U64 &count,
LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap,
@ -791,7 +791,7 @@ public:
}
~LLScriptRezEvent() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mStartParam;
@ -805,7 +805,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptNoSensorEvent() {}
@ -819,7 +819,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptAtTarget() {}
@ -837,7 +837,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptNotAtTarget() {}
@ -851,7 +851,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptAtRotTarget() {}
@ -869,7 +869,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
~LLScriptNotAtRotTarget() {}
@ -887,7 +887,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mName;
@ -906,7 +906,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mTime;
@ -932,9 +932,9 @@ public:
// don't delete next pointer because we're going to store allocation lists and delete from those
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTExpressionType mType;
@ -955,7 +955,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mFirstp;
@ -974,7 +974,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mFirstp;
@ -993,7 +993,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mFirstp;
@ -1012,7 +1012,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
S32 mOffset;
@ -1032,7 +1032,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1051,7 +1051,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1070,7 +1070,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1089,7 +1089,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1108,7 +1108,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1127,7 +1127,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLValue;
@ -1146,7 +1146,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1165,7 +1165,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1184,7 +1184,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1203,7 +1203,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1222,7 +1222,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1241,7 +1241,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1260,7 +1260,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1279,7 +1279,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1298,7 +1298,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1317,7 +1317,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1336,7 +1336,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1355,7 +1355,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1374,7 +1374,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1393,7 +1393,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1412,7 +1412,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1431,7 +1431,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1450,7 +1450,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1469,7 +1469,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mLeftSide;
@ -1488,7 +1488,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1506,7 +1506,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1524,7 +1524,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1542,7 +1542,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1560,7 +1560,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1578,7 +1578,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1596,7 +1596,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptType *mType;
@ -1620,7 +1620,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression1;
@ -1647,7 +1647,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression1;
@ -1668,7 +1668,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpressionList;
@ -1686,7 +1686,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1704,7 +1704,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1722,7 +1722,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mIdentifier;
@ -1741,7 +1741,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1759,7 +1759,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptConstant *mConstant;
@ -1801,9 +1801,9 @@ public:
void addStatement(LLScriptStatement *event);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTStatementType mType;
@ -1824,7 +1824,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptStatement *mFirstp;
@ -1841,7 +1841,7 @@ public:
~LLScriptNOOP() {}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
};
@ -1857,7 +1857,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mIdentifier;
@ -1875,7 +1875,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mIdentifier;
@ -1893,7 +1893,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptIdentifier *mIdentifier;
@ -1911,7 +1911,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1930,7 +1930,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1948,7 +1948,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTType mType;
@ -1968,7 +1968,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -1989,7 +1989,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mSequence;
@ -2011,7 +2011,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptStatement *mStatement;
@ -2031,7 +2031,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptExpression *mExpression;
@ -2052,7 +2052,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptType *mType;
@ -2072,7 +2072,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptStatement *mStatement;
@ -2094,9 +2094,9 @@ public:
void addEvent(LLScriptEventHandler *event);
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptEvent *mEventp;
@ -2126,9 +2126,9 @@ public:
void addFunctionParameter(LLScriptFunctionDec *dec);
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptType *mType;
@ -2154,9 +2154,9 @@ public:
delete mFunctionScope;
}
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LLScriptType *mType;
@ -2192,9 +2192,9 @@ public:
{
}
void gonext(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void gonext(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
LSCRIPTStateType mType;
@ -2222,7 +2222,7 @@ public:
{
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata)
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata)
{
}
@ -2257,7 +2257,7 @@ public:
delete mGlobalScope;
}
void recurse(FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
void recurse(LLFILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata);
S32 getSize();
void setBytecodeDest(const char* dst_filename);

View File

@ -367,7 +367,7 @@ public:
class LLScriptExecute
{
public:
LLScriptExecute(FILE *fp);
LLScriptExecute(LLFILE *fp);
LLScriptExecute(U8 *buffer);
~LLScriptExecute();

View File

@ -61,7 +61,7 @@ char* LSCRIPTRunTimeFaultStrings[LSRF_EOF] = /*Flawfinder: ignore*/
//static
S64 LLScriptExecute::sGlobalInstructionCount = 0;
LLScriptExecute::LLScriptExecute(FILE *fp)
LLScriptExecute::LLScriptExecute(LLFILE *fp)
{
U8 sizearray[4];
S32 filesize;
@ -3725,7 +3725,7 @@ void lscript_run(char *filename, BOOL b_debug)
BOOL b_state;
LLScriptExecute *execute = NULL;
FILE* file = LLFile::fopen(filename, "r");
LLFILE* file = LLFile::fopen(filename, "r");
if (file)
{
execute = new LLScriptExecute(file);
@ -3734,7 +3734,7 @@ void lscript_run(char *filename, BOOL b_debug)
file = LLFile::fopen(filename, "r");
if (file)
{
FILE* fp = LLFile::fopen("lscript.parse", "w"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen("lscript.parse", "w"); /*Flawfinder: ignore*/
LLScriptLSOParse *parse = new LLScriptLSOParse(file);
parse->printData(fp);
delete parse;

View File

@ -35,7 +35,7 @@
#include "lscript_library.h"
#include "lscript_alloc.h"
LLScriptLSOParse::LLScriptLSOParse(FILE *fp)
LLScriptLSOParse::LLScriptLSOParse(LLFILE *fp)
{
U8 sizearray[4];
S32 filesize;
@ -68,7 +68,7 @@ LLScriptLSOParse::~LLScriptLSOParse()
delete [] mRawData;
}
void LLScriptLSOParse::printData(FILE *fp)
void LLScriptLSOParse::printData(LLFILE *fp)
{
@ -86,14 +86,14 @@ void LLScriptLSOParse::printData(FILE *fp)
printHeap(fp);
}
void LLScriptLSOParse::printNameDesc(FILE *fp)
void LLScriptLSOParse::printNameDesc(LLFILE *fp)
{
fprintf(fp, "=============================\n\n");
}
S32 gMajorVersion = 0;
void LLScriptLSOParse::printRegisters(FILE *fp)
void LLScriptLSOParse::printRegisters(LLFILE *fp)
{
// print out registers first
S32 i;
@ -125,7 +125,7 @@ void LLScriptLSOParse::printRegisters(FILE *fp)
fprintf(fp, "=============================\n\n");
}
void LLScriptLSOParse::printGlobals(FILE *fp)
void LLScriptLSOParse::printGlobals(LLFILE *fp)
{
// print out registers first
S32 offset, varoffset;
@ -195,7 +195,7 @@ void LLScriptLSOParse::printGlobals(FILE *fp)
fprintf(fp, "=============================\n\n");
}
void LLScriptLSOParse::printGlobalFunctions(FILE *fp)
void LLScriptLSOParse::printGlobalFunctions(LLFILE *fp)
{
// print out registers first
S32 i, offset;
@ -284,7 +284,7 @@ void LLScriptLSOParse::printGlobalFunctions(FILE *fp)
fprintf(fp, "=============================\n\n");
}
void LLScriptLSOParse::printStates(FILE *fp)
void LLScriptLSOParse::printStates(LLFILE *fp)
{
// print out registers first
S32 i, offset;
@ -637,7 +637,7 @@ void LLScriptLSOParse::printStates(FILE *fp)
fprintf(fp, "=============================\n\n");
}
void LLScriptLSOParse::printHeap(FILE *fp)
void LLScriptLSOParse::printHeap(LLFILE *fp)
{
// print out registers first
@ -652,7 +652,7 @@ void LLScriptLSOParse::printHeap(FILE *fp)
fprintf(fp, "=============================\n\n");
}
void lso_print_tabs(FILE *fp, S32 tabs)
void lso_print_tabs(LLFILE *fp, S32 tabs)
{
S32 i;
for (i = 0; i < tabs; i++)
@ -661,13 +661,13 @@ void lso_print_tabs(FILE *fp, S32 tabs)
}
}
void LLScriptLSOParse::printOpCodes(FILE *fp, S32 &offset, S32 tabs)
void LLScriptLSOParse::printOpCodes(LLFILE *fp, S32 &offset, S32 tabs)
{
U8 opcode = *(mRawData + offset);
mPrintOpCodes[opcode](fp, mRawData, offset, tabs);
}
void LLScriptLSOParse::printOpCodeRange(FILE *fp, S32 start, S32 end, S32 tabs)
void LLScriptLSOParse::printOpCodeRange(LLFILE *fp, S32 start, S32 end, S32 tabs)
{
while (start < end)
{
@ -791,43 +791,43 @@ void LLScriptLSOParse::initOpCodePrinting()
mPrintOpCodes[LSCRIPTOpCodes[LOPC_CALLLIB_TWO_BYTE]] = print_calllib_two_byte;
}
void print_noop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_noop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tNOOP\n", offset++);
}
void print_pop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOP\n", offset++);
}
void print_pops(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pops(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPS\n", offset++);
}
void print_popl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPL\n", offset++);
}
void print_popv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPV\n", offset++);
}
void print_popq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPQ\n", offset++);
}
void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_poparg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -836,61 +836,61 @@ void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_popip(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popip(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPIP\n", offset++);
}
void print_popbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPBP\n", offset++);
}
void print_popsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPSP\n", offset++);
}
void print_popslr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_popslr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPOPSLR\n", offset++);
}
void print_dup(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_dup(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tDUP\n", offset++);
}
void print_dups(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_dups(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tDUPS\n", offset++);
}
void print_dupl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_dupl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tDUPL\n", offset++);
}
void print_dupv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_dupv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tDUPV\n", offset++);
}
void print_dupq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_dupq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tDUPQ\n", offset++);
}
void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_store(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -899,7 +899,7 @@ void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_stores(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -908,7 +908,7 @@ void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storel(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -917,7 +917,7 @@ void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -926,7 +926,7 @@ void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storeq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -935,7 +935,7 @@ void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storeg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -944,7 +944,7 @@ void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storegs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -953,7 +953,7 @@ void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storegl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -962,7 +962,7 @@ void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storegv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -971,7 +971,7 @@ void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_storegq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -980,7 +980,7 @@ void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -989,7 +989,7 @@ void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -998,7 +998,7 @@ void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadlp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1007,7 +1007,7 @@ void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1016,7 +1016,7 @@ void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1025,7 +1025,7 @@ void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadgp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1034,7 +1034,7 @@ void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadgsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1043,7 +1043,7 @@ void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadglp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1052,7 +1052,7 @@ void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadgvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1061,7 +1061,7 @@ void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_loadgqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1070,7 +1070,7 @@ void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg + get_register(buffer, LREG_GVR));
}
void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_push(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1079,7 +1079,7 @@ void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1088,7 +1088,7 @@ void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1097,7 +1097,7 @@ void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1106,7 +1106,7 @@ void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1115,7 +1115,7 @@ void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1124,7 +1124,7 @@ void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR));
}
void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushgs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1133,7 +1133,7 @@ void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR));
}
void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushgl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1142,7 +1142,7 @@ void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR));
}
void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushgv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1151,7 +1151,7 @@ void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR));
}
void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushgq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1160,25 +1160,25 @@ void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "0x%X\n", arg + get_register(buffer, LREG_GVR));
}
void print_puship(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_puship(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHIP\n", offset++);
}
void print_pushbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHBP\n", offset++);
}
void print_pushsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHSP\n", offset++);
}
void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargb(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 arg;
lso_print_tabs(fp, tabs);
@ -1187,7 +1187,7 @@ void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", (U32)arg);
}
void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargi(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1196,7 +1196,7 @@ void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargf(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
F32 arg;
lso_print_tabs(fp, tabs);
@ -1205,7 +1205,7 @@ void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%f\n", arg);
}
void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
char arg[1024]; /*Flawfinder: ignore*/
lso_print_tabs(fp, tabs);
@ -1214,7 +1214,7 @@ void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s\n", arg);
}
void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
LLVector3 arg;
lso_print_tabs(fp, tabs);
@ -1223,7 +1223,7 @@ void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "< %f, %f, %f >\n", arg.mV[VX], arg.mV[VY], arg.mV[VZ]);
}
void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushargq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
LLQuaternion arg;
lso_print_tabs(fp, tabs);
@ -1232,25 +1232,25 @@ void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "< %f, %f, %f, %f >\n", arg.mQ[VX], arg.mQ[VY], arg.mQ[VZ], arg.mQ[VS]);
}
void print_pushe(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushe(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHE\n", offset++);
}
void print_pushev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pushev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHEV\n", offset++);
}
void print_pusheq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pusheq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPUSHEQ\n", offset++);
}
void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_pusharge(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1260,7 +1260,7 @@ void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
}
void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_add(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1273,7 +1273,7 @@ void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_sub(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1286,7 +1286,7 @@ void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_mul(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1299,7 +1299,7 @@ void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_div(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1312,7 +1312,7 @@ void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_mod(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1325,7 +1325,7 @@ void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_eq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1338,7 +1338,7 @@ void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_neq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1351,7 +1351,7 @@ void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_leq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1364,7 +1364,7 @@ void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_geq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1377,7 +1377,7 @@ void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_less(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1390,7 +1390,7 @@ void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_greater(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1404,50 +1404,50 @@ void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
}
void print_bitand(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_bitand(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBITAND\n", offset++);
}
void print_bitor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_bitor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBITOR\n", offset++);
}
void print_bitxor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_bitxor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBITXOR\n", offset++);
}
void print_booland(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_booland(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBOOLAND\n", offset++);
}
void print_boolor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_boolor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBOOLOR\n", offset++);
}
void print_shl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_shl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tSHL\n", offset++);
}
void print_shr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_shr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tSHR\n", offset++);
}
void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_neg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 type;
lso_print_tabs(fp, tabs);
@ -1456,19 +1456,19 @@ void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s\n", LSCRIPTTypeNames[type]);
}
void print_bitnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_bitnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBITNOT\n", offset++);
}
void print_boolnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_boolnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tBOOLNOT\n", offset++);
}
void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_jump(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1477,7 +1477,7 @@ void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_jumpif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
U8 type;
@ -1488,7 +1488,7 @@ void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg);
}
void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_jumpnif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
U8 type;
@ -1499,7 +1499,7 @@ void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %d\n", LSCRIPTTypeNames[type], arg);
}
void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_state(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1508,7 +1508,7 @@ void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_call(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1517,13 +1517,13 @@ void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_return(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_return(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tRETURN\n", offset++);
}
void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_cast(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 types;
U8 type1;
@ -1536,7 +1536,7 @@ void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s, %s\n", LSCRIPTTypeNames[type1], LSCRIPTTypeNames[type2]);
}
void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_stacktos(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1545,7 +1545,7 @@ void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_stacktol(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
S32 arg;
lso_print_tabs(fp, tabs);
@ -1554,7 +1554,7 @@ void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%d\n", arg);
}
void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_print(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
lso_print_tabs(fp, tabs);
fprintf(fp, "[0x%X]\tPRINT ", offset++);
@ -1562,7 +1562,7 @@ void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
fprintf(fp, "%s\n", LSCRIPTTypeNames[type]);
}
void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_calllib(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U8 arg;
lso_print_tabs(fp, tabs);
@ -1572,7 +1572,7 @@ void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
}
void print_calllib_two_byte(FILE *fp, U8 *buffer, S32 &offset, S32 tabs)
void print_calllib_two_byte(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)
{
U16 arg;
lso_print_tabs(fp, tabs);

View File

@ -36,135 +36,135 @@
#include "linked_lists.h"
// list of op code print functions
void print_noop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pop(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pops(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_poparg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popip(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popslr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_noop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pop(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pops(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_poparg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popip(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_popslr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dup(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dups(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dup(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dups(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_dupq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_store(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stores(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storel(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storeq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storeg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadlp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadglp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgvp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgqp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_store(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stores(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storel(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storeq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storeg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_storegq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadlp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadglp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgvp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_loadgqp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_push(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_puship(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushbp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushsp(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargb(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargi(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargf(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargs(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargv(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushe(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushev(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pusheq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pusharge(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_push(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushgq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_puship(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushbp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushsp(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargb(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargi(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargf(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargs(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargv(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushargq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushe(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pushev(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pusheq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_pusharge(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_add(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_sub(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_mul(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_div(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_mod(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_add(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_sub(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_mul(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_div(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_mod(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_eq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_neq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_leq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_geq(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_less(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_greater(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_eq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_neq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_leq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_geq(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_less(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_greater(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitand(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitxor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_booland(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_boolor(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitand(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitxor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_booland(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_boolor(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_shl(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_shr(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_shl(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_shr(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_neg(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_boolnot(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_neg(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_bitnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_boolnot(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jump(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jumpif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jumpnif(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jump(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jumpif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_jumpnif(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_state(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_call(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_return(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_cast(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stacktos(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stacktol(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_state(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_call(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_return(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_cast(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stacktos(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_stacktol(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_print(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_print(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_calllib(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_calllib_two_byte(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_calllib(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void print_calllib_two_byte(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
class LLScriptLSOParse
{
public:
LLScriptLSOParse(FILE *fp);
LLScriptLSOParse(LLFILE *fp);
LLScriptLSOParse(U8 *buffer);
~LLScriptLSOParse();
void initOpCodePrinting();
void printData(FILE *fp);
void printNameDesc(FILE *fp);
void printRegisters(FILE *fp);
void printGlobals(FILE *fp);
void printGlobalFunctions(FILE *fp);
void printStates(FILE *fp);
void printHeap(FILE *fp);
void printOpCodes(FILE *fp, S32 &offset, S32 tabs);
void printOpCodeRange(FILE *fp, S32 start, S32 end, S32 tabs);
void printData(LLFILE *fp);
void printNameDesc(LLFILE *fp);
void printRegisters(LLFILE *fp);
void printGlobals(LLFILE *fp);
void printGlobalFunctions(LLFILE *fp);
void printStates(LLFILE *fp);
void printHeap(LLFILE *fp);
void printOpCodes(LLFILE *fp, S32 &offset, S32 tabs);
void printOpCodeRange(LLFILE *fp, S32 start, S32 end, S32 tabs);
U8 *mRawData;
void (*mPrintOpCodes[0x100])(FILE *fp, U8 *buffer, S32 &offset, S32 tabs);
void (*mPrintOpCodes[0x100])(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs);
};
void lso_print_tabs(FILE *fp, S32 tabs);
void lso_print_tabs(LLFILE *fp, S32 tabs);
#endif

View File

@ -851,7 +851,7 @@ void lsa_print_heap(U8 *buffer)
printf("==========\n");
}
void lsa_fprint_heap(U8 *buffer, FILE *fp)
void lsa_fprint_heap(U8 *buffer, LLFILE *fp)
{
S32 offset = get_register(buffer, LREG_HR);
S32 readoffset;

View File

@ -53,7 +53,7 @@ const S32 SETTINGS_FILE_VERSION = 101;
// Windows Message Handlers
BOOL gFirstDialog = TRUE; // Are we currently handling the Send/Don't Send dialog?
FILE *gDebugFile = NULL;
LLFILE *gDebugFile = NULL;
WindowRef gWindow = NULL;
EventHandlerRef gEventHandler = NULL;

View File

@ -727,7 +727,7 @@ void *updatethreadproc(void*)
char temp[PATH_MAX] = ""; /* Flawfinder: ignore */
// *NOTE: This buffer length is used in a scanf() below.
char deviceNode[1024] = ""; /* Flawfinder: ignore */
FILE *downloadFile = NULL;
LLFILE *downloadFile = NULL;
OSStatus err;
ProcessSerialNumber psn;
char target[PATH_MAX] = ""; /* Flawfinder: ignore */
@ -942,7 +942,7 @@ void *updatethreadproc(void*)
snprintf(temp, sizeof(temp), "SecondLife.dmg");
downloadFile = fopen(temp, "wb"); /* Flawfinder: ignore */
downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */
if(downloadFile == NULL)
{
throw 0;

View File

@ -5334,6 +5334,28 @@
<key>Value</key>
<integer>0</integer>
</map>
<key>RenderDebugGL</key>
<map>
<key>Comment</key>
<string>Enable strict GL debugging.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>RenderDebugPipeline</key>
<map>
<key>Comment</key>
<string>Enable strict pipeline debugging.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>RenderDebugTextureBind</key>
<map>
<key>Comment</key>
@ -5826,17 +5848,6 @@
<key>Value</key>
<integer>0</integer>
</map>
<key>RenderUseCleverUI</key>
<map>
<key>Comment</key>
<string>Turns on the \"clever\" UI rendering optimization. It's a known performace gain on apple.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>RenderUseFarClip</key>
<map>
<key>Comment</key>

View File

@ -222,6 +222,7 @@ extern OSStatus DisplayReleaseNotes(void);
extern BOOL gRandomizeFramerate;
extern BOOL gPeriodicSlowFrame;
extern BOOL gDebugGL;
////////////////////////////////////////////////////////////
// All from the last globals push...
@ -421,7 +422,8 @@ static void settings_modify()
LLVOAvatar::sUseImpostors = gSavedSettings.getBOOL("RenderUseImpostors");
LLVOSurfacePatch::sLODFactor = gSavedSettings.getF32("RenderTerrainLODFactor");
LLVOSurfacePatch::sLODFactor *= LLVOSurfacePatch::sLODFactor; //sqaure lod factor to get exponential range of [1,4]
gGL.setClever(gSavedSettings.getBOOL("RenderUseCleverUI"));
gDebugGL = gSavedSettings.getBOOL("RenderDebugGL");
gDebugPipeline = gSavedSettings.getBOOL("RenderDebugPipeline");
#if LL_VECTORIZE
if (gSysCPU.hasAltivec())
@ -2977,7 +2979,7 @@ void LLAppViewer::loadNameCache()
// Try to load from the legacy format. This should go away after a
// while. Phoenix 2008-01-30
FILE* name_cache_fp = LLFile::fopen(name_cache.c_str(), "r"); // Flawfinder: ignore
LLFILE* name_cache_fp = LLFile::fopen(name_cache.c_str(), "r"); // Flawfinder: ignore
if (name_cache_fp)
{
gCacheName->importFile(name_cache_fp);

View File

@ -131,7 +131,7 @@ static inline BOOL do_basic_glibc_backtrace()
std::string strace_filename = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"stack_trace.log");
llinfos << "Opening stack trace file " << strace_filename << llendl;
FILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w");
LLFILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w");
if (!StraceFile)
{
llinfos << "Opening stack trace file " << strace_filename << " failed. Using stderr." << llendl;
@ -162,7 +162,7 @@ static inline BOOL do_basic_glibc_backtrace()
std::string strace_filename = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"stack_trace.log");
llinfos << "Opening stack trace file " << strace_filename << llendl;
FILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w"); // Flawfinder: ignore
LLFILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w"); // Flawfinder: ignore
if (!StraceFile)
{
llinfos << "Opening stack trace file " << strace_filename << " failed. Using stderr." << llendl;
@ -200,7 +200,7 @@ static inline BOOL do_elfio_glibc_backtrace()
std::string strace_filename = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"stack_trace.log");
llinfos << "Opening stack trace file " << strace_filename << llendl;
FILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w"); // Flawfinder: ignore
LLFILE* StraceFile = LLFile::fopen(strace_filename.c_str(), "w"); // Flawfinder: ignore
if (!StraceFile)
{
llinfos << "Opening stack trace file " << strace_filename << " failed. Using stderr." << llendl;

View File

@ -81,7 +81,7 @@ void LLBox::renderface(S32 which_face)
{7, 4, 0, 3}
};
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
//gGL.normal3fv(&normals[which_face][0]);
gGL.texCoord2f(1,0);
gGL.vertex3fv(&mVertex[ faces[which_face][0] ][0]);

View File

@ -386,7 +386,7 @@ void LLFloaterCompileQueue::scriptArrived(LLVFS *vfs, const LLUUID& asset_id,
asset_id.toString(uuid_str);
snprintf(filename, sizeof(filename), "%s.%s",gDirUtilp->getExpandedFilename(LL_PATH_CACHE,uuid_str).c_str(),LLAssetType::lookup(type)); /* Flawfinder: ignore */
FILE *fp = LLFile::fopen(filename, "wb"); /*Flawfinder: ignore*/
LLFILE *fp = LLFile::fopen(filename, "wb"); /*Flawfinder: ignore*/
if (fp)
{
const S32 buf_size = 65536;

View File

@ -508,7 +508,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
LLVector3 pos = avatarp->getPositionAgent();
gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV);
gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV);
@ -520,7 +520,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
pos = avatarp->mDrawable->getPositionAgent();
gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV);
gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV);
@ -532,7 +532,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
pos = avatarp->mRoot.getWorldPosition();
gGL.color4f(1.0f, 1.0f, 1.0f, 0.8f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV);
gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV);
@ -544,7 +544,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
pos = avatarp->mPelvisp->getWorldPosition();
gGL.color4f(0.0f, 0.0f, 1.0f, 0.8f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV);
gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV);

View File

@ -100,7 +100,7 @@ void LLStandardBumpmap::restoreGL()
gStandardBumpmapList[LLStandardBumpmap::sStandardBumpmapCount++] = LLStandardBumpmap("Darkness"); // BE_DARKNESS
std::string file_name = gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "std_bump.ini" );
FILE* file = LLFile::fopen( file_name.c_str(), "rt" ); /*Flawfinder: ignore*/
LLFILE* file = LLFile::fopen( file_name.c_str(), "rt" ); /*Flawfinder: ignore*/
if( !file )
{
llwarns << "Could not open std_bump <" << file_name << ">" << llendl;

View File

@ -223,17 +223,18 @@ BOOL LLDynamicTexture::updateAllInstances()
glClear(GL_DEPTH_BUFFER_BIT);
gDisplaySwapBuffers = FALSE;
gGL.color4f(1,1,1,1);
dynamicTexture->preRender(); // Must be called outside of startRender()
LLVertexBuffer::startRender();
if (dynamicTexture->render())
{
result = TRUE;
sNumRenders++;
}
LLVertexBuffer::stopRender();
gGL.flush();
LLVertexBuffer::unbind();
dynamicTexture->postRender(result);
}
}

View File

@ -493,7 +493,7 @@ void LLFace::renderSelectedUV(const S32 offset, const S32 count)
glPolygonOffset(factor, bias);
if (sSafeRenderSelect)
{
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
if (count)
{
for (S32 i = offset; i < offset + count; i++)

View File

@ -978,7 +978,7 @@ void LLFastTimerView::draw()
gGL.color4f(0.5f,0.5f,0.5f,1);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex2i((S32)bar, graph_rect.mBottom);
gGL.vertex2i((S32)bar, graph_rect.mTop);
gGL.end();
@ -1014,7 +1014,7 @@ void LLFastTimerView::draw()
}
gGL.color4f(col[0], col[1], col[2], alpha);
gGL.begin(GL_LINE_STRIP);
gGL.begin(LLVertexBuffer::LINE_STRIP);
for (U32 j = 0; j < LLFastTimer::FTM_HISTORY_NUM; j++)
{
U64 ticks = ticks_sum[j+1][idx];

View File

@ -76,7 +76,7 @@ public:
void setFeatureAvailable(const char *name, const BOOL available);
void setRecommendedLevel(const char *name, const F32 level);
BOOL loadFeatureList(FILE *fp);
BOOL loadFeatureList(LLFILE *fp);
BOOL maskList(LLFeatureList &mask);

View File

@ -382,7 +382,7 @@ void LLFloaterAnimPreview::draw()
gGL.color3f(1.f, 1.f, 1.f);
mAnimPreview->bindTexture();
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
{
gGL.texCoord2f(0.f, 1.f);
gGL.vertex2i(PREVIEW_HPAD, PREVIEW_TEXTURE_HEIGHT);
@ -1068,8 +1068,6 @@ BOOL LLPreviewAnimation::render()
{
mNeedsUpdate = FALSE;
LLVOAvatar* avatarp = mDummyAvatar;
gGL.start();
glMatrixMode(GL_PROJECTION);
gGL.pushMatrix();
@ -1092,7 +1090,7 @@ BOOL LLPreviewAnimation::render()
glMatrixMode(GL_MODELVIEW);
gGL.popMatrix();
gGL.stop();
gGL.flush();
LLVector3 target_pos = avatarp->mRoot.getWorldPosition();
@ -1124,9 +1122,9 @@ BOOL LLPreviewAnimation::render()
avatarp->updateMotion();
}
LLVertexBuffer::stopRender();
LLVertexBuffer::unbind();
avatarp->updateLOD();
LLVertexBuffer::startRender();
avatarp->mRoot.updateWorldMatrixChildren();
@ -1140,6 +1138,7 @@ BOOL LLPreviewAnimation::render()
avatarPoolp->renderAvatars(avatarp); // renders only one avatar
}
gGL.color4f(1,1,1,1);
return TRUE;
}

View File

@ -545,7 +545,7 @@ void LLFloaterColorPicker::draw()
{
LLGLSNoTexture no_texture;
LLGLEnable(GL_CULL_FACE);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.color4f(0.f, 0.f, 0.f, CONTEXT_CONE_IN_ALPHA * mContextConeOpacity);
gGL.vertex2i(swatch_rect.mLeft, swatch_rect.mTop);

View File

@ -260,7 +260,7 @@ void LLFloaterImagePreview::draw()
}
gGL.color3f(1.f, 1.f, 1.f);
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
{
gGL.texCoord2f(mPreviewImageRect.mLeft, mPreviewImageRect.mTop);
gGL.vertex2i(PREVIEW_HPAD, PREVIEW_TEXTURE_HEIGHT);
@ -288,7 +288,7 @@ void LLFloaterImagePreview::draw()
else
mAvatarPreview->bindTexture();
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
{
gGL.texCoord2f(0.f, 1.f);
gGL.vertex2i(PREVIEW_HPAD, PREVIEW_TEXTURE_HEIGHT);
@ -667,8 +667,6 @@ void LLImagePreviewAvatar::setPreviewTarget(const char* joint_name, const char*
//-----------------------------------------------------------------------------
BOOL LLImagePreviewAvatar::render()
{
gGL.start();
mNeedsUpdate = FALSE;
LLVOAvatar* avatarp = mDummyAvatar;
@ -692,7 +690,7 @@ BOOL LLImagePreviewAvatar::render()
glMatrixMode(GL_MODELVIEW);
gGL.popMatrix();
gGL.stop();
gGL.flush();
LLVector3 target_pos = mTargetJoint->getWorldPosition();
LLQuaternion camera_rot = LLQuaternion(mCameraPitch, LLVector3::y_axis) *
@ -710,9 +708,9 @@ BOOL LLImagePreviewAvatar::render()
LLViewerCamera::getInstance()->setView(LLViewerCamera::getInstance()->getDefaultFOV() / mCameraZoom);
LLViewerCamera::getInstance()->setPerspective(FALSE, mOrigin.mX, mOrigin.mY, mWidth, mHeight, FALSE);
LLVertexBuffer::stopRender();
LLVertexBuffer::unbind();
avatarp->updateLOD();
LLVertexBuffer::startRender();
if (avatarp->mDrawable.notNull())
{
@ -725,6 +723,7 @@ BOOL LLImagePreviewAvatar::render()
avatarPoolp->renderAvatars(avatarp); // renders only one avatar
}
gGL.color4f(1,1,1,1);
return TRUE;
}
@ -823,8 +822,6 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance)
//-----------------------------------------------------------------------------
BOOL LLImagePreviewSculpted::render()
{
gGL.start();
mNeedsUpdate = FALSE;
LLGLSUIDefault def;
@ -919,8 +916,6 @@ BOOL LLImagePreviewSculpted::render()
delete [] normals;
}
gGL.stop();
return TRUE;
}

View File

@ -415,7 +415,7 @@ void LLSnapshotLivePreview::draw()
glPushMatrix();
{
glTranslatef((F32)rect.mLeft, (F32)rect.mBottom, 0.f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2f(uv_width, uv_height);
gGL.vertex2i(rect.getWidth(), rect.getHeight() );
@ -478,7 +478,7 @@ void LLSnapshotLivePreview::draw()
S32 y2 = gViewerWindow->getWindowHeight();
LLGLSNoTexture no_texture;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.color4f(1.f, 1.f, 1.f, 0.f);
gGL.vertex2i(x1, y1);
@ -509,7 +509,7 @@ void LLSnapshotLivePreview::draw()
LLGLSNoTexture no_texture;
gGL.color4f(1.f, 1.f, 1.f, 1.f);
LLRect outline_rect = mImageRect[mCurImageIndex];
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.vertex2i(outline_rect.mLeft - BORDER_WIDTH, outline_rect.mTop + BORDER_WIDTH);
gGL.vertex2i(outline_rect.mRight + BORDER_WIDTH, outline_rect.mTop + BORDER_WIDTH);
@ -555,7 +555,7 @@ void LLSnapshotLivePreview::draw()
LLRect& rect = mImageRect[old_image_index];
glTranslatef((F32)rect.mLeft, (F32)rect.mBottom - llround(getRect().getHeight() * 2.f * (fall_interp * fall_interp)), 0.f);
glRotatef(-45.f * fall_interp, 0.f, 0.f, 1.f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2f(uv_width, uv_height);
gGL.vertex2i(rect.getWidth(), rect.getHeight() );

View File

@ -358,7 +358,7 @@ void LLCompass::draw()
mBkgndTexture->bind();
gGL.color4f(1.0f, 1.0f, 1.0f, 1.0f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.texCoord2f(1.f, 1.f);
gGL.vertex2i(width, height);
@ -384,7 +384,7 @@ void LLCompass::draw()
mTexture->bind();
gGL.color4f(1.0f, 1.0f, 1.0f, 1.0f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.texCoord2f(1.f, 1.f);
gGL.vertex2i(width, height);
@ -428,7 +428,7 @@ void LLHorizontalCompass::draw()
mTexture->bind();
gGL.color4f(1.0f, 1.0f, 1.0f, 1.0f );
gGL.begin( GL_QUADS );
gGL.begin( LLVertexBuffer::QUADS );
gGL.texCoord2f(right, 1.f);
gGL.vertex2i(width, height);
@ -479,11 +479,11 @@ void LLWind::renderVectors()
gGL.pushMatrix();
gGL.translatef((F32)i * region_width_meters/mSize, (F32)j * region_width_meters/mSize, 0.0);
gGL.color3f(0,1,0);
gGL.begin(GL_POINTS);
gGL.begin(LLVertexBuffer::POINTS);
gGL.vertex3f(0,0,0);
gGL.end();
gGL.color3f(1,0,0);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f(x * 0.1f, y * 0.1f ,0.f);
gGL.vertex3f(x, y, 0.f);
gGL.end();
@ -532,7 +532,7 @@ void LLViewerParcelMgr::renderRect(const LLVector3d &west_south_bottom_global,
gGL.color4f(1.f, 1.f, 0.f, 1.f);
// Cheat and give this the same pick-name as land
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f(west, north, nw_bottom);
gGL.vertex3f(west, north, nw_top);
@ -549,7 +549,7 @@ void LLViewerParcelMgr::renderRect(const LLVector3d &west_south_bottom_global,
gGL.end();
gGL.color4f(1.f, 1.f, 0.f, 0.2f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.vertex3f(west, north, nw_bottom);
gGL.vertex3f(west, north, nw_top);
@ -616,7 +616,7 @@ void LLViewerParcelMgr::renderParcel(LLParcel* parcel )
gGL.color4f(0.f, 1.f, 1.f, 1.f);
// Cheat and give this the same pick-name as land
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f(west, north, nw_bottom);
gGL.vertex3f(west, north, nw_top);
@ -633,7 +633,7 @@ void LLViewerParcelMgr::renderParcel(LLParcel* parcel )
gGL.end();
gGL.color4f(0.f, 1.f, 1.f, 0.2f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.vertex3f(west, north, nw_bottom);
gGL.vertex3f(west, north, nw_top);
@ -786,7 +786,7 @@ void LLViewerParcelMgr::renderHighlightSegments(const U8* segments, LLViewerRegi
if (!has_segments)
{
has_segments = true;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
}
renderOneSegment(x1, y1, x2, y2, PARCEL_POST_HEIGHT, SOUTH_MASK, regionp);
}
@ -802,7 +802,7 @@ void LLViewerParcelMgr::renderHighlightSegments(const U8* segments, LLViewerRegi
if (!has_segments)
{
has_segments = true;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
}
renderOneSegment(x1, y1, x2, y2, PARCEL_POST_HEIGHT, WEST_MASK, regionp);
}
@ -857,7 +857,7 @@ void LLViewerParcelMgr::renderCollisionSegments(U8* segments, BOOL use_pass, LLV
LLViewerImage::bindTexture(mBlockedImage);
}
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
for (y = 0; y < STRIDE; y++)
{
@ -1014,7 +1014,7 @@ void LLViewerObjectList::renderObjectBeacons()
LLGLSNoTexture gls_ui_no_texture;
S32 last_line_width = -1;
// gGL.begin(GL_LINES); // Always happens in (line_width != last_line_width)
// gGL.begin(LLVertexBuffer::LINES); // Always happens in (line_width != last_line_width)
for (S32 i = 0; i < mDebugBeacons.count(); i++)
{
@ -1031,7 +1031,7 @@ void LLViewerObjectList::renderObjectBeacons()
}
glLineWidth( (F32)line_width );
last_line_width = line_width;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
}
const LLVector3 &thisline = debug_beacon.mPositionAgent;
@ -1053,7 +1053,7 @@ void LLViewerObjectList::renderObjectBeacons()
LLGLDepthTest gls_depth(GL_TRUE);
S32 last_line_width = -1;
// gGL.begin(GL_LINES); // Always happens in (line_width != last_line_width)
// gGL.begin(LLVertexBuffer::LINES); // Always happens in (line_width != last_line_width)
for (S32 i = 0; i < mDebugBeacons.count(); i++)
{
@ -1069,7 +1069,7 @@ void LLViewerObjectList::renderObjectBeacons()
}
glLineWidth( (F32)line_width );
last_line_width = line_width;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
}
const LLVector3 &thisline = debug_beacon.mPositionAgent;

View File

@ -504,7 +504,7 @@ void LLHUDEffectLookAt::render()
glPushMatrix();
glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
glScalef(0.3f, 0.3f, 0.3f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
LLColor3 color = (*mAttentions)[mTargetType].mColor;
gGL.color3f(color.mV[VRED], color.mV[VGREEN], color.mV[VBLUE]);

View File

@ -334,7 +334,7 @@ void LLHUDEffectPointAt::render()
glPushMatrix();
glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
glScalef(0.3f, 0.3f, 0.3f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.color3f(1.f, 0.f, 0.f);
gGL.vertex3f(-1.f, 0.f, 0.f);

View File

@ -166,7 +166,7 @@ void LLHUDIcon::renderIcon(BOOL for_select)
LLViewerImage::bindTexture(mImagep);
}
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2f(0.f, 1.f);
gGL.vertex3fv(upper_left.mV);

View File

@ -281,6 +281,9 @@ void LLHUDObject::renderAll()
hud_objp->render();
}
}
// cleanup any leftover client state, etc
LLVertexBuffer::unbind();
}
// static

View File

@ -317,7 +317,7 @@ void LLHUDText::renderText(BOOL for_select)
LLUI::translate(box_center_offset.mV[VX], box_center_offset.mV[VY], box_center_offset.mV[VZ]);
gGL.color4fv(bg_color.mV);
LLUI::setLineWidth(2.0);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
if (outside_width)
{

View File

@ -1810,7 +1810,7 @@ bool LLInventoryModel::loadSkeleton(
const S32 NO_VERSION = LLViewerInventoryCategory::VERSION_UNKNOWN;
std::string gzip_filename(inventory_filename);
gzip_filename.append(".gz");
FILE* fp = LLFile::fopen(gzip_filename.c_str(), "rb"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen(gzip_filename.c_str(), "rb"); /*Flawfinder: ignore*/
bool remove_inventory_file = false;
if(fp)
{
@ -2344,7 +2344,7 @@ bool LLInventoryModel::loadFromFile(
return false;
}
llinfos << "LLInventoryModel::loadFromFile(" << filename << ")" << llendl;
FILE* file = LLFile::fopen(filename, "rb"); /*Flawfinder: ignore*/
LLFILE* file = LLFile::fopen(filename, "rb"); /*Flawfinder: ignore*/
if(!file)
{
llinfos << "unable to load inventory from: " << filename << llendl;
@ -2417,7 +2417,7 @@ bool LLInventoryModel::saveToFile(
return false;
}
llinfos << "LLInventoryModel::saveToFile(" << filename << ")" << llendl;
FILE* file = LLFile::fopen(filename, "wb"); /*Flawfinder: ignore*/
LLFILE* file = LLFile::fopen(filename, "wb"); /*Flawfinder: ignore*/
if(!file)
{
llwarns << "unable to save inventory to: " << filename << llendl;
@ -3692,7 +3692,7 @@ BOOL decompress_file(const char* src_filename, const char* dst_filename)
BOOL rv = FALSE;
gzFile src = NULL;
U8* buffer = NULL;
FILE* dst = NULL;
LLFILE* dst = NULL;
S32 bytes = 0;
const S32 DECOMPRESS_BUFFER_SIZE = 32000;

View File

@ -655,7 +655,7 @@ void LLJoystickCameraRotate::drawRotatedImage( const LLImageGL* image, S32 rotat
gGL.color4fv(UI_VERTEX_COLOR.mV);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2fv( uv[ (rotations + 0) % 4]);
gGL.vertex2i(width, height );

View File

@ -76,7 +76,7 @@ void LLLogChat::saveHistory(LLString filename, LLString line)
return;
}
FILE* fp = LLFile::fopen(LLLogChat::makeLogFileName(filename).c_str(), "a"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen(LLLogChat::makeLogFileName(filename).c_str(), "a"); /*Flawfinder: ignore*/
if (!fp)
{
llinfos << "Couldn't open chat history log!" << llendl;
@ -96,7 +96,7 @@ void LLLogChat::loadHistory(LLString filename , void (*callback)(ELogLineType,LL
llerrs << "Filename is Empty!" << llendl;
}
FILE* fptr = LLFile::fopen(makeLogFileName(filename).c_str(), "r"); /*Flawfinder: ignore*/
LLFILE* fptr = LLFile::fopen(makeLogFileName(filename).c_str(), "r"); /*Flawfinder: ignore*/
if (!fptr)
{
//LLUIString message = LLFloaterChat::getInstance()->getUIString("IM_logging_string");

View File

@ -391,7 +391,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
if (draw_x)
{
gGL.color4f(1.f, 0.f, 0.f, LINE_ALPHA);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f( -region_size, 0.f, 0.f );
gGL.vertex3f( region_size, 0.f, 0.f );
gGL.end();
@ -400,7 +400,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
if (draw_y)
{
gGL.color4f(0.f, 1.f, 0.f, LINE_ALPHA);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f( 0.f, -region_size, 0.f );
gGL.vertex3f( 0.f, region_size, 0.f );
gGL.end();
@ -409,7 +409,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
if (draw_z)
{
gGL.color4f(0.f, 0.f, 1.f, LINE_ALPHA);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.vertex3f( 0.f, 0.f, -region_size );
gGL.vertex3f( 0.f, 0.f, region_size );
gGL.end();

View File

@ -868,7 +868,7 @@ void LLManipRotate::renderSnapGuides()
LLVector3 outer_point;
LLVector3 text_point;
LLQuaternion rot(deg * DEG_TO_RAD, constraint_axis);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
inner_point = (projected_snap_axis * mRadiusMeters * SNAP_GUIDE_INNER_RADIUS * rot) + center;
F32 tick_length = 0.f;
@ -1046,7 +1046,7 @@ void LLManipRotate::renderSnapGuides()
object_axis = object_axis * SNAP_GUIDE_INNER_RADIUS * mRadiusMeters + center;
LLVector3 line_start = center;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv(line_start.mV);
gGL.vertex3fv(object_axis.mV);
@ -1054,7 +1054,7 @@ void LLManipRotate::renderSnapGuides()
gGL.end();
// draw snap guide arrow
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
LLVector3 arrow_dir;
LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis();
@ -1074,7 +1074,7 @@ void LLManipRotate::renderSnapGuides()
{
LLGLDepthTest gls_depth(GL_TRUE);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.vertex3fv(line_start.mV);
gGL.vertex3fv(object_axis.mV);
@ -1082,7 +1082,7 @@ void LLManipRotate::renderSnapGuides()
gGL.end();
// draw snap guide arrow
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
LLVector3 arrow_dir;
LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis();

View File

@ -600,7 +600,7 @@ void LLManipScale::renderFaces( const LLBBox& bbox )
{
gGL.color4fv( default_normal_color.mV );
LLGLDepthTest gls_depth(GL_FALSE);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
// Face 0
gGL.vertex3f(min.mV[VX], max.mV[VY], max.mV[VZ]);
@ -1534,7 +1534,7 @@ void LLManipScale::renderSnapGuides(const LLBBox& bbox)
{
LLColor4 tick_color = setupSnapGuideRenderPass(pass);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
LLVector3 line_mid = mScaleCenter + (mScaleSnapValue * mScaleDir) + (mSnapGuideDir1 * mSnapRegimeOffset);
LLVector3 line_start = line_mid - (mScaleDir * (llmin(mScaleSnapValue, mSnapGuideLength * 0.5f)));
LLVector3 line_end = line_mid + (mScaleDir * llmin(max_point_on_scale_line - mScaleSnapValue, mSnapGuideLength * 0.5f));
@ -1585,7 +1585,7 @@ void LLManipScale::renderSnapGuides(const LLBBox& bbox)
if (mInSnapRegime)
{
// draw snap guide line
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
LLVector3 snap_line_center = mScaleCenter + (mScaleSnapValue * mScaleDir);
LLVector3 snap_line_start = snap_line_center + (mSnapGuideDir1 * mSnapRegimeOffset);
@ -1599,7 +1599,7 @@ void LLManipScale::renderSnapGuides(const LLBBox& bbox)
gGL.end();
// draw snap guide arrow
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
//gGLSNoCullFaces.set();
gGL.color4f(1.f, 1.f, 1.f, grid_alpha);
@ -1634,7 +1634,7 @@ void LLManipScale::renderSnapGuides(const LLBBox& bbox)
start_tick = -(llmin(ticks_from_scale_center_1, num_ticks_per_side1));
stop_tick = llmin(max_ticks1, num_ticks_per_side1);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
// draw first row of ticks
for (S32 i = start_tick; i <= stop_tick; i++)
{

View File

@ -1253,7 +1253,7 @@ void LLManipTranslate::renderSnapGuides()
{
LLColor4 line_color = setupSnapGuideRenderPass(pass);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
LLVector3 line_start = selection_center + (mSnapOffsetMeters * mSnapOffsetAxis) + (translate_axis * (guide_size_meters * 0.5f + offset_nearest_grid_unit));
LLVector3 line_end = selection_center + (mSnapOffsetMeters * mSnapOffsetAxis) - (translate_axis * (guide_size_meters * 0.5f + offset_nearest_grid_unit));
@ -1329,7 +1329,7 @@ void LLManipTranslate::renderSnapGuides()
LLVector3 line_start = selection_center - mSnapOffsetAxis * mSnapOffsetMeters;
LLVector3 line_end = selection_center + mSnapOffsetAxis * mSnapOffsetMeters;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.color4f(line_color.mV[VX], line_color.mV[VY], line_color.mV[VZ], line_color.mV[VW]);
@ -1339,7 +1339,7 @@ void LLManipTranslate::renderSnapGuides()
gGL.end();
// draw snap guide arrow
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
gGL.color4f(line_color.mV[VX], line_color.mV[VY], line_color.mV[VZ], line_color.mV[VW]);
@ -1594,7 +1594,7 @@ void LLManipTranslate::renderGrid(F32 x, F32 y, F32 size, F32 r, F32 g, F32 b, F
for (F32 xx = -size-d; xx < size+d; xx += d)
{
gGL.begin(GL_TRIANGLE_STRIP);
gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
for (F32 yy = -size-d; yy < size+d; yy += d)
{
float dx, dy, da;
@ -1640,7 +1640,7 @@ void LLManipTranslate::highlightIntersection(LLVector3 normal,
GLuint stencil_mask = 0xFFFFFFFF;
//stencil in volumes
gGL.stop();
gGL.flush();
{
glStencilMask(stencil_mask);
glClearStencil(1);
@ -1702,7 +1702,7 @@ void LLManipTranslate::highlightIntersection(LLVector3 normal,
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_FALSE);
}
gGL.start();
gGL.color4f(1,1,1,1);
gGL.pushMatrix();
@ -1907,7 +1907,7 @@ void LLManipTranslate::renderTranslationHandles()
color1.setVec(0.f, 1.f, 0.f, 0.6f);
color2.setVec(0.f, 0.f, 1.f, 0.6f);
}
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
gGL.color4fv(color1.mV);
gGL.vertex3f(0.f, mPlaneManipOffsetMeters * (-PLANE_TICK_SIZE * 0.25f), mPlaneManipOffsetMeters * (-PLANE_TICK_SIZE * 0.25f));
@ -1922,7 +1922,7 @@ void LLManipTranslate::renderTranslationHandles()
gGL.end();
LLUI::setLineWidth(3.0f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.color4f(0.f, 0.f, 0.f, 0.3f);
gGL.vertex3f(0.f, mPlaneManipOffsetMeters * -PLANE_TICK_SIZE * 0.25f, mPlaneManipOffsetMeters * -PLANE_TICK_SIZE * 0.25f);
@ -1962,7 +1962,7 @@ void LLManipTranslate::renderTranslationHandles()
color2.setVec(1.f, 0.f, 0.f, 0.6f);
}
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
gGL.color4fv(color1.mV);
gGL.vertex3f(mPlaneManipOffsetMeters * (PLANE_TICK_SIZE * 0.25f), 0.f, mPlaneManipOffsetMeters * (PLANE_TICK_SIZE * 0.25f));
@ -1977,7 +1977,7 @@ void LLManipTranslate::renderTranslationHandles()
gGL.end();
LLUI::setLineWidth(3.0f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.color4f(0.f, 0.f, 0.f, 0.3f);
gGL.vertex3f(mPlaneManipOffsetMeters * -PLANE_TICK_SIZE * 0.25f, 0.f, mPlaneManipOffsetMeters * -PLANE_TICK_SIZE * 0.25f);
@ -2041,7 +2041,7 @@ void LLManipTranslate::renderTranslationHandles()
color2.setVec(0.f, 0.8f, 0.f, 0.6f);
}
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
gGL.color4fv(color1.mV);
gGL.vertex3fv(v0.mV);
@ -2056,7 +2056,7 @@ void LLManipTranslate::renderTranslationHandles()
gGL.end();
LLUI::setLineWidth(3.0f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
gGL.color4f(0.f, 0.f, 0.f, 0.3f);
LLVector3 v12 = (v1 + v2) * .5f;
@ -2190,7 +2190,7 @@ void LLManipTranslate::renderArrow(S32 which_arrow, S32 selected_arrow, F32 box_
{
LLUI::setLineWidth(2.0f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
vec.mV[index] = box_size;
gGL.vertex3f(vec.mV[0], vec.mV[1], vec.mV[2]);

View File

@ -58,7 +58,7 @@ mDelay(120)
#ifdef MEM_DUMP_DATA
// clear out file.
FILE *dump = fopen("memusagedump.txt", "w");
LLFILE *dump = LLFile::fopen("memusagedump.txt", "w");
fclose(dump);
#endif
}
@ -262,7 +262,7 @@ void LLMemoryView::dumpData()
// reset timer
mDumpTimer.reset();
// append dump info to text file
FILE *dump = fopen("memusagedump.txt", "a");
LLFILE *dump = LLFile::fopen("memusagedump.txt", "a");
if (dump)
{

View File

@ -550,7 +550,7 @@ BOOL LLMuteList::loadFromFile(const LLString& filename)
return FALSE;
}
FILE* fp = LLFile::fopen(filename.c_str(), "rb"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen(filename.c_str(), "rb"); /*Flawfinder: ignore*/
if (!fp)
{
llwarns << "Couldn't open mute list " << filename << llendl;
@ -600,7 +600,7 @@ BOOL LLMuteList::saveToFile(const LLString& filename)
return FALSE;
}
FILE* fp = LLFile::fopen(filename.c_str(), "wb"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen(filename.c_str(), "wb"); /*Flawfinder: ignore*/
if (!fp)
{
llwarns << "Couldn't open mute list " << filename << llendl;

View File

@ -287,7 +287,7 @@ void LLNetMap::draw()
// Draw using texture.
LLViewerImage::bindTexture(regionp->getLand().getSTexture());
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.texCoord2f(0.f, 1.f);
gGL.vertex2f(left, top);
gGL.texCoord2f(0.f, 0.f);
@ -304,7 +304,7 @@ void LLNetMap::draw()
if (regionp->getLand().getWaterTexture())
{
LLViewerImage::bindTexture(regionp->getLand().getWaterTexture());
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.texCoord2f(0.f, 1.f);
gGL.vertex2f(left, top);
gGL.texCoord2f(0.f, 0.f);
@ -354,7 +354,7 @@ void LLNetMap::draw()
F32 image_half_width = 0.5f*mObjectMapPixels;
F32 image_half_height = 0.5f*mObjectMapPixels;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
gGL.texCoord2f(0.f, 1.f);
gGL.vertex2f(map_center_agent.mV[VX] - image_half_width, image_half_height + map_center_agent.mV[VY]);
gGL.texCoord2f(0.f, 0.f);
@ -463,7 +463,7 @@ void LLNetMap::draw()
{
gGL.color4fv(gFrustumMapColor.mV);
gGL.begin( GL_TRIANGLES );
gGL.begin( LLVertexBuffer::TRIANGLES );
gGL.vertex2f( ctr_x, ctr_y );
gGL.vertex2f( ctr_x - half_width_pixels, ctr_y + far_clip_pixels );
gGL.vertex2f( ctr_x + half_width_pixels, ctr_y + far_clip_pixels );
@ -477,7 +477,7 @@ void LLNetMap::draw()
gGL.pushMatrix();
gGL.translatef( ctr_x, ctr_y, 0 );
glRotatef( atan2( LLViewerCamera::getInstance()->getAtAxis().mV[VX], LLViewerCamera::getInstance()->getAtAxis().mV[VY] ) * RAD_TO_DEG, 0.f, 0.f, -1.f);
gGL.begin( GL_TRIANGLES );
gGL.begin( LLVertexBuffer::TRIANGLES );
gGL.vertex2f( 0, 0 );
gGL.vertex2f( -half_width_pixels, far_clip_pixels );
gGL.vertex2f( half_width_pixels, far_clip_pixels );

View File

@ -271,7 +271,7 @@ BOOL LLPolyMeshSharedData::loadMesh( const char *fileName )
llerrs << "Filename is Empty!" << llendl;
return FALSE;
}
FILE* fp = LLFile::fopen(fileName, "rb"); /*Flawfinder: ignore*/
LLFILE* fp = LLFile::fopen(fileName, "rb"); /*Flawfinder: ignore*/
if (!fp)
{
llerrs << "can't open: " << fileName << llendl;

View File

@ -83,7 +83,7 @@ LLPolyMorphData::~LLPolyMorphData()
//-----------------------------------------------------------------------------
// loadBinary()
//-----------------------------------------------------------------------------
BOOL LLPolyMorphData::loadBinary(FILE *fp, LLPolyMeshSharedData *mesh)
BOOL LLPolyMorphData::loadBinary(LLFILE *fp, LLPolyMeshSharedData *mesh)
{
S32 numVertices;
S32 numRead;

View File

@ -51,7 +51,7 @@ public:
LLPolyMorphData(char *morph_name);
~LLPolyMorphData();
BOOL loadBinary(FILE* fp, LLPolyMeshSharedData *mesh);
BOOL loadBinary(LLFILE* fp, LLPolyMeshSharedData *mesh);
char* loadASCII(char* text, LLPolyMeshSharedData *mesh);
char* getName() { return mName; }

View File

@ -1262,7 +1262,7 @@ void LLPreviewLSL::saveIfNeeded()
std::string filepath = gDirUtilp->getExpandedFilename(LL_PATH_CACHE,asset_id.asString());
std::string filename = llformat("%s.lsl", filepath.c_str());
FILE* fp = LLFile::fopen(filename.c_str(), "wb");
LLFILE* fp = LLFile::fopen(filename.c_str(), "wb");
if(!fp)
{
llwarns << "Unable to write to " << filename << llendl;
@ -1336,7 +1336,7 @@ void LLPreviewLSL::uploadAssetLegacy(const std::string& filename,
//system(command);
// load the error file into the error scrolllist
FILE* fp = LLFile::fopen(err_filename.c_str(), "r");
LLFILE* fp = LLFile::fopen(err_filename.c_str(), "r");
if(fp)
{
char buffer[MAX_STRING]; /*Flawfinder: ignore*/
@ -1851,7 +1851,7 @@ void LLLiveLSLEditor::loadScriptText(const char* filename)
llerrs << "Filename is Empty!" << llendl;
return;
}
FILE* file = LLFile::fopen(filename, "rb"); /*Flawfinder: ignore*/
LLFILE* file = LLFile::fopen(filename, "rb"); /*Flawfinder: ignore*/
if(file)
{
// read in the whole file
@ -2063,7 +2063,7 @@ void LLLiveLSLEditor::saveIfNeeded()
mItem->setTransactionID(tid);
// write out the data, and store it in the asset database
FILE* fp = LLFile::fopen(filename.c_str(), "wb");
LLFILE* fp = LLFile::fopen(filename.c_str(), "wb");
if(!fp)
{
llwarns << "Unable to write to " << filename << llendl;
@ -2136,7 +2136,7 @@ void LLLiveLSLEditor::uploadAssetLegacy(const std::string& filename,
std::string dst_filename = llformat("%s.lso", filepath.c_str());
std::string err_filename = llformat("%s.out", filepath.c_str());
FILE *fp;
LLFILE *fp;
if(!lscript_compile(filename.c_str(),
dst_filename.c_str(),
err_filename.c_str(),

View File

@ -5280,7 +5280,7 @@ void LLSelectNode::renderOneSilhouette(const LLColor4 &color)
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE, GL_GEQUAL);
glAlphaFunc(GL_GREATER, 0.01f);
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
{
S32 i = 0;
for (S32 seg_num = 0; seg_num < (S32)mSilhouetteSegments.size(); seg_num++)
@ -5301,7 +5301,7 @@ void LLSelectNode::renderOneSilhouette(const LLColor4 &color)
gGL.flush();
gGL.blendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
{
S32 i = 0;
for (S32 seg_num = 0; seg_num < (S32)mSilhouetteSegments.size(); seg_num++)

View File

@ -1646,7 +1646,7 @@ public:
void drawBox(const LLVector3& c, const LLVector3& r)
{
gGL.begin(GL_TRIANGLE_STRIP);
gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
//left front
gGL.vertex3fv((c+r.scaledVec(LLVector3(-1,1,-1))).mV);
gGL.vertex3fv((c+r.scaledVec(LLVector3(-1,1,1))).mV);
@ -1665,7 +1665,7 @@ void drawBox(const LLVector3& c, const LLVector3& r)
gGL.end();
//bottom
gGL.begin(GL_TRIANGLE_STRIP);
gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
gGL.vertex3fv((c+r.scaledVec(LLVector3(1,1,-1))).mV);
gGL.vertex3fv((c+r.scaledVec(LLVector3(1,-1,-1))).mV);
gGL.vertex3fv((c+r.scaledVec(LLVector3(-1,1,-1))).mV);
@ -1673,7 +1673,7 @@ void drawBox(const LLVector3& c, const LLVector3& r)
gGL.end();
//top
gGL.begin(GL_TRIANGLE_STRIP);
gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
gGL.vertex3fv((c+r.scaledVec(LLVector3(1,1,1))).mV);
gGL.vertex3fv((c+r.scaledVec(LLVector3(-1,1,1))).mV);
gGL.vertex3fv((c+r.scaledVec(LLVector3(1,-1,1))).mV);
@ -1688,7 +1688,7 @@ void drawBoxOutline(const LLVector3& pos, const LLVector3& size)
LLVector3 v3 = size.scaledVec(LLVector3(-1,-1,1));
LLVector3 v4 = size.scaledVec(LLVector3( 1,-1,1));
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
//top
gGL.vertex3fv((pos+v1).mV);
@ -2032,7 +2032,7 @@ void renderOctree(LLSpatialGroup* group)
drawBoxOutline(group->mObjectBounds[0], group->mObjectBounds[1]);
gGL.flush();
glLineWidth(1.f);
gGL.stop();
gGL.flush();
for (LLSpatialGroup::element_iter i = group->getData().begin(); i != group->getData().end(); ++i)
{
LLDrawable* drawable = *i;
@ -2074,7 +2074,7 @@ void renderOctree(LLSpatialGroup* group)
}
}
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
gGL.start();
gGL.color4f(1,1,1,1);
}
}
else
@ -2313,7 +2313,7 @@ void renderPoints(LLDrawable* drawablep)
LLGLDepthTest depth(GL_FALSE, GL_FALSE);
if (drawablep->getNumFaces())
{
gGL.begin(GL_POINTS);
gGL.begin(LLVertexBuffer::POINTS);
gGL.color3f(1,1,1);
LLVector3 center(drawablep->getPositionGroup());
for (S32 i = 0; i < drawablep->getNumFaces(); i++)
@ -2405,14 +2405,14 @@ public:
if (group->mSpatialPartition->mRenderByGroup &&
gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_OCCLUSION))
{
gGL.stop();
gGL.flush();
glPushMatrix();
gGLLastMatrix = NULL;
glLoadMatrixd(gGLModelView);
renderVisibility(group, mCamera);
gGLLastMatrix = NULL;
glPopMatrix();
gGL.start();
gGL.color4f(1,1,1,1);
}
}
}

View File

@ -438,7 +438,7 @@ BOOL idle_startup()
std::string message_template_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,"message_template.msg");
FILE* found_template = NULL;
LLFILE* found_template = NULL;
found_template = LLFile::fopen(message_template_path.c_str(), "r"); /* Flawfinder: ignore */
if (found_template)
{
@ -2439,7 +2439,7 @@ LLString load_password_from_disk()
std::string filepath = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,
"password.dat");
FILE* fp = LLFile::fopen(filepath.c_str(), "rb"); /* Flawfinder: ignore */
LLFILE* fp = LLFile::fopen(filepath.c_str(), "rb"); /* Flawfinder: ignore */
if (!fp)
{
return hashed_password;
@ -2486,7 +2486,7 @@ void save_password_to_disk(const char* hashed_password)
}
else
{
FILE* fp = LLFile::fopen(filepath.c_str(), "wb"); /* Flawfinder: ignore */
LLFILE* fp = LLFile::fopen(filepath.c_str(), "wb"); /* Flawfinder: ignore */
if (!fp)
{
return;

View File

@ -244,8 +244,6 @@ BOOL LLTexLayerSetBuffer::render()
BOOL upload_now = (gAgent.mNumPendingQueries == 0 && mNeedsUpload && mTexLayerSet->isLocalTextureDataFinal());
BOOL success = TRUE;
gGL.start();
// Composite bump
if( mBumpTexName )
{
@ -297,8 +295,6 @@ BOOL LLTexLayerSetBuffer::render()
glColorMask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE );
gGL.blendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
gGL.stop();
// we have valid texture data now
mInitialized = TRUE;
mNeedsUpdate = FALSE;

View File

@ -484,7 +484,7 @@ void LLFloaterTexturePicker::draw()
{
LLGLSNoTexture no_texture;
LLGLEnable(GL_CULL_FACE);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.color4f(0.f, 0.f, 0.f, CONTEXT_CONE_IN_ALPHA * mContextConeOpacity);
gGL.vertex2i(owner_rect.mLeft, owner_rect.mTop);

View File

@ -482,7 +482,7 @@ void LLToolBrushLand::renderOverlay(LLSurface& land, const LLVector3& pos_region
S32 j = (S32) pos_region.mV[VY];
S32 half_edge = llfloor(LAND_BRUSH_SIZE[mBrushIndex]);
gGL.begin(GL_POINTS);
gGL.begin(LLVertexBuffer::POINTS);
for(S32 di = -half_edge; di <= half_edge; di++)
{
if((i+di) < 0 || (i+di) >= (S32)land.mGridsPerEdge) continue;

View File

@ -163,8 +163,6 @@ void LLVisualParamHint::preRender(BOOL clear_depth)
//-----------------------------------------------------------------------------
BOOL LLVisualParamHint::render()
{
gGL.start();
LLVisualParamReset::sDirty = TRUE;
LLVOAvatar* avatarp = gAgent.getAvatarObject();
@ -224,7 +222,7 @@ BOOL LLVisualParamHint::render()
mVisualParam->getCameraElevation() );
LLVector3 camera_pos = target_joint_pos + (camera_snapshot_offset * avatar_rotation);
gGL.stop();
gGL.flush();
LLViewerCamera::getInstance()->setAspect((F32)mWidth / (F32)mHeight);
LLViewerCamera::getInstance()->setOriginAndLookAt(
@ -241,7 +239,7 @@ BOOL LLVisualParamHint::render()
avatarPoolp->renderAvatars(avatarp); // renders only one avatar
}
avatarp->setVisualParamWeight(mVisualParam, mLastParamWeight);
gGL.color4f(1,1,1,1);
return TRUE;
}
@ -258,7 +256,7 @@ void LLVisualParamHint::draw()
gGL.color4f(1.f, 1.f, 1.f, 1.f);
LLGLSUIDefault gls_ui;
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.texCoord2i(0, 1);
gGL.vertex2i(0, mHeight);

View File

@ -444,7 +444,7 @@ void draw_shockwave(F32 center_z, F32 t, S32 steps, LLColor4 color)
F32 y = 0.f;
LLColor4 ccol = LLColor4(1,1,1,(1.f-t)*0.25f);
gGL.begin(GL_TRIANGLE_FAN);
gGL.begin(LLVertexBuffer::TRIANGLE_FAN);
gGL.color4fv(ccol.mV);
gGL.vertex3f(0.f, 0.f, center_z);
// make sure circle is complete
@ -534,7 +534,7 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
an *= 2.f;
an += 1.0f+dr;
gGL.begin(GL_TRIANGLE_STRIP);
gGL.begin(LLVertexBuffer::TRIANGLE_STRIP);
gGL.color4fv(col_edge.mV);
gGL.vertex3f(-x*a, -y*a, z);
gGL.color4fv(col_edge_next.mV);

View File

@ -202,7 +202,7 @@ if(!filename)
llinfos << "ASSET_ID: " << asset_id << llendl;
S32 size = 0;
FILE* fp = LLFile::fopen(filename, "rb");
LLFILE* fp = LLFile::fopen(filename, "rb");
if (fp)
{
fseek(fp, 0, SEEK_END);

View File

@ -86,6 +86,7 @@ LLString gLastRunVersion;
LLString gCurrentVersion;
extern BOOL gResizeScreenTexture;
extern BOOL gDebugGL;
////////////////////////////////////////////////////////////////////////////
// Listeners
@ -357,9 +358,15 @@ static bool handleRenderUseImpostorsChanged(const LLSD& newvalue)
return true;
}
static bool handleRenderUseCleverUIChanged(const LLSD& newvalue)
static bool handleRenderDebugGLChanged(const LLSD& newvalue)
{
gGL.setClever(newvalue.asBoolean());
gDebugGL = newvalue.asBoolean();
return true;
}
static bool handleRenderDebugPipelineChanged(const LLSD& newvalue)
{
gDebugPipeline = newvalue.asBoolean();
return true;
}
@ -464,7 +471,8 @@ void settings_setup_listeners()
gSavedSettings.getControl("RenderMaxVBOSize")->getSignal()->connect(boost::bind(&handleResetVertexBuffersChanged, _1));
gSavedSettings.getControl("RenderUseFBO")->getSignal()->connect(boost::bind(&handleRenderUseFBOChanged, _1));
gSavedSettings.getControl("RenderUseImpostors")->getSignal()->connect(boost::bind(&handleRenderUseImpostorsChanged, _1));
gSavedSettings.getControl("RenderUseCleverUI")->getSignal()->connect(boost::bind(&handleRenderUseCleverUIChanged, _1));
gSavedSettings.getControl("RenderDebugGL")->getSignal()->connect(boost::bind(&handleRenderDebugGLChanged, _1));
gSavedSettings.getControl("RenderDebugPipeline")->getSignal()->connect(boost::bind(&handleRenderDebugPipelineChanged, _1));
gSavedSettings.getControl("RenderResolutionDivisor")->getSignal()->connect(boost::bind(&handleRenderResolutionDivisorChanged, _1));
gSavedSettings.getControl("RenderDeferred")->getSignal()->connect(boost::bind(&handleSetShaderChanged, _1));
gSavedSettings.getControl("AvatarCompositeLimit")->getSignal()->connect(boost::bind(&handleCompositeLimitChanged, _1));

View File

@ -125,20 +125,17 @@ void display_startup()
// Required for HTML update in login screen
static S32 frame_count = 0;
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
LLGLState::checkTextureChannels();
#endif
if (frame_count++ > 1) // make sure we have rendered a frame first
{
LLDynamicTexture::updateAllInstances();
}
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
LLGLState::checkTextureChannels();
#endif
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
LLGLSUIDefault gls_ui;
@ -147,14 +144,14 @@ void display_startup()
gViewerWindow->setup2DRender();
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
gGL.start();
gGL.color4f(1,1,1,1);
gViewerWindow->draw();
gGL.stop();
gGL.flush();
LLVertexBuffer::unbind();
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
LLGLState::checkTextureChannels();
#endif
gViewerWindow->mWindow->swapBuffers();
glClear(GL_DEPTH_BUFFER_BIT);
@ -199,16 +196,11 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
LLGLSDefault gls_default;
LLGLDepthTest gls_depth(GL_TRUE, GL_TRUE, GL_LEQUAL);
LLVertexBuffer::unbind();
// No clue where this is getting unset, but safe enough to reset it here.
//this causes frame stalls, try real hard not to uncomment this line - DaveP
//LLGLState::resetTextureStates();
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
LLGLState::checkTextureChannels();
#endif
gPipeline.disableLights();
@ -233,10 +225,8 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
gViewerWindow->performPick();
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
LLGLState::checkTextureChannels();
#endif
//////////////////////////////////////////////////////////
//
@ -676,7 +666,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
// glTranslatef(0.f, 0.f, -LLViewerCamera::getInstance()->getNear());
// glScalef(LLViewerCamera::getInstance()->getNear() * LLViewerCamera::getInstance()->getAspect() / sinf(LLViewerCamera::getInstance()->getView()), LLViewerCamera::getInstance()->getNear() / sinf(LLViewerCamera::getInstance()->getView()), 1.f);
// gGL.color4fv(LLColor4::white.mV);
// gGL.begin(GL_QUADS);
// gGL.begin(LLVertexBuffer::QUADS);
// {
// gGL.vertex3f(floater_3d_rect.mLeft, floater_3d_rect.mBottom, 0.f);
// gGL.vertex3f(floater_3d_rect.mLeft, floater_3d_rect.mTop, 0.f);
@ -881,9 +871,7 @@ BOOL setup_hud_matrices(BOOL for_select)
void render_ui_and_swap()
{
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
#endif
glPushMatrix();
glLoadMatrixd(gGLLastModelView);
@ -910,8 +898,8 @@ void render_ui_and_swap()
}
{
LLVertexBuffer::startRender();
gGL.start();
gGL.color4f(1,1,1,1);
if (gPipeline.hasRenderDebugFeatureMask(LLPipeline::RENDER_DEBUG_FEATURE_UI))
{
LLFastTimer t(LLFastTimer::FTM_RENDER_UI);
@ -919,17 +907,13 @@ void render_ui_and_swap()
if (!gDisconnected)
{
render_ui_3d();
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
#endif
}
render_ui_2d();
#ifndef LL_RELEASE_FOR_DOWNLOAD
LLGLState::checkStates();
#endif
}
gGL.stop();
gGL.flush();
{
gViewerWindow->setup2DRender();
@ -937,7 +921,7 @@ void render_ui_and_swap()
gViewerWindow->drawDebugText();
}
LLVertexBuffer::stopRender();
LLVertexBuffer::unbind();
}
glh_set_current_modelview(saved_view);
@ -960,7 +944,7 @@ void render_ui_and_swap_if_needed()
void renderCoordinateAxes()
{
LLGLSNoTexture gls_no_texture;
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.color3f(1.0f, 0.0f, 0.0f); // i direction = X-Axis = red
gGL.vertex3f(0.0f, 0.0f, 0.0f);
gGL.vertex3f(2.0f, 0.0f, 0.0f);
@ -1013,7 +997,7 @@ void draw_axes()
LLGLSNoTexture gls_no_texture;
// A vertical white line at origin
LLVector3 v = gAgent.getPositionAgent();
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.color3f(1.0f, 1.0f, 1.0f);
gGL.vertex3f(0.0f, 0.0f, 0.0f);
gGL.vertex3f(0.0f, 0.0f, 40.0f);
@ -1119,7 +1103,7 @@ void render_ui_2d()
void render_disconnected_background()
{
gGL.start();
gGL.color4f(1,1,1,1);
if (!gDisconnectedImagep && gDisconnected)
{
llinfos << "Loading last bitmap..." << llendl;
@ -1192,7 +1176,7 @@ void render_disconnected_background()
}
glPopMatrix();
}
gGL.stop();
gGL.flush();
}
void display_cleanup()

View File

@ -254,7 +254,7 @@ void LLViewerInventoryItem::packMessage(LLMessageSystem* msg) const
msg->addU32Fast(_PREHASH_CRC, crc);
}
// virtual
BOOL LLViewerInventoryItem::importFile(FILE* fp)
BOOL LLViewerInventoryItem::importFile(LLFILE* fp)
{
BOOL rv = LLInventoryItem::importFile(fp);
mIsComplete = TRUE;
@ -269,7 +269,7 @@ BOOL LLViewerInventoryItem::importLegacyStream(std::istream& input_stream)
return rv;
}
bool LLViewerInventoryItem::importFileLocal(FILE* fp)
bool LLViewerInventoryItem::importFileLocal(LLFILE* fp)
{
// TODO: convert all functions that return BOOL to return bool
bool rv = (LLInventoryItem::importFile(fp) ? true : false);
@ -277,7 +277,7 @@ bool LLViewerInventoryItem::importFileLocal(FILE* fp)
return rv;
}
bool LLViewerInventoryItem::exportFileLocal(FILE* fp) const
bool LLViewerInventoryItem::exportFileLocal(LLFILE* fp) const
{
char uuid_str[UUID_STR_LENGTH]; /* Flawfinder: ignore */
fprintf(fp, "\tinv_item\t0\n\t{\n");
@ -469,7 +469,7 @@ bool LLViewerInventoryCategory::fetchDescendents()
return false;
}
bool LLViewerInventoryCategory::importFileLocal(FILE* fp)
bool LLViewerInventoryCategory::importFileLocal(LLFILE* fp)
{
// *NOTE: This buffer size is hard coded into scanf() below.
char buffer[MAX_STRING]; /* Flawfinder: ignore */
@ -538,7 +538,7 @@ bool LLViewerInventoryCategory::importFileLocal(FILE* fp)
return true;
}
bool LLViewerInventoryCategory::exportFileLocal(FILE* fp) const
bool LLViewerInventoryCategory::exportFileLocal(LLFILE* fp) const
{
char uuid_str[UUID_STR_LENGTH]; /* Flawfinder: ignore */
fprintf(fp, "\tinv_category\t0\n\t{\n");

View File

@ -100,13 +100,13 @@ public:
//virtual void packMessage(LLMessageSystem* msg) const;
virtual BOOL unpackMessage(LLMessageSystem* msg, const char* block, S32 block_num = 0);
virtual BOOL unpackMessage(LLSD item);
virtual BOOL importFile(FILE* fp);
virtual BOOL importFile(LLFILE* fp);
virtual BOOL importLegacyStream(std::istream& input_stream);
// file handling on the viewer. These are not meant for anything
// other than cacheing.
bool exportFileLocal(FILE* fp) const;
bool importFileLocal(FILE* fp);
bool exportFileLocal(LLFILE* fp) const;
bool importFileLocal(LLFILE* fp);
// new methods
BOOL isComplete() const { return mIsComplete; }
@ -182,8 +182,8 @@ public:
// file handling on the viewer. These are not meant for anything
// other than cacheing.
bool exportFileLocal(FILE* fp) const;
bool importFileLocal(FILE* fp);
bool exportFileLocal(LLFILE* fp) const;
bool importFileLocal(LLFILE* fp);
protected:
LLUUID mOwnerID;

View File

@ -148,7 +148,7 @@ void LLViewerJoint::renderSkeleton(BOOL recursive)
//----------------------------------------------------------------
if (mComponents & SC_AXES)
{
gGL.begin(GL_LINES);
gGL.begin(LLVertexBuffer::LINES);
gGL.color3f( 1.0f, 0.0f, 0.0f );
gGL.vertex3f( 0.0f, 0.0f, 0.0f );
gGL.vertex3f( 0.1f, 0.0f, 0.0f );
@ -170,7 +170,7 @@ void LLViewerJoint::renderSkeleton(BOOL recursive)
{
gGL.color3f( 1.0f, 1.0f, 0.0f );
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
// joint top half
glNormal3f(nc, nc, nc);
@ -360,7 +360,7 @@ void LLViewerJoint::drawBone()
// render the bone
gGL.color3f( 0.5f, 0.5f, 0.0f );
gGL.begin(GL_TRIANGLES);
gGL.begin(LLVertexBuffer::TRIANGLES);
gGL.vertex3f( length, 0.0f, 0.0f);
gGL.vertex3f( 0.0f, boneSize, 0.0f);

View File

@ -92,7 +92,7 @@ U32 LLViewerJointAttachment::drawShape( F32 pixelArea, BOOL first_pass )
LLGLDisable cull_face(GL_CULL_FACE);
gGL.color4f(1.f, 1.f, 1.f, 1.f);
gGL.begin(GL_QUADS);
gGL.begin(LLVertexBuffer::QUADS);
{
gGL.vertex3f(-0.1f, 0.1f, 0.f);
gGL.vertex3f(-0.1f, -0.1f, 0.f);

Some files were not shown because too many files have changed in this diff Show More