Skip to content

Commit

Permalink
DM: Add G0234_ai_Graphic559_DirectionToStepNorthCount, G0233_ai_Graph…
Browse files Browse the repository at this point in the history
…ic559_DirectionToStepEastCount, G0047_s_Graphic562_Box_ChampionPortrait
  • Loading branch information
Bendegúz Nagy committed Aug 26, 2016
1 parent 11e779e commit 3342757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions engines/dm/champion.cpp
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions engines/dm/dm.cpp
Expand Up @@ -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); }
Expand Down

0 comments on commit 3342757

Please sign in to comment.