Release builds of the game should hide the debug console by default and instead log to a debugging file. Release Build 8413.

This commit is contained in:
2024-03-25 14:15:37 -05:00
parent cb39f0859b
commit 758696d28b
18 changed files with 102 additions and 85 deletions
+2 -2
View File
@@ -174,13 +174,13 @@ void Input::Initialize(){
void Input::LoadSteamButtonIcons(){
GFX.Unlock();
std::cout<<std::format("Steam Icons may be required... Loading in {} icons",int(k_EInputActionOrigin_Count))<<std::endl;
LOG(std::format("Steam Icons may be required... Loading in {} icons",int(k_EInputActionOrigin_Count)));
for(int i=1;i<k_EInputActionOrigin_Count;i++){
const char*imageName{SteamInput()->GetGlyphPNGForActionOrigin(EInputActionOrigin(i),k_ESteamInputGlyphSize_Small,0U)};
if(imageName!=nullptr){
std::string loadImage{imageName};
if(loadImage.length()>0&&!GFX.count(loadImage)){
std::cout<<std::format("Loading steam image {}",loadImage)<<std::endl;
LOG(std::format("Loading steam image {}",loadImage));
GFX[loadImage].Load(loadImage);
}
}