Remove extraneous commenting. Release Build 8582.

pull/57/head
sigonasr2 8 months ago
parent 3c2c19f822
commit 71acd6ef7d
  1. 3
      Adventures in Lestoria/SaveFile.cpp
  2. 1
      Adventures in Lestoria/State_GameHub.cpp
  3. 2
      Adventures in Lestoria/Version.h
  4. 2
      Adventures in Lestoria/olcUTIL_DataFile.h
  5. BIN
      x64/Release/Adventures in Lestoria.exe

@ -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 "<<fileHash<<". Writing to File..."<<std::endl;
utils::datafile::Write(saveFile,"save_file_path"_S+std::format("save.{:04}",saveFileID)); //Once the hash has been computed and added, save the file a second time.
utils::datafile::Write(saveSystemFile,"save_file_path"_S+"system.conf");
utils::datafile metadata;
@ -298,7 +298,6 @@ void SaveFile::LoadFile(){
if(expectedFileHash!=fileHash){
LOG(std::format("WARNING! Filehash for file {} was not identified as proper! Will not load this file!","save_file_path"_S+std::format("save.{:04}",saveFileID)));
LOG("Expected vs Actual: "<<expectedFileHash<<std::endl<<fileHash<<std::endl)
return;
}

@ -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){

@ -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

@ -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: "<<property.second.GetString(i)<<std::endl;
nItems--;
}
std::cout<<"Write newline."<<std::endl;
// Property written, move to next line
file << "\n";
}

Loading…
Cancel
Save