Changes

439 bytes added ,  03:53, 7 February 2013
no edit summary
Line 56: Line 56:  
|-
 
|-
 
| 0x000F02C0
 
| 0x000F02C0
| <nowiki>0x80000000 | Type</nowiki>
+
| <nowiki>0x80000000 | CoordinateType</nowiki>
| This is used immediately before CmdID 0xXXXF02C1. This type field controls the command parameter buffer type, 0x00 is for regular vertices.
+
| This is used immediately before CmdID 0xXXXF02C1. This type field controls the command parameter buffer type.
 
|-
 
|-
 
| 0xXXXF02C1
 
| 0xXXXF02C1
| float X coordinate for the first vertex
+
| First word in the first coordinate entry
| The vertex entries is the data following the command.
+
| A list of coordinate entries follow this command.
 
|}
 
|}
   −
=== Vertex Entry ===
+
=== Coordinate Entry ===
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  Index Word
 
!  Index Word
Line 77: Line 77:  
| 2
 
| 2
 
| float Z coordinate
 
| float Z coordinate
 +
|}
 +
 +
=== Coordinate Types ===
 +
{| class="wikitable" border="1"
 +
!  Value
 +
!  Entries per chunk
 +
!  Description
 +
|-
 +
| 0x00
 +
| 4
 +
| Geometry vertex
 +
|-
 +
| 0x04
 +
| 4
 +
| ?
 +
|-
 +
| 0x08
 +
| 2
 +
| ?
 +
|-
 +
| 0x14
 +
| <=30
 +
| ?
 +
|-
 +
| 0x4C
 +
| 4
 +
| ?
 +
|-
 +
| 0x50, 0x53, and 0x56
 +
| 1
 +
| ?
 +
|-
 +
| 0x51, 0x54, and 0x57
 +
| 1
 +
| ?
 +
|-
 +
| 0x52, 0x55, and 0x58
 +
| 1
 +
| ?
 +
|-
 +
| 0x59
 +
| 1
 +
| Unknown, the entry data is floats converted from s32s.
 +
|-
 +
| 0x5A
 +
| 2
 +
| ?
 +
|-
 +
| 0x5C
 +
| 1
 +
| ?
 +
|-
 +
| 0x0A
 +
| 4
 +
| ?
 +
|-
 +
| 0x0B
 +
| 3
 +
| ?
 
|}
 
|}