Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Weissblatt Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Image Formats
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Headers === Each Doom picture starts with a header, indexing the offsets of each column. When a picture is rendered, the engine starts drawing each column at the offset given in <code>columnofs</code> and draws all posts it finds until the next column starting with <code>0xFF</code> (column terminator byte). {| class="wikitable" |+ Patch header data structure !Field !Type !Byte size !Byte offset !Description |- |width |uint16_t |2 |0 |Graphic width (Little Endian) |- |height |uint16_t |2 |2 |Graphic height (Little Endian) |- |leftoffset |int16_t |2 |4 |Pixel offset from the left side (Little Endian) |- |topoffset |int16_t |2 |6 |Pixel offset from the top (Little Endian) |- |columnofs |uint32_t[] |4 * width |8 |Array of column offsets relative to the beginning of this header (Little Endian) |}
Summary:
Please note that all contributions to Weissblatt Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Weissblatt Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Image Formats
(section)
Add topic