|
|
|
@ -104,6 +104,8 @@ InputGroup AiL::KEY_BACK; |
|
|
|
|
InputGroup AiL::KEY_START; |
|
|
|
|
InputGroup AiL::KEY_SELECT; |
|
|
|
|
|
|
|
|
|
InputGroup AiL::KEY_SCROLL; |
|
|
|
|
|
|
|
|
|
#ifndef __EMSCRIPTEN__ |
|
|
|
|
::discord::Core*Discord{}; |
|
|
|
|
#endif |
|
|
|
@ -172,6 +174,9 @@ AiL::AiL() |
|
|
|
|
std::string AUDIO_CONFIG = CONFIG_PATH + "audio_config"_S; |
|
|
|
|
utils::datafile::Read(DATA,AUDIO_CONFIG); |
|
|
|
|
|
|
|
|
|
std::string INTERFACE_CONFIG = CONFIG_PATH + "interface_config"_S; |
|
|
|
|
utils::datafile::Read(DATA,INTERFACE_CONFIG); |
|
|
|
|
|
|
|
|
|
std::string ENVIRONMENTAL_AUDIO_CONFIG = CONFIG_PATH + "environmental_audio_config"_S; |
|
|
|
|
utils::datafile::Read(DATA,ENVIRONMENTAL_AUDIO_CONFIG); |
|
|
|
|
|
|
|
|
@ -2402,6 +2407,9 @@ void AiL::InitializeDefaultKeybinds(){ |
|
|
|
|
KEY_START.AddKeybind({CONTROLLER,static_cast<int>(GPButtons::START)}); |
|
|
|
|
KEY_SELECT.AddKeybind({KEY,ESCAPE}); |
|
|
|
|
KEY_SELECT.AddKeybind({CONTROLLER,static_cast<int>(GPButtons::SELECT)}); |
|
|
|
|
|
|
|
|
|
KEY_SCROLL.AddKeybind({ANALOG,static_cast<int>(GPAxes::LY)}); |
|
|
|
|
KEY_SCROLL.AddKeybind({ANALOG,static_cast<int>(GPAxes::RY)}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void AiL::SetBossNameDisplay(std::string name,float time){ |
|
|
|
|