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>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
41 <ClCompile Include="daemons.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
42 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
43 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
44 <ClCompile Include="eat.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
45 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
46 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
47 <ClCompile Include="effects.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
48 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
49 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
50 <ClCompile Include="encumb.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
51 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
52 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
53 <ClCompile Include="fight.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
54 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
55 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
56 <ClCompile Include="init.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
57 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
58 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
59 <ClCompile Include="io.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
60 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
61 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
62 <ClCompile Include="list.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
63 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
64 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
65 <ClCompile Include="main.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
66 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
67 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
68 <ClCompile Include="maze.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
69 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
70 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
71 <ClCompile Include="mdport.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
72 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
73 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
74 <ClCompile Include="misc.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
75 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
76 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
77 <ClCompile Include="monsters.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
78 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
79 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
80 <ClCompile Include="move.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
81 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
82 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
83 <ClCompile Include="new_level.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
84 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
85 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
86 <ClCompile Include="options.c">
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
87 <Filter>Source Files</Filter>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
88 </ClCompile>
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
89 <ClCompile Include="outside.c">