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

@@ -235,6 +235,7 @@
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MultiProcessorCompilation>
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</MultiProcessorCompilation>
</ClCompile>
<ClCompile Include="src\utils.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\BRClient.h" />
@@ -243,8 +244,10 @@
<ClInclude Include="src\BROwner.h" />
<ClInclude Include="src\BRShop.h" />
<ClInclude Include="src\BRTransaction.h" />
<ClInclude Include="src\FormIds.h" />
<ClInclude Include="src\NativeFunctions.h" />
<ClInclude Include="src\PCH.h" />
<ClInclude Include="src\utils.h" />
<ClInclude Include="src\version.h" />
</ItemGroup>
<ItemGroup>