-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the work on creating stories to its own file. (#607)
- Loading branch information
Showing
5 changed files
with
38 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "src/hoi4_world/roles/stories_creator.h" | ||
|
||
#include "external/fmt/include/fmt/format.h" | ||
#include "src/hoi4_world/roles/roles_importer.h" | ||
|
||
|
||
|
||
void hoi4::CreateStories() | ||
{ | ||
Log(LogLevel::Info) << "Writing stories"; | ||
std::map<std::string, Role> roles = ImportRoles(); | ||
Log(LogLevel::Info) << fmt::format("\tImported {} roles.", roles.size()); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef SRC_HOI4WORLD_ROLES_STORIESCREATOR_H | ||
#define SRC_HOI4WORLD_ROLES_STORIESCREATOR_H | ||
|
||
|
||
|
||
namespace hoi4 | ||
{ | ||
|
||
void CreateStories(); | ||
|
||
} // namespace hoi4 | ||
|
||
|
||
|
||
#endif // SRC_HOI4WORLD_ROLES_STORIESCREATOR_H |
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