summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-06 16:03:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-06 16:03:52 +0000
commit24be3228d463d6b2501cbca9368e14e91ab42182 (patch)
tree5fd30f60a43e1e69188bce4e30646c3e89e288b2 /crawl-ref/source/notes.h
parentf878a03c781fd57fea8447caaecee847ab576d8b (diff)
downloadcrawl-ref-24be3228d463d6b2501cbca9368e14e91ab42182.tar.gz
crawl-ref-24be3228d463d6b2501cbca9368e14e91ab42182.zip
Tutorial (JPEG) and some formatting cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.h')
-rw-r--r--crawl-ref/source/notes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.h b/crawl-ref/source/notes.h
index 6dfa327992..0948334b06 100644
--- a/crawl-ref/source/notes.h
+++ b/crawl-ref/source/notes.h
@@ -15,7 +15,8 @@
#include <vector>
#include <stdio.h>
-enum NOTE_TYPES {
+enum NOTE_TYPES
+{
NOTE_HP_CHANGE = 0, /* needs: new hp, max hp */
NOTE_MAXHP_CHANGE, /* needs: new maxhp */
NOTE_MP_CHANGE, /* needs: new mp, max mp */
@@ -41,7 +42,8 @@ enum NOTE_TYPES {
NOTE_NUM_TYPES
};
-struct Note {
+struct Note
+{
Note();
Note( NOTE_TYPES t, int f = 0, int s = 0, const char* n = 0,
const char* d = 0);