Merged build 0.7.6

This commit is contained in:
Pieter Hulshoff 2016-08-25 15:28:45 +02:00
commit f8fffad95b
4 changed files with 10 additions and 3 deletions

View File

@ -53,7 +53,12 @@ void AttractMode::update(float dt, Page &page)
{
elapsedTime_ = 0;
isActive_ = false;
page.setScrolling(Page::ScrollDirectionIdle);
}
}
}
bool AttractMode::isActive()
{
return isActive_;
}

View File

@ -24,6 +24,7 @@ public:
void reset();
void update(float dt, Page &page);
float idleTime;
bool isActive();
private:
bool isActive_;

View File

@ -724,7 +724,8 @@ RetroFE::RETROFE_STATE RetroFE::processUserInput(Page *page)
!input_.keystate(UserInput::KeyCodeDown) &&
!input_.keystate(UserInput::KeyCodeRight) &&
!input_.keystate(UserInput::KeyCodePageUp) &&
!input_.keystate(UserInput::KeyCodePageDown))
!input_.keystate(UserInput::KeyCodePageDown) &&
!attract_.isActive())
{
if (page->isMenuScrolling())
state = RETROFE_HIGHLIGHT_REQUEST;

View File

@ -20,7 +20,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "7";
std::string retrofe_version_build = "5";
std::string retrofe_version_build = "6";
std::string Version::getString()