Code: Select all
FSH Fileformat (note: lots of Furcadia's .FSHs don't conform to this standard,
which is bloody useful. Especially r.e. the chunk sizes):
File:
unsigned short - chunk count
chunk count lots of unsigned short - chunk sizes in bytes
chunk count lots of chunk_structs - chunks
chunk_struct:
unsigned byte - width of entry
unsigned byte - height of entry
signed byte - X offset of entry
signed byte - Y offset of entry (though when drawing bottom height + y offset is forced to be less than bottom of floor tile)
width * height bytes - entries (refer to palette in PCX)
Note, stored as a windows bitmap, ie.
reflected (last row stored first).
[edit]
Well for not posting more, I'll just put this last-minute question I have in this same post
How can I know the link clicked in a WebGadget button? for example, if someone clicks a link, for download, how can I block the download and copy the URL to the clipboard or to some variable?

