Commit Graph

11 Commits

Author SHA1 Message Date
RichieSams
bad28dc158 ZVISION: Standardize includes order and format
Format is:
common/scummsys.h    (Only if a .cpp file)

header file for this file (Only if a .cpp file)

zengine includes

other includes, grouped by module
2013-10-02 09:10:00 -05:00
RichieSams
ffaffa2bc4 ZVISION: Convert all for-loops to use pre-increment instead of post-increment 2013-10-02 09:09:53 -05:00
RichieSams
01238925da ZVISION: Fix curly braces formatting 2013-10-02 09:09:51 -05:00
richiesams
8ec0a90611 ZVISION: Convert _blockSize to an anonymous enum 2013-08-04 13:32:58 -05:00
richiesams
f1135292d0 ZVISION: Optimize integer type usages
The general thought is int is faster than int16 or byte. So if you can afford the
space, use it over int16 or byte. Also, only use int32 when you specifically need
the 32 bits.
2013-08-04 13:32:55 -05:00
richiesams
4713640779 ZVISION: Remove extraneous member variable 2013-08-04 13:32:29 -05:00
richiesams
47161ef30d ZVISION: LZSSReadStream - Decompress directly to the destination buffer instead of an intermediate buffer 2013-08-04 13:32:27 -05:00
richiesams
8de12fcbd2 ZVISION: Add underscore prefix to public static variable names 2013-08-04 13:32:19 -05:00
richiesams
ec7915bcb9 ZVISION: Fix eos checking in LzssReadStream 2013-08-04 13:32:06 -05:00
richiesams
ca89f76798 ZVISION: Move early break out above the for loop. LzssReadStream::decompressBytes()
The other code would go through each of the for loops and do nothing due to EOS.
2013-08-04 13:32:05 -05:00
richiesams
89693d4074 ZVISION: Create class for decompressing and reading LZSS 2013-08-04 13:32:04 -05:00