Add imgui golf mode overlay

This commit is contained in:
Techjar 2019-04-02 17:13:42 -04:00
commit 6c393f9ff4
13 changed files with 156 additions and 10 deletions

View file

@ -114,6 +114,7 @@ public:
void SendPowerButtonEvent();
void RequestGolfControl(PlayerId pid);
void RequestGolfControl();
std::string GetCurrentGolfer();
// Send and receive pads values
bool WiimoteUpdate(int _number, u8* data, const u8 size, u8 reporting_mode);
@ -131,6 +132,10 @@ public:
int InGamePadToLocalPad(int ingame_pad) const;
int LocalPadToInGamePad(int localPad) const;
bool PlayerHasControllerMapped(PlayerId pid) const;
bool LocalPlayerHasControllerMapped() const;
bool IsLocalPlayer(PlayerId pid) const;
static void SendTimeBase();
bool DoAllPlayersHaveGame();
@ -209,8 +214,6 @@ private:
Failure
};
bool LocalPlayerHasControllerMapped() const;
void SendStartGamePacket();
void SendStopGamePacket();