Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
trs:fundamentals [2019/08/09 05:50] – [16-bit Texture Tile] stohrendorftrs:fundamentals [2019/08/09 05:50] – [32-bit Texture Tile] stohrendorf
Line 317: Line 317:
 ==== 32-bit Texture Tile ==== ==== 32-bit Texture Tile ====
  
-Each ''%%uint32_t%%'' represents a pixel whose colour is of the form ARGB, (A = most significant byte), each component being one byte.+Each ''%%uint32_t%%'' represents a pixel encoded in ARGB8.
  
 {{anchor:tr4_textile32}} {{anchor:tr4_textile32}}
 <code cpp> <code cpp>
-struct tr4_textile32    // 262144 bytes+struct tr4_image32    // 262144 bytes
 { {
-    uint32_t Tile[256 * 256];+    uint32_t pixels[256 * 256];
 }; };
 </code> </code>
  
trs/fundamentals.txt · Last modified: by zdimension
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0