Mercurial > hg > early-roguelike
annotate rogue3/rogue3.vcxproj.filters @ 296:000b1c5b8d63
UltraRogue: fix inventory collision after save and restore.
Inventory letters are based on "identifiers" stored in objects' o_ident
field. Identifiers are allocated by get_ident(), which keeps a list of
objects that have them, to avoid giving the same identifier to multiple
objects.
The list is not stored in the savefile, so after restore, get_ident()
was not aware of existing identifiers. This resulted in picked-up
objects having the same inventory letters as objects restored from the
file.
The restore code now adds all objects with identifiers to the list.
| author | John "Elwin" Edwards |
|---|---|
| date | Mon, 15 Jan 2018 20:20:35 -0500 |
| parents | 4146e2a06bc1 |
| children |
| rev | line source |
|---|---|
| 208 | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| 3 <ItemGroup> | |
| 4 <Filter Include="Source Files"> | |
| 5 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | |
| 6 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | |
| 7 </Filter> | |
| 8 <Filter Include="Header Files"> | |
| 9 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | |
| 10 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | |
| 11 </Filter> | |
| 12 <Filter Include="Resource Files"> | |
| 13 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | |
| 14 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | |
| 15 </Filter> | |
| 16 </ItemGroup> | |
| 17 <ItemGroup> | |
| 18 <ClInclude Include="machdep.h"> | |
| 19 <Filter>Header Files</Filter> | |
| 20 </ClInclude> | |
| 21 <ClInclude Include="mdport.h"> | |
| 22 <Filter>Header Files</Filter> | |
| 23 </ClInclude> | |
| 24 <ClInclude Include="rogue.h"> | |
| 25 <Filter>Header Files</Filter> | |
| 26 </ClInclude> | |
| 27 </ItemGroup> | |
| 28 <ItemGroup> | |
| 29 <ClCompile Include="fight.c"> | |
| 30 <Filter>Source Files</Filter> | |
| 31 </ClCompile> | |
| 32 <ClCompile Include="armor.c"> | |
| 33 <Filter>Source Files</Filter> | |
| 34 </ClCompile> | |
| 35 <ClCompile Include="chase.c"> | |
| 36 <Filter>Source Files</Filter> | |
| 37 </ClCompile> | |
| 38 <ClCompile Include="command.c"> | |
| 39 <Filter>Source Files</Filter> | |
| 40 </ClCompile> | |
|
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards |
