diff options
author | Bendegúz Nagy | 2016-06-19 18:25:21 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 334275756946b6079718bcbed16be3cd72afe0c2 (patch) | |
tree | 7a9af9d283d3906e8c46888835b450896c32f99e | |
parent | 11e779e0a4cdcf00db4ef69940554da0faab91d5 (diff) | |
download | scummvm-rg350-334275756946b6079718bcbed16be3cd72afe0c2.tar.gz scummvm-rg350-334275756946b6079718bcbed16be3cd72afe0c2.tar.bz2 scummvm-rg350-334275756946b6079718bcbed16be3cd72afe0c2.zip |
DM: Add G0234_ai_Graphic559_DirectionToStepNorthCount, G0233_ai_Graphic559_DirectionToStepEastCount, G0047_s_Graphic562_Box_ChampionPortrait
-rw-r--r-- | engines/dm/champion.cpp | 2 | ||||
-rw-r--r-- | engines/dm/dm.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp index 83d520443e..a6b1ff69ba 100644 --- a/engines/dm/champion.cpp +++ b/engines/dm/champion.cpp @@ -4,6 +4,8 @@ namespace DM { +Box gBoxChampionPortrait = {0, 31, 0, 28}; // @ G0047_s_Graphic562_Box_ChampionPortrait + ChampionMan::ChampionMan(DMEngine *vm) : _vm(vm) { _leaderIndex = kChampionNone; } diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 24182e387b..63ddf12be2 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -23,8 +23,8 @@ namespace DM { -int8 dirIntoStepCountEast[4] = {0 /* North */, 1 /* East */, 0 /* West */, -1 /* South */}; -int8 dirIntoStepCountNorth[4] = {-1 /* North */, 0 /* East */, 1 /* West */, 0 /* South */}; +int8 dirIntoStepCountEast[4] = {0 /* North */, 1 /* East */, 0 /* West */, -1 /* South */}; // @ G0233_ai_Graphic559_DirectionToStepEastCount +int8 dirIntoStepCountNorth[4] = {-1 /* North */, 0 /* East */, 1 /* West */, 0 /* South */}; // @ G0234_ai_Graphic559_DirectionToStepNorthCount void turnDirRight(direction &dir) { dir = (direction)((dir + 1) & 3); } void turnDirLeft(direction &dir) { dir = (direction)((dir - 1) & 3); } |