Skip to content

Commit

Permalink
KOTOR: Add ingame gui rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius committed Aug 9, 2018
1 parent f35811c commit 9d5c323
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engines/kotor/gui/ingame/ingame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ void IngameGUI::setPosition(float x, float y) {
_hud->setPosition(x, y);
}

void IngameGUI::setRotation(float angle) {
_hud->setRotation(angle);
}

void IngameGUI::setReturnStrref(uint32 id) {
_hud->setReturnStrref(id);
}
Expand Down
2 changes: 2 additions & 0 deletions src/engines/kotor/gui/ingame/ingame.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class IngameGUI {
float mapPt1X, float mapPt1Y, float mapPt2X, float mapPt2Y);
/** Set the position for the minimap. */
void setPosition(float x, float y);
/** Set the rotation for the minimap arrow. */
void setRotation(float angle);

void setReturnStrref(uint32 id);
void setReturnQueryStrref(uint32 id);
Expand Down

0 comments on commit 9d5c323

Please sign in to comment.