summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-08 21:40:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-08 21:40:09 +0200
commit13c6cab02a22a461521f9261bb9bbaa8ce51c4b9 (patch)
treeddeaa27d7627cd882b58423da9a2e5b184a1427f /crawl-ref/source/tilesdl.h
parenta7e9368205d063d909ea949a912e846997a7636f (diff)
downloadcrawl-ref-13c6cab02a22a461521f9261bb9bbaa8ce51c4b9.tar.gz
crawl-ref-13c6cab02a22a461521f9261bb9bbaa8ce51c4b9.zip
Bring sanity to enums by making them diffable/patchable.
Diffstat (limited to 'crawl-ref/source/tilesdl.h')
-rw-r--r--crawl-ref/source/tilesdl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/tilesdl.h b/crawl-ref/source/tilesdl.h
index 0714c5ebe8..f6f9edaf74 100644
--- a/crawl-ref/source/tilesdl.h
+++ b/crawl-ref/source/tilesdl.h
@@ -37,7 +37,7 @@ enum key_mod
MOD_NONE = 0x0,
MOD_SHIFT = 0x1,
MOD_CTRL = 0x2,
- MOD_ALT = 0x4
+ MOD_ALT = 0x4,
};
struct MouseEvent
@@ -46,7 +46,7 @@ struct MouseEvent
{
PRESS,
RELEASE,
- MOVE
+ MOVE,
};
enum mouse_event_button
@@ -56,7 +56,7 @@ struct MouseEvent
MIDDLE = 0x02,
RIGHT = 0x04,
SCROLL_UP = 0x08,
- SCROLL_DOWN = 0x10
+ SCROLL_DOWN = 0x10,
};
// Padding for ui_event
@@ -155,7 +155,7 @@ protected:
TAB_SPELL,
TAB_MEMORISE,
TAB_MONSTER,
- TAB_MAX
+ TAB_MAX,
};
enum LayerID
@@ -163,7 +163,7 @@ protected:
LAYER_NORMAL,
LAYER_CRT,
LAYER_TILE_CONTROL,
- LAYER_MAX
+ LAYER_MAX,
};
class Layer