diff options
author | Paul Gilbert | 2016-04-05 21:14:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-05 21:14:34 -0400 |
commit | 19e4bca41c6ecc1f4f71f04d919af75bc14f2d58 (patch) | |
tree | 3e88580f0dae7be8c5be93d25cc8cfa285a999fc /engines/titanic/support | |
parent | 4e3ae0cf5642e62885e19ada83f922dd2fb91e1c (diff) | |
download | scummvm-rg350-19e4bca41c6ecc1f4f71f04d919af75bc14f2d58.tar.gz scummvm-rg350-19e4bca41c6ecc1f4f71f04d919af75bc14f2d58.tar.bz2 scummvm-rg350-19e4bca41c6ecc1f4f71f04d919af75bc14f2d58.zip |
TITANIC: Set up cursors enum with better names
Diffstat (limited to 'engines/titanic/support')
-rw-r--r-- | engines/titanic/support/mouse_cursor.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/support/mouse_cursor.h | 30 |
2 files changed, 17 insertions, 17 deletions
diff --git a/engines/titanic/support/mouse_cursor.cpp b/engines/titanic/support/mouse_cursor.cpp index 6db3618003..c4c57c6f07 100644 --- a/engines/titanic/support/mouse_cursor.cpp +++ b/engines/titanic/support/mouse_cursor.cpp @@ -50,9 +50,9 @@ static const int CURSOR_DATA[NUM_CURSORS][4] = { }; CMouseCursor::CMouseCursor(CScreenManager *screenManager) : - _screenManager(screenManager), _cursorId(CURSOR_15) { + _screenManager(screenManager), _cursorId(CURSOR_HOURGLASS) { loadCursorImages(); - setCursor(CURSOR_1); + setCursor(CURSOR_ARROW); } CMouseCursor::~CMouseCursor() { diff --git a/engines/titanic/support/mouse_cursor.h b/engines/titanic/support/mouse_cursor.h index 507f4ecc17..28e13a82c4 100644 --- a/engines/titanic/support/mouse_cursor.h +++ b/engines/titanic/support/mouse_cursor.h @@ -31,21 +31,21 @@ namespace Titanic { #define NUM_CURSORS 15 enum CursorId { - CURSOR_1 = 1, - CURSOR_2 = 3, - CURSOR_3 = 3, - CURSOR_4 = 4, - CURSOR_5 = 5, - CURSOR_6 = 6, - CURSOR_7 = 7, - CURSOR_8 = 8, - CURSOR_9 = 9, - CURSOR_10 = 10, - CURSOR_11 = 11, - CURSOR_12 = 12, - CURSOR_13 = 13, - CURSOR_14 = 14, - CURSOR_15 = 15 + CURSOR_ARROW = 1, + CURSOR_MOVE_LEFT = 2, + CURSOR_MOVE_RIGHT = 3, + CURSOR_MOVE_FORWARD = 4, + CURSOR_MOVE_UP = 5, + CURSOR_MOVE_DOWN1 = 6, + CURSOR_MOVE_FORWARD2 = 7, + CURSOR_HAND = 8, + CURSOR_STAR = 9, + CURSOR_INVALID = 10, + CURSOR_MAGNIFIER = 11, + CURSOR_ARROW2 = 12, + CURSOR_BACKWARDS = 13, + CURSOR_DOWN = 14, + CURSOR_HOURGLASS = 15 }; class CScreenManager; |