summaryrefslogtreecommitdiff
path: root/modules/enet/networked_multiplayer_enet.h
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-06-08 20:43:56 -0500
committerFerenc Arn <tagcup@yahoo.com>2017-06-08 23:48:14 -0500
commitf177c1534757973063f244450df063def879d7db (patch)
treef92cf1c822d71acfe5e56ea42b80018abe0e0117 /modules/enet/networked_multiplayer_enet.h
parent01ed55987c4c044191e50ecc94c277b97962ffc7 (diff)
Add zstd compression support.
zstd has much better compression speed and ratio, and better decompression speed than currently available methods. Also set zstd as the default compression method for Compression as well as FileAccessCompressed functions.
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.h')
-rw-r--r--modules/enet/networked_multiplayer_enet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/enet/networked_multiplayer_enet.h b/modules/enet/networked_multiplayer_enet.h
index c20c1af68e..8b971adf55 100644
--- a/modules/enet/networked_multiplayer_enet.h
+++ b/modules/enet/networked_multiplayer_enet.h
@@ -43,7 +43,8 @@ public:
COMPRESS_NONE,
COMPRESS_RANGE_CODER,
COMPRESS_FASTLZ,
- COMPRESS_ZLIB
+ COMPRESS_ZLIB,
+ COMPRESS_ZSTD
};
private: