diff options
author | Strangerke | 2016-07-25 14:35:26 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | b174331e71f4c63b2847762acddcf8d20a712cb8 (patch) | |
tree | 61be93d547f0db97ae590e038f84662f98f97bbe /engines/dm/dm.h | |
parent | 63fc9fb27d684d69770cb626963d341c2f1aab77 (diff) | |
download | scummvm-rg350-b174331e71f4c63b2847762acddcf8d20a712cb8.tar.gz scummvm-rg350-b174331e71f4c63b2847762acddcf8d20a712cb8.tar.bz2 scummvm-rg350-b174331e71f4c63b2847762acddcf8d20a712cb8.zip |
DM: refact f293_drawAllChampionStates, f283_viAltarRebirth, f327_isProjectileSpellCast and f326_championShootProjectile. Rename Direction.
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r-- | engines/dm/dm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h index 4d48c94c83..c1881a0638 100644 --- a/engines/dm/dm.h +++ b/engines/dm/dm.h @@ -57,7 +57,7 @@ class DialogMan; void warning(bool repeat, const char *s, ...); -enum direction { +enum Direction { kDirNorth = 0, kDirEast = 1, kDirSouth = 2, @@ -122,12 +122,12 @@ public: -void turnDirRight(direction &dir); -void turnDirLeft(direction &dir); -direction returnOppositeDir(direction dir); // @ M18_OPPOSITE +void turnDirRight(Direction &dir); +void turnDirLeft(Direction &dir); +Direction returnOppositeDir(Direction dir); // @ M18_OPPOSITE uint16 returnPrevVal(uint16 val); // @ M19_PREVIOUS uint16 returnNextVal(uint16 val); // @ M17_NEXT -bool isOrientedWestEast(direction dir); // @ M16_IS_ORIENTED_WEST_EAST +bool isOrientedWestEast(Direction dir); // @ M16_IS_ORIENTED_WEST_EAST #define setFlag(val, mask) ((val) |= (mask)) |