summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-07 13:50:52 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-07 13:52:04 +0100
commitd0be87d32929c42502fb842aa2b0ab0233313b93 (patch)
treec88b88f63d08cbeaec100eff876676f60ddf78ba /src/text.cpp
parente28a62894f368cccc64932fe83c91f32d7cb7288 (diff)
Refactoring, introduce text.cpp, closer to an actual game.
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp14
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.";
+}
+
+}