From 01e4cdd1073e10074fc07144baf08cd6e3926f81 Mon Sep 17 00:00:00 2001 From: Philip Edwards Date: Sun, 29 Mar 2020 17:39:35 +1100 Subject: [PATCH] Started working out the last data strructure of R6 maps --- RainbowSix/MAP(r6).bt | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/RainbowSix/MAP(r6).bt b/RainbowSix/MAP(r6).bt index a38d508..d4fcbdd 100644 --- a/RainbowSix/MAP(r6).bt +++ b/RainbowSix/MAP(r6).bt @@ -134,7 +134,10 @@ typedef struct { struct { UINT VertexCount; - UINT VertexIndices[VertexCount]; + if (VertexCount > 0) + { +UINT VertexIndices[VertexCount]; +} UINT FaceCount; UINT FaceIndices[FaceCount]; @@ -765,7 +768,36 @@ struct { LEVELS Levels(LevelCount) ; - BYTE Unknown; + } PLANNING_LEVEL_LIST ; +struct { + BYTE Unknown; + + if (Unknown > 0) + { + CSTRING Room ; + CSTRING ShermanLevel ; + + UINT padding1[2]; + + CSTRING VersionString ; + UINT version; + + struct { + CSTRING Name; + + FLOAT padding2[2]; + + UINT unknowncount; + + + VERTEX_ARRAY Vertices(unknowncount); + + UINT unknowncount2; + + } SHERMAN_LEVEL ; + } +} INSERTION_AREA_LIST ; + CSTRING EndMap ; \ No newline at end of file