(svn r7) -Feature [1003350] Euro introduction news item. (dominik81)
authordarkvater
Tue, 10 Aug 2004 15:00:15 +0000
changeset 6 e9b56d50aa99
parent 5 539c9743d999
child 7 f2e623faa778
(svn r7) -Feature [1003350] Euro introduction news item. (dominik81)
lang/english.txt
strings.c
--- a/lang/english.txt	Tue Aug 10 14:50:42 2004 +0000
+++ b/lang/english.txt	Tue Aug 10 15:00:15 2004 +0000
@@ -901,6 +901,7 @@
 
 STR_TRAIN_IS_LOST						:{WHITE}Train {COMMA16} is lost.
 STR_TRAIN_IS_UNPROFITABLE				:{WHITE}Train {COMMA16}'s profit last year was {CURRENCY}
+STR_EURO_INTRODUCE					:{BLACK}{BIGFONT}European Monetary Union!{}{}The Euro is introduced as the sole currency for everyday transactions in your country!
 
 STR_CONFIG_PATCHES						:{BLACK}Configure Patches
 STR_CONFIG_PATCHES_TIP					:{BLACK}Configure the patches
--- a/strings.c	Tue Aug 10 14:50:42 2004 +0000
+++ b/strings.c	Tue Aug 10 15:00:15 2004 +0000
@@ -3,6 +3,7 @@
 #include "station.h"
 #include "town.h"
 #include "vehicle.h"
+#include "news.h"
 
 #define USE_TABLE(x)  { assert(index < lengthof(x)); str = x[index]; break; }
 
@@ -125,6 +126,7 @@
 {
 	if (_cur_year >= (2002-1920) && _currency_specs[_opt.currency].flags & CF_TOEURO_2002) {
 		_opt.currency = 21; // this is the index of euro above.
+		AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL,0,NT_ECONOMY,0), 0, 0);
 	}
 }