annotate arogue7/arogue7.vcxproj.filters @ 245:e7aab31362af

Rogue V[345], Super-Rogue: Fix violet fungi/venus flytraps. Violet fungi (renamed venus flytraps in Rogue V5) do an increasing amount of damage each time they hit. If they miss, you still suffer the same number of HP. This worked by keeping a counter and printing new damage strings into monsters[5].m_stats.s_dmg, which is the "prototype" of that particular monster. Each individual monster has its own damage string. Apparently these were once char *, pointing to the same string as the prototype. When the s_dmg member was changed to be an internal char array, changing the prototype's damage string no longer had any effect on actual monsters. As a result, flytraps did no damage on a hit, or only one point in V5. The mechanism for doing damage on a miss continued to work. This has been fixed by overwriting the individual monster's damage string instead of the prototype's. It is now no longer necessary to reset the damage string when the flytrap is killed. The method for resetting it when the hero teleports away had to be modified. Comments referencing the long-unused xstr have been removed.
author John "Elwin" Edwards
date Sun, 01 May 2016 19:39:56 -0400
parents 4146e2a06bc1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
208
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
3 <ItemGroup>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
4 <Filter Include="Source Files">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
5 <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
6 <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
7 </Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
8 <Filter Include="Header Files">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
9 <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
10 <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
11 </Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
12 <Filter Include="Resource Files">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
13 <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
14 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
15 </Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
16 </ItemGroup>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
17 <ItemGroup>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
18 <ClInclude Include="mach_dep.h">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
19 <Filter>Header Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
20 </ClInclude>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
21 <ClInclude Include="network.h">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
22 <Filter>Header Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
23 </ClInclude>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
24 <ClInclude Include="rogue.h">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
25 <Filter>Header Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
26 </ClInclude>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
27 </ItemGroup>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
28 <ItemGroup>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
29 <ClCompile Include="actions.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
30 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
31 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
32 <ClCompile Include="chase.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
33 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
34 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
35 <ClCompile Include="command.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
36 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
37 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
38 <ClCompile Include="daemon.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
39 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
40 </ClCompile>