summaryrefslogtreecommitdiff
path: root/src/game/text.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-17 19:18:23 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-17 19:18:23 +0000
commit41bebb262aa8f346ce6cdaefd854c9077ae84f97 (patch)
tree6270136442f06a406f3b101e18f12c84c63a523e /src/game/text.cpp
parentc8e7fcc5f2cac58785baf2556cffc5727a48e957 (diff)
Implement pausing.
Diffstat (limited to 'src/game/text.cpp')
-rw-r--r--src/game/text.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/text.cpp b/src/game/text.cpp
index bdd68ed..00441f8 100644
--- a/src/game/text.cpp
+++ b/src/game/text.cpp
@@ -11,6 +11,12 @@ static const char *soldier_names[] = {
static std::string get_english(index_t index)
{
switch (index) {
+ case PAUSED:
+ return "PAUSED";
+
+ case UNPAUSED:
+ return "UNPAUSED";
+
case SAY_BLOCKED:
return "Something is in my way.";
@@ -58,6 +64,12 @@ static std::string get_english(index_t index)
static std::string get_polish(index_t index)
{
switch (index) {
+ case PAUSED:
+ return "WSTRZYMANO";
+
+ case UNPAUSED:
+ return "WZNOWIONO";
+
case SAY_BLOCKED:
return "Coś jest na mojej drodze.";