Move struct Summary from Game.cpp to Game.h

This will allow it to be used in other source files in a later commit.
This commit is contained in:
Dav999
2023-09-12 03:04:34 +02:00
committed by Misa Elizabeth Kai
parent 89a165722e
commit 4e5126a596
2 changed files with 16 additions and 15 deletions

View File

@@ -5581,22 +5581,9 @@ void Game::customloadquick(const std::string& savfile)
}
}
struct Summary
{
const char* summary;
int seconds;
int minutes;
int hours;
int savex;
int savey;
int trinkets;
bool finalmode;
bool crewstats[Game::numcrew];
};
static void loadthissummary(
const char* filename,
struct Summary* summary,
struct Game::Summary* summary,
tinyxml2::XMLDocument& doc
) {
tinyxml2::XMLHandle hDoc(&doc);