aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-01-02 00:07:20 +0000
committerJordi Vilalta Prat2010-01-02 00:07:20 +0000
commita22fd021e9fe1e798bf72c537cce482268d1c9ed (patch)
tree6966c7c9ed624993a48debf7f6e7efa17d692b6f /engines
parent998d511eeb6d34825dbfc110cacf83dc5e453c74 (diff)
downloadscummvm-rg350-a22fd021e9fe1e798bf72c537cce482268d1c9ed.tar.gz
scummvm-rg350-a22fd021e9fe1e798bf72c537cce482268d1c9ed.tar.bz2
scummvm-rg350-a22fd021e9fe1e798bf72c537cce482268d1c9ed.zip
Move the LZSS code to the Groovie namespace.
svn-id: r46867
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/lzss.cpp4
-rw-r--r--engines/groovie/lzss.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/groovie/lzss.cpp b/engines/groovie/lzss.cpp
index 750625d70d..889a12bd12 100644
--- a/engines/groovie/lzss.cpp
+++ b/engines/groovie/lzss.cpp
@@ -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 @@ uint32 LzssReadStream::read(void *buf, uint32 size) {
return size;
}
+
+} // End of Groovie namespace
diff --git a/engines/groovie/lzss.h b/engines/groovie/lzss.h
index 2aa0816252..f78bc20351 100644
--- a/engines/groovie/lzss.h
+++ b/engines/groovie/lzss.h
@@ -25,6 +25,8 @@
#include "common/stream.h"
+namespace Groovie {
+
class LzssReadStream : public Common::ReadStream {
private:
uint8 *_outLzssBufData;
@@ -40,3 +42,5 @@ public:
bool eos() const;
uint32 read(void *buf, uint32 size);
};
+
+} // End of Groovie namespace