--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-18 11:36:19 -06:00
commit 31637d4aac
2384 files changed
+9729 -969

No files matched your search

+1
View File
@@ -366,3 +366,4 @@ int main(int argc, char * arg[])
return 0;
}
+1
View File
@@ -378,3 +378,4 @@ bool ConvertADT(char *filename, char *filename2)
return true;
}
+2
View File
@@ -126,3 +126,5 @@ uint8 *MapLiqFlag;
uint32 k, m, chunk_num;
void LoadMapChunk(MPQFile &, chunk*);
#endif
+1
View File
@@ -67,3 +67,4 @@ DBCFile::Iterator DBCFile::end()
assert(data);
return Iterator(*this, stringTable);
}
+1
View File
@@ -116,3 +116,4 @@ private:
};
#endif
+1
View File
@@ -799,3 +799,4 @@ int libmpq_file_read_file(mpq_archive *mpq_a, mpq_file *mpq_f, unsigned int file
/* Return what we've read */
return bytesread;
}
+1
View File
@@ -70,3 +70,4 @@ char *libmpq_conf_delete_char(char *buf, char *chars);
int libmpq_conf_get_array(FILE *fp, char *search_value, char ***filelist, int *entries);
int libmpq_free_listfile(char **filelist);
int libmpq_read_listfile(mpq_archive *mpq_a, FILE *fp);
+1
View File
@@ -426,3 +426,4 @@ unsigned int libmpq_pkzip_explode(
}
return LIBMPQ_PKZIP_CMP_ABORT;
}
+1
View File
@@ -84,3 +84,4 @@ extern unsigned int libmpq_pkzip_explode(
);
#endif /* _EXPLODE_H */
+1
View File
@@ -260,3 +260,4 @@ int libmpq_multi_decompress(char *out_buf, int *pout_length, char *in_buf, int i
}
return 1;
}
+1
View File
@@ -831,3 +831,4 @@ int libmpq_huff_init_tree(struct huffman_tree *ht, struct huffman_tree_item *hi,
return 0;
}
+1
View File
@@ -103,3 +103,4 @@ struct huffman_tree {
int libmpq_huff_init_tree(struct huffman_tree *ht, struct huffman_tree_item *hi, unsigned int cmp);
int libmpq_huff_do_decompress(struct huffman_tree *ht, struct huffman_input_stream *is, unsigned char *out_buf, unsigned int out_length);
#endif /* _HUFFMAN_H */
+1
View File
@@ -624,3 +624,4 @@ int libmpq_file_getdata(mpq_archive *mpq_a, mpq_hash mpq_h, const int number, un
free(mpq_f);
return success?LIBMPQ_TOOLS_SUCCESS:LIBMPQ_EFILE_CORRUPT;
}
+1
View File
@@ -223,3 +223,4 @@ static decompress_table dcmp_table[] = {
int libmpq_file_extract(mpq_archive *mpq_a, const int number, const char *filename);
int libmpq_file_getdata(mpq_archive *mpq_a, mpq_hash mpq_h, const int number, unsigned char *dest);
#endif /* _MPQ_H */
+1
View File
@@ -292,3 +292,4 @@ int libmpq_conf_get_array(FILE *fp, char *search_value, char ***filelist, int *e
return found;
}
+1
View File
@@ -183,3 +183,4 @@ int libmpq_wave_decompress(unsigned char *out_buf, int out_length, unsigned char
}
return (out.pb - out_buf);
}
+1
View File
@@ -35,3 +35,4 @@ typedef union {
int libmpq_wave_decompress(unsigned char *out_buf, int out_length, unsigned char *in_buf, int in_length, int channels);
#endif /* _WAVE_H */
+1
View File
@@ -321,3 +321,4 @@ typedef uLong FAR uLongf;
#endif
#endif /* ZCONF_H */
+1
View File
@@ -1198,3 +1198,4 @@ ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void));
#endif
#endif /* ZLIB_H */
+1
View File
@@ -131,3 +131,4 @@ void MPQFile::close()
buffer = 0;
eof = true;
}
+1
View File
@@ -119,3 +119,4 @@ inline void flipcc(char *fcc)
}
#endif
@@ -116,3 +116,4 @@ int main(int argc, char* argv[])
}
return 0;
}
+1
View File
@@ -1618,3 +1618,4 @@ public:
@@ -568,3 +568,4 @@ int main(int argc, char** argv) {
printf("%s <data dir> <vmapcmd.log file>\n",argv[0]);
}
}
@@ -87,3 +87,4 @@ namespace VMAP
}
#endif
@@ -115,3 +115,4 @@ BOOL WINAPI SCOMP(Decompress)(char * pbOutBuffer, int * pdwOutLength, char * pbI
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
@@ -65,3 +65,4 @@ BOOL WINAPI SCOMP(Decompress)(char * pbOutBuffer, int * pdwOutLength, char * pb
#endif
#endif // __STORM_H__
@@ -695,3 +695,4 @@ BYTE * WINAPI pcxGetData(BYTE *pFileBuf, DWORD uFileSize, BYTE uTransColor, WORD
return data;
}
@@ -1072,3 +1072,4 @@ void FreeMPQArchive(TMPQArchive *& ha)
ha = NULL;
}
}
@@ -86,3 +86,4 @@ int SListFileSaveToMpq(TMPQArchive * ha);
#endif // __SCOMMON_H__
@@ -713,3 +713,4 @@ int WINAPI SCompSetDataCompression(int nDataCompression)
}
@@ -689,3 +689,4 @@ BOOL WINAPI SFileCompactArchive(HANDLE hMPQ, const char * szListFile, BOOL /* bR
CompactCB = NULL;
return (nError == ERROR_SUCCESS);
}
@@ -528,3 +528,4 @@ BOOL WINAPI SFileRenameFile(HANDLE hMPQ, const char * szFileName, const char * s
return (nError == ERROR_SUCCESS);
}
@@ -61,3 +61,4 @@ BOOL WINAPI SFileExtractFile(HANDLE hMpq, const char * szToExtract, const char *
SetLastError(nError);
return (BOOL)(nError == ERROR_SUCCESS);
}
@@ -289,3 +289,4 @@ BOOL WINAPI SFileFindClose(HANDLE hFind)
FreeMPQSearch(hs);
return TRUE;
}
@@ -495,3 +495,4 @@ BOOL WINAPI SFileCloseArchive(HANDLE hMPQ)
return TRUE;
}
@@ -401,3 +401,4 @@ BOOL WINAPI SFileCloseFile(HANDLE hFile)
FreeMPQFile(hf);
return TRUE;
}
@@ -824,3 +824,4 @@ DWORD_PTR WINAPI SFileGetFileInfo(HANDLE hMpqOrFile, DWORD dwInfoType)
SetLastError(ERROR_INVALID_PARAMETER);
return 0xFFFFFFFF;
}
@@ -559,3 +559,4 @@ BOOL SListFileFindClose(HANDLE hFind)
return FALSE;
}
@@ -65,3 +65,4 @@ BOOL WINAPI SCOMP(Decompress)(char * pbOutBuffer, int * pdwOutLength, char * pb
#endif
#endif // __STORM_H__
@@ -577,3 +577,4 @@ BYTE ** WINAPI cl2GetDirData(BYTE *fileBuf, BYTE *palette, USHORT xsize, USHORT
BYTE * WINAPI pcxGetData(BYTE *filebuf, DWORD filesize, BYTE transcol, USHORT *xsize, USHORT *ysize);
#endif // __STORMLIB_H_
@@ -276,3 +276,4 @@
#endif
#endif // __STORMPORT_H__
@@ -166,3 +166,4 @@ BOOL MoveFile(const char *lpExistingFileName, const char *lpNewFileName)
}
#endif
@@ -760,3 +760,4 @@ DWORD GetFileAttributes(const char * szFileName)
}
#endif
@@ -321,3 +321,4 @@ BZ_EXTERN const char * BZ_API(BZ2_bzerror) (
/*-------------------------------------------------------------*/
/*--- end bzlib.h ---*/
/*-------------------------------------------------------------*/
@@ -535,3 +535,4 @@ BZ2_hbCreateDecodeTables ( Int32*, Int32*, Int32*, UChar*,
/*-------------------------------------------------------------*/
/*--- end bzlib_private.h ---*/
/*-------------------------------------------------------------*/
@@ -1450,4 +1450,5 @@ unsigned char THuffmannTree::Table1502A630[] =
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00
};
};
@@ -140,3 +140,4 @@ class THuffmannTree
};
#endif // __HUFFMAN_H__
@@ -135,3 +135,4 @@ unsigned long PKEXPORT crc32pk(char *buffer, unsigned int *size, unsigned long *
#endif
#endif // __PKLIB_H__
@@ -354,3 +354,4 @@ int DecompressWave(unsigned char * pbOutBuffer, int dwOutLength, unsigned char *
}
return (int)(out.pb - pbOutBuffer);
}
@@ -20,3 +20,4 @@ int CompressWave (unsigned char * pbOutBuffer, int dwOutLength, short * pwInBu
int DecompressWave(unsigned char * pbOutBuffer, int dwOutLength, unsigned char * pbInBuffer, int dwInLength, int nChannels);
#endif // __WAVE_H__
@@ -15,3 +15,4 @@ USEUNIT("trees.c");
// To add a file to the library use the Project menu 'Add to Project'.
@@ -20,3 +20,4 @@ USEUNIT("zutil.c");
// To add a file to the library use the Project menu 'Add to Project'.
@@ -40,3 +40,4 @@ int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
return 1;
}
@@ -22,3 +22,4 @@ int main() {
return 0;
}
@@ -327,3 +327,4 @@ gzofstream::gzofstream( int fd, int io_mode ) :
}
gzofstream::~gzofstream() { }
@@ -140,3 +140,4 @@ inline gzomanip<int> setcompressionstrategy(int l)
@@ -305,3 +305,4 @@ inline ostream& operator<<(ozstream& zs, const T& x) {
}
#endif
@@ -23,3 +23,4 @@ void main() {
delete[] x; delete[] y;
}
@@ -273,3 +273,4 @@ extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file,
#endif
#endif /* _unz_H */
@@ -148,3 +148,4 @@ extern int ZEXPORT zipClose OF((zipFile file,
#endif
#endif /* _zip_H */
@@ -316,3 +316,4 @@ void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
#endif
#endif
@@ -37,3 +37,4 @@ extern void inflate_set_dictionary OF((
extern int inflate_blocks_sync_point OF((
inflate_blocks_statef *s));
@@ -25,3 +25,4 @@ extern void inflate_codes_free OF((
inflate_codes_statef *,
z_streamp ));
@@ -15,3 +15,4 @@ extern int inflate_fast OF((
inflate_huft *,
inflate_blocks_statef *,
z_streamp ));
@@ -149,3 +149,4 @@ local inflate_huft fixed_td[] = {
{{{80,5}},4}, {{{88,5}},769}, {{{84,5}},49}, {{{92,5}},12289},
{{{82,5}},13}, {{{90,5}},3073}, {{{86,5}},193}, {{{192,5}},24577}
};
@@ -56,3 +56,4 @@ extern int inflate_trees_fixed OF((
inflate_huft * FAR *, /* literal/length tree result */
inflate_huft * FAR *, /* distance tree result */
z_streamp)); /* for memory allocation */
@@ -96,3 +96,4 @@ extern int inflate_flush OF((
struct internal_state {int dummy;}; /* for buggy compilers */
#endif
@@ -126,3 +126,4 @@ local const int base_dist[D_CODES] = {
1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576
};
@@ -277,3 +277,4 @@ typedef uLong FAR uLongf;
#endif
#endif /* _ZCONF_H */
@@ -891,3 +891,4 @@ ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void));
#endif
#endif /* _ZLIB_H */
@@ -218,3 +218,4 @@ void zcfree OF((voidpf opaque, voidpf ptr));
#define TRY_FREE(s, p) {if (p) ZFREE(s, p);}
#endif /* _Z_UTIL_H */
@@ -225,3 +225,4 @@ ADTFile::~ADTFile()
}
@@ -122,3 +122,4 @@ void fixnamen(char *name, size_t len);
#endif
@@ -73,3 +73,4 @@ DBCFile::Iterator DBCFile::end()
return Iterator(*this, stringTable);
}
@@ -137,3 +137,4 @@ private:
};
#endif
@@ -166,3 +166,4 @@ ModelInstance::ModelInstance(MPQFile &f,const char* ModelInstName,const char*Map
);
}
}
@@ -58,3 +58,4 @@ public:
};
#endif
@@ -79,4 +79,5 @@ struct ModelHeader {
#pragma pack(pop)
#endif
#endif
@@ -134,3 +134,4 @@ char* MPQFile::getPointer()
return buffer + pointer;
}
@@ -67,3 +67,4 @@ inline void flipcc(char *fcc)
#endif
@@ -228,3 +228,4 @@ inline void rotate(float x0, float y0, float *x, float *y, float angle)
#endif
@@ -570,3 +570,4 @@ int main(int argc, char ** argv)
}
printf("Extract %s. Work complete. No errors.",versionString);
}
@@ -118,3 +118,4 @@ ADTFile* WDTFile::GetMap(int x, int z)
sprintf(name,"World\\Maps\\%s\\%s_%d_%d.adt", filename.c_str(), filename.c_str(), x, z);
return new ADTFile(name);
}
@@ -28,3 +28,4 @@ private:
};
#endif
@@ -529,3 +529,4 @@ WMOInstance::WMOInstance(MPQFile &f,const char* WmoInstName,const char*MapName,
@@ -105,3 +105,4 @@ public:
};
#endif
+1
View File
@@ -3442,3 +3442,4 @@ ACE::wild_match(const char* str, const char* pat, bool case_sensitive)
// Close versioned namespace, if enabled by the user.
ACE_END_VERSIONED_NAMESPACE_DECL
+1
View File
@@ -822,3 +822,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* ACE_ACE_H */
+1
View File
@@ -159,3 +159,4 @@ ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc)
ACE_END_VERSIONED_NAMESPACE_DECL
#undef COMPUTE
+1
View File
@@ -126,3 +126,4 @@ ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc)
ACE_END_VERSIONED_NAMESPACE_DECL
#undef COMPUTE
+1
View File
@@ -74,3 +74,4 @@
#endif /* ACE_EXPORT_H */
// End of auto generated file.
+1
View File
@@ -381,3 +381,4 @@ ACE_ARGV_T<CHAR_TYPE>::create_buf_from_queue (void)
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_ARGV_CPP */
+1
View File
@@ -331,3 +331,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* ACE_ARGUMENT_VECTOR_H */
+1
View File
@@ -307,3 +307,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
+1
View File
@@ -121,3 +121,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
#include /**/ "ace/post.h"
#endif /* ACE_ATM_ACCEPTOR_H */
+1
View File
@@ -520,3 +520,4 @@ ACE_ATM_Addr::dump (void) const
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
+1
View File
@@ -195,3 +195,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
#include /**/ "ace/post.h"
#endif /* ACE_ATM_ADDR_H */
+1
View File
@@ -136,3 +136,4 @@ ACE_ATM_Connector::connect (ACE_ATM_Stream &new_stream,
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
+1
View File
@@ -162,3 +162,4 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_ATM */
#include /**/ "ace/post.h"
#endif /* ACE_ATM_CONNECTOR_H */
Loaded 100 of 2384 files, more files were not shown because too many files have changed in this diff. Show more