Mercurial > hg > early-roguelike
comparison xrogue/rogue.c @ 300:0250220d8cdd
Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup
remains to be done.
author | John "Elwin" Edwards |
---|---|
date | Fri, 22 Nov 2019 21:18:27 -0500 |
parents | aac28331e71d |
children | 827441d05b3e |
comparison
equal
deleted
inserted
replaced
299:74351bf23e5e | 300:0250220d8cdd |
---|---|
164 * This array lists the names of the character's abilities. It must be ordered | 164 * This array lists the names of the character's abilities. It must be ordered |
165 * according to the ability definitions in rogue.h. | 165 * according to the ability definitions in rogue.h. |
166 */ | 166 */ |
167 | 167 |
168 struct words abilities[NUMABILITIES] = { | 168 struct words abilities[NUMABILITIES] = { |
169 "Intelligence", "Strength", "Wisdom", "Dexterity", "Constitution", "Charisma" | 169 { "Intelligence" }, { "Strength" }, { "Wisdom" }, |
170 { "Dexterity" }, { "Constitution" }, { "Charisma" } | |
170 }; | 171 }; |
171 | 172 |
172 /* | 173 /* |
173 * NOTE: the ordering of the points in this array is critical. They MUST | 174 * NOTE: the ordering of the points in this array is critical. They MUST |
174 * be listed in the following sequence: | 175 * be listed in the following sequence: |