On Fri, Dec 14, 2007 at 02:21:56PM -0600, Kizul Emeraldfire wrote: > On Dec 14, 2007 1:18 PM, <[EMAIL PROTECTED]> wrote: > > james > 2007-12-14 11:18:38 -0800 (Fri, 14 Dec 2007) > 134 > Save 16 bit inventory data (in addition to 8-bit) > The flag to tell game to actually *load* this 16-bit inventory data > is not set yet. > --- > U wip/moresubs.bas > > Just a question, but what's the difference between 8-bit inventory and > 16-bit inventory? :o
Since the dawn of the OHR, inventory data has been stored in a packed 16-bit format, with item ID number in the low 8 bits and the number of items in the high 8 bits. More than a year ago, TeeEmCee re-wrote the item code to store inventory data in a structured type, doing away with my old ugly 8-bit hackery-- however, the SAV format still stored inventory in the 8-bit format. Now that item data is stored in 16-bit format, the final barrier preventing more than 254 items has been lifted. --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
