Changes

Jump to navigation Jump to search
67 bytes added ,  07:17, 6 February 2013
Line 145: Line 145:  
| 0x000F02C0
 
| 0x000F02C0
 
| <nowiki>0x80000000 | ID?</nowiki> When bit31 is clear, the specified vertices are not rendered via CmdID 0xXXXF02C1.
 
| <nowiki>0x80000000 | ID?</nowiki> When bit31 is clear, the specified vertices are not rendered via CmdID 0xXXXF02C1.
| This is used immediately before CmdID 0xXXXF02C1. The GL mode for drawing primitives is handled by the client application, not the GPU.
+
| This is used immediately before CmdID 0xXXXF02C1.
 
|-
 
|-
 
| 0xXXXF02C1
 
| 0xXXXF02C1
| float
+
| float X coordinate for the first vertex
| This is used for vertices, the parameter value is unknown. CmdID is <nowiki>0x000F02C1 | ((totalvertices<<22) - 0x100000).</nowiki> The 16-byte vertex entries is the data following the command.
+
| CmdID is <nowiki>0x000F02C1 | ((totalvertices<<22) - 0x100000).</nowiki> The vertex entries is the data following the command. The first word in the first vertex entry is the Y coordinate.
 
|}
 
|}
   Line 158: Line 158:  
|-
 
|-
 
| 0
 
| 0
| ?
+
| X coordinate, for the first vertex this is stored in the command parameter instead.
 
|-
 
|-
 
| 1
 
| 1
| ?
+
| Y coordinate
 
|-
 
|-
 
| 2
 
| 2
| Y coordinate?
+
| Z coordinate
 
|-
 
|-
 
| 3
 
| 3
| ?
+
| Padding for the last vertex entry
 
|}
 
|}

Navigation menu