Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




index f02fea6..19b47a9 100644 (file)
--- a/SComp.cpp
+++ b/SComp.cpp
@@ -92,6 +92,25 @@ typedef struct {
 unsigned int FillInput(char *lpvBuffer, unsigned int *lpdwSize, void *param);
 void FillOutput(char *lpvBuffer, unsigned int *lpdwSize, void *param);
 
+const unsigned int UNSUPPORTED_COMPRESSION   = (0xFF ^ (0x40 | 0x80 | 0x01
+#ifdef USE_ZLIB
+       | 0x02
+#endif
+       | 0x08
+#ifdef USE_BZIP2
+       | 0x10
+#endif
+       ));
+const unsigned int UNSUPPORTED_DECOMPRESSION = (0xFF ^ (0x40 | 0x80 | 0x01
+#ifdef USE_ZLIB
+       | 0x02
+#endif
+       | 0x08
+#ifdef USE_BZIP2
+       | 0x10
+#endif
+       ));
+
 CompressFunc CompressionFunctions[] =
 {
        {0x40, CompressWaveMono},