summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 0959277..3204776 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -4,7 +4,7 @@ namespace text {
language_t language = LANG_ENGLISH;
-static const char *human_names[] = {
+static const char *soldier_names[] = {
"Kowalski", "Jackson", "Carter", "O'Neill", "Hammond", "Mitchell"
};
@@ -23,11 +23,11 @@ static std::string get_english(index_t index)
case SAY_MOVING:
return "On my way.";
- case UNIT_ALIEN:
- return "Alien";
+ case UNIT_NAME_SPIDER:
+ return "Spider";
- case UNIT_HUMAN:
- return human_names[rand() % count(human_names)];
+ case UNIT_NAME_SOLDIER:
+ return soldier_names[rand() % count(soldier_names)];
case UNIT_DEATH:
return "died";
@@ -67,11 +67,11 @@ static std::string get_polish(index_t index)
case SAY_MOVING:
return "Jestem w drodze.";
- case UNIT_ALIEN:
- return "Obcy";
+ case UNIT_NAME_SPIDER:
+ return "Pająk";
- case UNIT_HUMAN:
- return human_names[rand() % count(human_names)];
+ case UNIT_NAME_SOLDIER:
+ return soldier_names[rand() % count(soldier_names)];
case UNIT_DEATH:
return "nie żyje";