Changes

395 bytes added ,  01:22, 28 February 2014
Line 180: Line 180:  
|  0x28
 
|  0x28
 
|  0x4
 
|  0x4
|  Offset (relative to DVLE start) to unk2 table
+
|  Offset (relative to DVLE start) to output register table
 
|-
 
|-
 
|  0x2C
 
|  0x2C
 
|  0x4
 
|  0x4
|  Number of entries in unk2 table (each entry is 0x8-byte long)
+
|  Number of entries in output register table (each entry is 0x8-byte long)
 
|-
 
|-
 
|  0x30
 
|  0x30
Line 255: Line 255:  
|  0x4
 
|  0x4
 
|  w (float24)
 
|  w (float24)
 +
|}
 +
 +
Output register table entry :
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
!  Size
 +
!  Description
 +
|-
 +
|  0x0
 +
|  0x4
 +
|  Descriptor ?
 +
|-
 +
|  0x4
 +
|  0x2
 +
|  Output type (see table below)
 +
|-
 +
|  0x6
 +
|  0x2
 +
|  (Register ID) >> 1
 +
|}
 +
 +
Output types :
 +
{| class="wikitable" border="1"
 +
|-
 +
!  ID
 +
!  Description
 +
|-
 +
|  0x0
 +
|  Position
 +
|-
 +
|  0x2
 +
|  Color
 +
|-
 +
|  0x3
 +
|  Texture coordinates
 
|}
 
|}
  
373

edits