summaryrefslogtreecommitdiff
path: root/src/qcommon/huffman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/huffman.c')
-rw-r--r--src/qcommon/huffman.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qcommon/huffman.c b/src/qcommon/huffman.c
index a579944f..82aadad9 100644
--- a/src/qcommon/huffman.c
+++ b/src/qcommon/huffman.c
@@ -40,6 +40,16 @@ void Huff_putBit( int bit, byte *fout, int *offset) {
*offset = bloc;
}
+int Huff_getBloc(void)
+{
+ return bloc;
+}
+
+void Huff_setBloc(int _bloc)
+{
+ bloc = _bloc;
+}
+
int Huff_getBit( byte *fin, int *offset) {
int t;
bloc = *offset;