mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
64600826b7
## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change Touch piano mode. Allows piano keys to be played with the touch screen. Since the touch screen is still needed for menu navigation (including during songs) a toggle switch is added so that the user can flip between navigation mode and piano mode. The touch targets are pixel-perfect. Don't let the game's piano animations fool you. ## Testing
18 lines
337 B
C++
18 lines
337 B
C++
#pragma once
|
|
|
|
#include "games/game.h"
|
|
|
|
namespace games::nost {
|
|
|
|
extern bool ENABLE_POKE;
|
|
extern bool ENABLE_TOUCH_MODE;
|
|
|
|
class NostGame : public games::Game {
|
|
public:
|
|
NostGame();
|
|
virtual void attach() override;
|
|
virtual void post_attach() override;
|
|
virtual void detach() override;
|
|
};
|
|
}
|