-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced VersionParser with commonItems::ConverterVersionParser (#155)…
… #patch
- Loading branch information
1 parent
9cb2dbe
commit 07c092b
Showing
15 changed files
with
51 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
#include "outVersion.h" | ||
#include "Mappers/VersionParser/VersionParser.h" | ||
#include "ConverterVersion.h" | ||
#include "Log.h" | ||
#include <fstream> | ||
|
||
|
||
|
||
std::ostream& mappers::operator<<(std::ostream& output, const VersionParser& versionParser) { | ||
void logConverterVersion(const commonItems::ConverterVersion& versionParser) { | ||
// read commit id | ||
std::string commitID; | ||
std::ifstream commitIdFile{ "../commit_id.txt" }; | ||
commitIdFile >> commitID; | ||
commitIdFile.close(); | ||
|
||
output << "\n\n"; | ||
output << "************ -= The Paradox Converters Team =- ********************\n"; | ||
output << "* Converter build based on commit " << commitID << "\n"; | ||
output << "* " << versionParser.descriptionLine << "\n"; | ||
output << "* Built on " << __TIMESTAMP__ << "\n"; | ||
output << "*********** + Imperator: Rome To Crusader Kings III + **************\n"; | ||
return output; | ||
Log(LogLevel::Info) << "************ -= The Paradox Converters Team =- ********************"; | ||
Log(LogLevel::Info) << "* Converter build based on commit " << commitID; | ||
Log(LogLevel::Info) << "* " << versionParser.descriptionLine; | ||
Log(LogLevel::Info) << "* Built on " << __TIMESTAMP__; | ||
Log(LogLevel::Info) << "*********** + Imperator: Rome To Crusader Kings III + *************\n"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#ifndef IMPERATORTOCK3_CONVERTER_H | ||
#define IMPERATORTOCK3_CONVERTER_H | ||
|
||
namespace mappers { | ||
class VersionParser; | ||
|
||
|
||
namespace commonItems { | ||
struct ConverterVersion; | ||
} | ||
|
||
void convertImperatorToCK3(const mappers::VersionParser& versionParser); | ||
void convertImperatorToCK3(const commonItems::ConverterVersion& converterVersion); | ||
|
||
|
||
|
||
#endif // IMPERATORTOCK3_CONVERTER_H |
32 changes: 0 additions & 32 deletions
32
ImperatorToCK3/Source/Mappers/VersionParser/VersionParser.cpp
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
ImperatorToCK3/Source/Mappers/VersionParser/VersionParser.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.