[Scummvm-cvs-logs] SF.net SVN: scummvm:[46867] scummvm/trunk/engines/groovie
jvprat at users.sourceforge.net
jvprat at users.sourceforge.net
Sat Jan 2 01:07:20 CET 2010
Revision: 46867
http://scummvm.svn.sourceforge.net/scummvm/?rev=46867&view=rev
Author: jvprat
Date: 2010-01-02 00:07:20 +0000 (Sat, 02 Jan 2010)
Log Message:
-----------
Move the LZSS code to the Groovie namespace.
Modified Paths:
--------------
scummvm/trunk/engines/groovie/lzss.cpp
scummvm/trunk/engines/groovie/lzss.h
Modified: scummvm/trunk/engines/groovie/lzss.cpp
===================================================================
--- scummvm/trunk/engines/groovie/lzss.cpp 2010-01-01 23:57:16 UTC (rev 46866)
+++ scummvm/trunk/engines/groovie/lzss.cpp 2010-01-02 00:07:20 UTC (rev 46867)
@@ -25,6 +25,8 @@
#include "groovie/lzss.h"
+namespace Groovie {
+
#define OUT_BUFF_SIZE 131072
#define COMP_THRESH 3 // Compression not attempted if string to be compressed is less than 3 long
@@ -97,3 +99,5 @@
return size;
}
+
+} // End of Groovie namespace
Modified: scummvm/trunk/engines/groovie/lzss.h
===================================================================
--- scummvm/trunk/engines/groovie/lzss.h 2010-01-01 23:57:16 UTC (rev 46866)
+++ scummvm/trunk/engines/groovie/lzss.h 2010-01-02 00:07:20 UTC (rev 46867)
@@ -25,6 +25,8 @@
#include "common/stream.h"
+namespace Groovie {
+
class LzssReadStream : public Common::ReadStream {
private:
uint8 *_outLzssBufData;
@@ -40,3 +42,5 @@
bool eos() const;
uint32 read(void *buf, uint32 size);
};
+
+} // End of Groovie namespace
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list