|
|
@ -327,10 +327,12 @@ bool AiL::OnUserCreate(){ |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
std::cout<<"Steam API failed to initialize!"<<std::endl; |
|
|
|
std::cout<<"Steam API failed to initialize!"<<std::endl; |
|
|
|
} |
|
|
|
} |
|
|
|
SteamUtils()->SetWarningMessageHook([](int severity,const char*message){ |
|
|
|
if(SteamAPI_IsSteamRunning()){ |
|
|
|
std::cout<<std::format("STEAM[{}]: {}",severity,std::string(message))<<std::endl; |
|
|
|
SteamUtils()->SetWarningMessageHook([](int severity,const char*message){ |
|
|
|
}); |
|
|
|
std::cout<<std::format("STEAM[{}]: {}",severity,std::string(message))<<std::endl; |
|
|
|
SteamInput()->Init(false); |
|
|
|
}); |
|
|
|
|
|
|
|
SteamInput()->Init(false); |
|
|
|
|
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
gameInitialized=true; |
|
|
|
gameInitialized=true; |
|
|
|