[Scummvm-cvs-logs] SF.net SVN: scummvm: [30044] scummvm/branches/branch-0-11-0/common

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri Dec 28 09:43:55 CET 2007


Revision: 30044
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30044&view=rev
Author:   eriktorbjorn
Date:     2007-12-28 00:43:54 -0800 (Fri, 28 Dec 2007)

Log Message:
-----------
Added missing files from patch #1858158.

Added Paths:
-----------
    scummvm/branches/branch-0-11-0/common/zlib.cpp
    scummvm/branches/branch-0-11-0/common/zlib.h

Added: scummvm/branches/branch-0-11-0/common/zlib.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/common/zlib.cpp	                        (rev 0)
+++ scummvm/branches/branch-0-11-0/common/zlib.cpp	2007-12-28 08:43:54 UTC (rev 30044)
@@ -0,0 +1,39 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ */
+
+#include "common/zlib.h"
+
+#if defined(USE_ZLIB)
+#include <zlib.h>
+
+namespace Common {
+
+int uncompress(byte *dst, unsigned long *dstLen, const byte *src, unsigned long srcLen) {
+	return ::uncompress(dst, dstLen, src, srcLen);
+}
+
+} // end of namespace Common
+
+#endif
+


Property changes on: scummvm/branches/branch-0-11-0/common/zlib.cpp
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Date Rev Author URL Id
Name: svn:eol-style
   + native

Added: scummvm/branches/branch-0-11-0/common/zlib.h
===================================================================
--- scummvm/branches/branch-0-11-0/common/zlib.h	                        (rev 0)
+++ scummvm/branches/branch-0-11-0/common/zlib.h	2007-12-28 08:43:54 UTC (rev 30044)
@@ -0,0 +1,47 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ */
+
+#include "common/scummsys.h"
+
+#if defined(USE_ZLIB)
+
+#ifndef COMMON_ZLIB_H
+#define COMMON_ZLIB_H
+
+#include <zlib.h>
+
+namespace Common {
+
+enum {
+	ZLIB_OK = Z_OK
+};
+
+int uncompress(byte *dst, unsigned long *dstLen, const byte *src, unsigned long srcLen);
+
+} // end of namespace Common
+
+#endif
+
+#endif
+


Property changes on: scummvm/branches/branch-0-11-0/common/zlib.h
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Date Rev Author URL Id
Name: svn:eol-style
   + native


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