diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 21:56:23 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 21:56:23 +0000 |
commit | 30a315552f6bd74636cbc46bbaacdf6d6c46415b (patch) | |
tree | a4ddb23c615a98d67cffb97e7cc735e8d969c31a /crawl-ref/source | |
parent | fdb65ed342919c016eea9b14523cf2b50e48f668 (diff) | |
download | crawl-ref-30a315552f6bd74636cbc46bbaacdf6d6c46415b.tar.gz crawl-ref-30a315552f6bd74636cbc46bbaacdf6d6c46415b.zip |
Add more comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5045 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/ouch.cc | 15 | ||||
-rw-r--r-- | crawl-ref/source/spl-data.h | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 3558234a13..5c35128170 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -84,7 +84,7 @@ static void end_game( scorefile_entry &se ); static void item_corrode( int itco ); -/* NOTE: DOES NOT check for hellfire!!! */ +// NOTE: DOES NOT check for hellfire!!! int check_your_resists(int hurted, beam_type flavour) { int resist; @@ -254,7 +254,7 @@ int check_your_resists(int hurted, beam_type flavour) default: break; - } /* end switch */ + } // end switch return (hurted); } // end check_your_resists() @@ -601,13 +601,14 @@ void expose_items_to_element(beam_type flavour, int x, int y) } } -// Handle side-effects for exposure to element other than damage. -// This function exists because some code calculates its own damage -// instead of using check_resists and we want to isolate all the special +// Handle side-effects for exposure to element other than damage. This +// function exists because some code calculates its own damage isntead +// of using check_your_resists() and we want to isolate all the special // code they keep having to do... namely condensation shield checks, -// you really can't expect this function to even be called for much else. +// you really can't expect this function to even be called for much +// else. // -// This function now calls _expose_invent_to_element if strength > 0. +// This function now calls _expose_invent_to_element() if strength > 0. // // XXX: this function is far from perfect and a work in progress. void expose_player_to_element(beam_type flavour, int strength) diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h index 3b4741f744..d065a80862 100644 --- a/crawl-ref/source/spl-data.h +++ b/crawl-ref/source/spl-data.h @@ -3,6 +3,8 @@ */ /* + XXX: Some of these notes are obsolete now! + In case anyone ever wants to add new spells, or just understand my reasons for putting a particular spell into a particular type, read on: |