-hash function to crc32 function (tpf support)

Improvements:
-whole textures can be send to game (needed for zip and tpf)
-zip support (normal and as tpf format)
-tpf support
This commit is contained in:
code@koerner-de.net
2011-09-16 11:53:36 +00:00
parent b24123ddca
commit 6c04a6550d
25 changed files with 8103 additions and 124 deletions
+2 -2
View File
@@ -45,14 +45,14 @@ OTM_Client::~OTM_Client(void)
void* OTM_Client::Entry(void)
{
char buffer[BUFSIZE];
char buffer[SMALL_BUFSIZE];
while (1)
{
unsigned long size;
bool ret = ReadFile(
Pipe.In, // handle to pipe
buffer, // buffer to receive data
BUFSIZE, // size of buffer
SMALL_BUFSIZE, // size of buffer
&size, // number of bytes read
NULL); // not overlapped I/O