loftar wrote:Resource.java, line 472 wrote:- Code: Select all
o = cdec(buf, 7);
It's stored as a pair of signed 16-bit numbers starting at byte 7 in the resources' image layers.
Image Class in Resource class get an array of bytes where 11 or 12 first bytes stores some data about image. Is that data transfered from server or is it stored inside each image?
It's pain in the ass to write out all those offsets for each image. There must be some way to easily get them. Now only solutions are:
-stored on server and transfered to client each time
-stored in each image as additional data and need to be decoded out
-calculated by some miracle math.
That is all what interests me today

Would speed up some of my work I'm working on past few days.