Line 405: |
Line 405: |
| ''Note:'' The following information may not be 100% accurate. | | ''Note:'' The following information may not be 100% accurate. |
| | | |
| + | * '''connectedItemPairs''': Array of AnchoredObjects index pairs where the first item (of pair) is the item that will delete the second item (of pair). Example: (87, 110) - item #87 will delete item #110, when #87 gets deleted. This is only available in ManiaPlanet. |
| * '''snappedBlocks''': ''Values'' are ''indexes'' of the Blocks array (chunk 0x01F). -1 = snapped to an item and you should use the index of snappedItems. | | * '''snappedBlocks''': ''Values'' are ''indexes'' of the Blocks array (chunk 0x01F). -1 = snapped to an item and you should use the index of snappedItems. |
| * '''snappedItems''': ''Values'' are ''indexes'' of the AnchoredObjects array (this chunk). -1 = snapped to a block and you should use the index of snappedBlocks. | | * '''snappedItems''': ''Values'' are ''indexes'' of the AnchoredObjects array (this chunk). -1 = snapped to a block and you should use the index of snappedBlocks. |
Line 417: |
Line 418: |
| for each item: | | for each item: |
| node item (CGameCtnAnchoredObject, direct node) | | node item (CGameCtnAnchoredObject, direct node) |
− | if version >= 1 && version != 5: | + | if version >= 1 && version < 5: |
− | uint32 size | + | uint32 connectedItemPairCount |
− | uint32[size] // unknown atm | + | uint2[connectedItemPairs] // 2 uint32 per element |
| if version >= 5: // TM2020 | | if version >= 5: // TM2020 |
| + | if version >= 6: |
| + | uint32 |
| uint32 snappedBlockCount | | uint32 snappedBlockCount |
| uint32 snappedBlocks[snappedBlockCount] | | uint32 snappedBlocks[snappedBlockCount] |