diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-11-07 13:50:52 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-11-07 13:52:04 +0100 |
commit | d0be87d32929c42502fb842aa2b0ab0233313b93 (patch) | |
tree | c88b88f63d08cbeaec100eff876676f60ddf78ba /src/text.cpp | |
parent | e28a62894f368cccc64932fe83c91f32d7cb7288 (diff) |
Refactoring, introduce text.cpp, closer to an actual game.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/text.cpp b/src/text.cpp new file mode 100644 index 0000000..baeabcd --- /dev/null +++ b/src/text.cpp @@ -0,0 +1,14 @@ +#include "common.hpp" + +namespace text { + +std::string unit_no_path; +std::string unit_blocked; + +void load_strings(std::string lang) +{ + unit_no_path = "Cannot find a path."; + unit_blocked = "The path is blocked."; +} + +} |