Save and load shelves from server interior_ref_lists

During CreateInteriorRefList, save shelf positions in a separate vector and ignore their buttons. In Load, recreate the shelves and their buttons from the shelf vec.

Also start storing FormIDs in a header file so I don't have to keep passing Keywords into all the functions from Papyrus.
This commit is contained in:
2020-11-21 01:36:14 -05:00
parent 0f1b017158
commit e673ac4642
8 changed files with 285 additions and 45 deletions

View File

@@ -30,6 +30,9 @@
<ClCompile Include="src\BRTransaction.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="src\utils.cpp">
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\PCH.h">
@@ -59,6 +62,12 @@
<ClInclude Include="src\BRTransaction.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="src\utils.h">
<Filter>src</Filter>
</ClInclude>
<ClInclude Include="src\FormIds.h">
<Filter>src</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include=".clang-format" />