Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Commit

Permalink
reorganize icons in touch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cyxx committed Oct 11, 2017
1 parent 2ac2bc3 commit 07f4067
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions icons.cpp
Expand Up @@ -97,15 +97,14 @@ static const int kButtons_y0 = 172;
static const IconsInitTable _iconsTouchTable[] = {
{ kIconInventory, kOptions_x0, kOptions_y0, kIconActionInventory },
{ kIconOptions, kOptions_x0, kOptions_y0 + 24, kIconActionOptions },
{ kIconTurn180, kDpad_x0, kDpad_y0, kIconActionDirTurn180 },
{ kIconMapUp, kDpad_x0, kDpad_y0 - 24, kIconActionDirUp },
{ kIconMapDown, kDpad_x0, kDpad_y0 + 24, kIconActionDirDown },
{ kIconMapLeft, kDpad_x0 - 24, kDpad_y0, kIconActionDirLeft },
{ kIconMapRight , kDpad_x0 + 24, kDpad_y0, kIconActionDirRight },
{ kIconJump, kButtons_x0, kButtons_y0, kIconActionJump },
{ kIconGun, kButtons_x0 + 32, kButtons_y0, kIconActionGun },
{ kIconAction, kButtons_x0 + 64, kButtons_y0, kIconActionHandUse },
{ kIconRun, kButtons_x0 + 96, kButtons_y0, kIconActionRun },
{ kIconRun, kButtons_x0 + 64, kButtons_y0, kIconActionRun },
{ kIconAction, kButtons_x0 + 96, kButtons_y0, kIconActionHandUse },
};

// return false if the icon should not be presented
Expand Down

0 comments on commit 07f4067

Please sign in to comment.