annotate roguelike.sln @ 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 
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
2 Microsoft Visual Studio Solution File, Format Version 12.00
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
3 # Visual Studio 14
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
4 VisualStudioVersion = 14.0.23107.0
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
5 MinimumVisualStudioVersion = 10.0.40219.1
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rogue3", "rogue3\rogue3.vcxproj", "{0CD113D6-2654-41FC-8A77-240A0CCF7BC5}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
7 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rogue4", "rogue4\rogue4.vcxproj", "{E36D1F88-95A9-425B-A538-AAADDD34FE1E}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
9 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rogue5", "rogue5\rogue5.vcxproj", "{A27E881B-F9E5-45CB-802B-D9E46B2E2438}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
11 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
12 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "srogue", "srogue\srogue.vcxproj", "{FE28341F-1129-4A66-A170-5486CAEF3464}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
13 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
14 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "arogue5", "arogue5\arogue5.vcxproj", "{F9B8E5FE-F748-453D-8A6B-012D28841D5A}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
15 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
16 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "arogue7", "arogue7\arogue7.vcxproj", "{93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
17 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
18 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xrogue", "xrogue\xrogue.vcxproj", "{DE1CC319-96C4-40AA-A144-8F00B4C73CC9}"
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
19 EndProject
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
20 Global
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
21 GlobalSection(SolutionConfigurationPlatforms) = preSolution
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
22 Debug|x64 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
23 Debug|x86 = Debug|x86
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
24 Release|x64 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
25 Release|x86 = Release|x86
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
26 EndGlobalSection
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
27 GlobalSection(ProjectConfigurationPlatforms) = postSolution
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
28 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
29 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
30 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
31 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
32 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
33 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
34 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
35 {0CD113D6-2654-41FC-8A77-240A0CCF7BC5}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
36 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
37 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
38 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
39 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
40 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
41 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
42 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
43 {E36D1F88-95A9-425B-A538-AAADDD34FE1E}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
44 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
45 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
46 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
47 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
48 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
49 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
50 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
51 {A27E881B-F9E5-45CB-802B-D9E46B2E2438}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
52 {FE28341F-1129-4A66-A170-5486CAEF3464}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
53 {FE28341F-1129-4A66-A170-5486CAEF3464}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
54 {FE28341F-1129-4A66-A170-5486CAEF3464}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
55 {FE28341F-1129-4A66-A170-5486CAEF3464}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
56 {FE28341F-1129-4A66-A170-5486CAEF3464}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
57 {FE28341F-1129-4A66-A170-5486CAEF3464}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
58 {FE28341F-1129-4A66-A170-5486CAEF3464}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
59 {FE28341F-1129-4A66-A170-5486CAEF3464}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
60 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
61 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
62 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
63 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
64 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
65 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
66 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
67 {F9B8E5FE-F748-453D-8A6B-012D28841D5A}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
68 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
69 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
70 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
71 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
72 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
73 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
74 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
75 {93C1D81C-0424-4DC3-8671-D1B5F4BB6E5F}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
76 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Debug|x64.ActiveCfg = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
77 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Debug|x64.Build.0 = Debug|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
78 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Debug|x86.ActiveCfg = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
79 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Debug|x86.Build.0 = Debug|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
80 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Release|x64.ActiveCfg = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
81 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Release|x64.Build.0 = Release|x64
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
82 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Release|x86.ActiveCfg = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
83 {DE1CC319-96C4-40AA-A144-8F00B4C73CC9}.Release|x86.Build.0 = Release|Win32
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
84 EndGlobalSection
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
85 GlobalSection(SolutionProperties) = preSolution
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
86 HideSolutionNode = FALSE
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
87 EndGlobalSection
4146e2a06bc1 Update the Visual Studio project files.
John "Elwin" Edwards
parents:
diff changeset
88 EndGlobal