Tuesday 20 December 2011

New Idea for Item and Block save data!

Since Block2D.blockID and Item2D.itemID are shorts, and I only use the positive parts, I could store the data as ushorts (positive only Int16s) without needing to waste more space and Items would just be short.Max + Item2D.itemID

No comments:

Post a Comment