Variable size region support, by RevolutionSmythe

This commit is contained in:
Siana Gearz
2011-08-04 22:20:25 +02:00
parent 87070be7e3
commit 174a33beb3
24 changed files with 159 additions and 50 deletions

View File

@@ -79,7 +79,7 @@ public:
F32 dc_offset; // 4 bytes
U16 range; // 2 = 7 ((S16) FP range (breaks if we need > 32K meters in 1 patch)
U8 quant_wbits; // 1 = 8 (upper 4 bits is quant - 2, lower 4 bits is word bits - 2)
U16 patchids; // 2 = 10 (actually only uses 10 bits, 5 for each)
U32 patchids; // 2 = 10 (actually only uses 10 bits, 5 for each)
};
// Compression routines