packbits

I only need to save 2 of 8 bits from the world flags, so a small amount of compression is in order. The easiest thing to do is simply remove the other bits from the fields as it's put into the savegame database. turns a 10k structure into a 2.5k.

About this Entry

This page contains a single entry by Pete Shanahan published on August 7, 2004 1:23 AM.

ATM Machines! ATM Machines! was the previous entry in this blog.

beaming is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.