summaryrefslogtreecommitdiff
path: root/src/qcommon/huffman.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:52:53 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:28 +0000
commitb47a49a03370e7ea42f47623b9f72a5ca799f0e7 (patch)
tree9d64d778ded2971d7ebd05970d903d886bd81436 /src/qcommon/huffman.c
parent09ceb08b95978feb0a9b737f22ac0f662c7465d6 (diff)
* Merge ioq3-r1423
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
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;