diff --git a/Adventures in Lestoria/SaveFile.cpp b/Adventures in Lestoria/SaveFile.cpp index 5f0aa8ea..708477fd 100644 --- a/Adventures in Lestoria/SaveFile.cpp +++ b/Adventures in Lestoria/SaveFile.cpp @@ -184,7 +184,7 @@ const void SaveFile::SaveGame(){ std::string fileHash=util::GetHash("save_file_path"_S+std::format("save.{:04}",saveFileID)); saveFile["Hash"].SetString(fileHash); - std::cout<<"Setting Hash to "<='A'&&c<='Z'||c>='a'&&c<='z'||c>='0'&&c<='9'||std::find(uriReserved.begin(),uriReserved.end(),c)!=uriReserved.end())return std::move(str)+c; - + std::string convertedChar=std::format("%{:02x}",c); std::for_each(convertedChar.begin(),convertedChar.end(),[](char&c){c=char(std::toupper(c));}); return std::move(str)+convertedChar; diff --git a/Adventures in Lestoria/State_GameHub.cpp b/Adventures in Lestoria/State_GameHub.cpp index f1219ed5..b64029b6 100644 --- a/Adventures in Lestoria/State_GameHub.cpp +++ b/Adventures in Lestoria/State_GameHub.cpp @@ -77,6 +77,7 @@ void State_GameHub::OnLevelLoad(){ } void State_GameHub::OnUserUpdate(AiL*game){ State_GameRun::OnUserUpdate(game); + game->ClearTimedOutGarbage(); } void State_GameHub::Draw(AiL*game){ diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 8375bde6..9fed3cf1 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 0 #define VERSION_PATCH 0 -#define VERSION_BUILD 8579 +#define VERSION_BUILD 8582 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/olcUTIL_DataFile.h b/Adventures in Lestoria/olcUTIL_DataFile.h index a2dd40a9..d80c2af1 100644 --- a/Adventures in Lestoria/olcUTIL_DataFile.h +++ b/Adventures in Lestoria/olcUTIL_DataFile.h @@ -267,11 +267,9 @@ namespace olc::utils // Value does not contain separator, so just write out file << property.second.GetString(i) << ((nItems > 1) ? sSeperator : ""); } - std::cout<<"Written: "<