adds a new HLData object (identity, offset and size of e.g. an ICON) to the data table,
furthermore it extracts the identity and stores it in a seperate table for quicker
access
get access to the palette as a two dimensional field, where the first dimension is the entry number
and the second dimension has red, green and blue at indices 0, 1, 2
this example extracts the red value from the 16th palette color:
...
returns the palette length in bytes, note: In order to receive the number of palette
entries you need to divide this value by 4 (four) since they are aligned to 4-byte-boundaries,
or you can simply use the getPalLengthLW() method