fix attack.txt to handle resistance descriptions properly
Merge pull request #305 from fizzix/bugfix

Fix attack.txt to handle resistance descriptions properly. Closes #1740.
Fix compiler warnings.
Apply some more fixes from PowerWyrm from #1661.
Apply PowerWyrm's fix from #1803, closing it at last.
Make picking things up take energy again, and fix autopickup behaviour.  Closes #1759, partial reversionof e8e462c5.
Fix bug where targetting grids with unseen monsters fails to maintain the target.  Closes #1792.
Fix small SDL memory issue
Merge pull request #306 from NickMcConnell/sdlfix

Fix small SDL memory issue
Change store UI to better reflect no selling option.  Closes #1782.
Convert indents to tabs
Fix dodgy overhead map issues.  Potentially fixes #1767.
C89 compliance
Fix up store UI so no-selling can still get free recharges. Further work on #1782