🚧 This incomplete article needs help! Please submit tips and info by pull requests or issues or contacting a maintainer.

...

Structure and fields

Field Type Comments
flags bitfield
Flag Mask Comments
unused 0x1
stencil bitmaps

TagDependency: bitmap

  • Non-cached

Don't use this! This gets dereferenced on map build.

source bitmap

TagDependency: bitmap

  • Non-cached

Don't use this! This gets dereferenced on map build.

stencil sequence index uint16
source sequence index uint16
pad(16)
pad(4)
interpolate colors enum
Option Value Comments
linearly 0x0
faster near empty 0x1
faster near full 0x2
through random noise 0x3
anchor colors enum
Option Value Comments
at both ends 0x0
at empty 0x1
at full 0x2
pad(8)
empty color ColorARGB
Field Type Comments
alpha float
red float
green float
blue float
full color ColorARGB?
pad(20)
unmask distance float
mask distance float
pad(20)
encoded stencil TagDataOffset
  • Cache only
Field Type Comments
size uint32
external uint32
file offset uint32
pointer ptr64

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)