|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(SteamAPI_IsSteamRunning()){ |
|
|
|
SteamUtils()->SetWarningMessageHook([](int severity,const char*message){ |
|
|
|
SteamUtils()->SetWarningMessageHook([](int severity,const char*message){ |
|
|
|
std::cout<<std::format("STEAM[{}]: {}",severity,std::string(message))<<std::endl; |
|
|
|
std::cout<<std::format("STEAM[{}]: {}",severity,std::string(message))<<std::endl; |
|
|
|
}); |
|
|
|
}); |
|
|
|
SteamInput()->Init(false); |
|
|
|
SteamInput()->Init(false); |
|
|
|
|
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
gameInitialized=true; |
|
|
|
gameInitialized=true; |
|
|
|