View previous topic :: View next topic |
Author |
Message |
MarkJ
Joined: 11 Jul 2008 Posts: 3
|
Posted: Wed Jul 16, 2008 7:25 am Post subject: orgSize in masked images |
|
|
I am trying to generate some graphics for ROTT at the moment, and was wondering what the first 16-bit integer of masked textures (door open/close animations, etc) is meant to be.
According to HACKROTT, it's meant to be the "Grabbed size of the original graphic". But when I read masked textures (like the formentioned door ones) it is always 64. I thought it might have been an endian-related issue, but the x and y dimensions/offsets read correctly.
Anyone know what this value is for and how it is calculated, or if it is actually important. Thanks. |
|
 |
|
 |
Darkhaven
Joined: 05 Nov 2010 Posts: 3 Location: New Orleans, LA
|
Posted: Sun Dec 12, 2010 2:43 pm Post subject: |
|
|
If I recall correctly, it's a leftover from an early iteration of Doom's graphic format which required that field. It may be necessary for reading masked textures and sprites, but isn't necessary for solid walls and door textures. |
|
 |
|
 |
|