summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-09-14 01:11:56 +0800
committerYohann Ferreira <yohann.ferreira@orange.fr>2011-09-16 07:10:20 +0800
commitd4584d81599f90b54cbc0fdd1c55b8ab0d5f0d68 (patch)
tree545100f845387ad515358c4f5d00c50fa5450ad5 /src/gui/debugwindow.cpp
parentd6248271842aa6edc26135568d92150f69491292 (diff)
downloadmana-d4584d81599f90b54cbc0fdd1c55b8ab0d5f0d68.tar.gz
mana-d4584d81599f90b54cbc0fdd1c55b8ab0d5f0d68.tar.bz2
mana-d4584d81599f90b54cbc0fdd1c55b8ab0d5f0d68.tar.xz
mana-d4584d81599f90b54cbc0fdd1c55b8ab0d5f0d68.zip
Renamed Map::DebugFlags enumerators
Their name is a bit more clear with DEBUG prefix rather than MAP prefix. They're already scoped in the Map class anyway. MAP_NORMAL was changed to DEBUG_NONE to represent no debug flags. Acked-by: Bertram
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index f1b24a49..06d50d5c 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -181,23 +181,23 @@ public:
int flags = 0;
if (mGrid->isSelected())
- flags |= Map::MAP_GRID;
+ flags |= Map::DEBUG_GRID;
if (mCollisionTiles->isSelected())
- flags |= Map::MAP_COLLISION_TILES;
+ flags |= Map::DEBUG_COLLISION_TILES;
if (mBeingCollisionRadius->isSelected())
- flags |= Map::MAP_BEING_COLLISION_RADIUS;
+ flags |= Map::DEBUG_BEING_COLLISION_RADIUS;
if (mBeingPosition->isSelected())
- flags |= Map::MAP_BEING_POSITION;
+ flags |= Map::DEBUG_BEING_POSITION;
if (mBeingPath->isSelected())
- flags |= Map::MAP_BEING_PATH;
+ flags |= Map::DEBUG_BEING_PATH;
if (mMousePath->isSelected())
- flags |= Map::MAP_MOUSE_PATH;
+ flags |= Map::DEBUG_MOUSE_PATH;
if (mSpecial1->isSelected())
- flags |= Map::MAP_SPECIAL1;
+ flags |= Map::DEBUG_SPECIAL1;
if (mSpecial2->isSelected())
- flags |= Map::MAP_SPECIAL2;
+ flags |= Map::DEBUG_SPECIAL2;
if (mSpecial3->isSelected())
- flags |= Map::MAP_SPECIAL3;
+ flags |= Map::DEBUG_SPECIAL3;
viewport->setShowDebugPath(flags);
}