From d29cd0a384af3feec602f2d73e61f42eb20849db Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 7 Jul 2003 11:06:28 +0000 Subject: [PATCH] Folgendes hab ich daher in den CR eingebaut: "tutorial@eressea.upb.de";mailto "ERESSEA BEFEHLE";mailcmd Diese beiden werden also die noetige Info enthalten, um eine Mail an den Server zu versenden. Spielbezogen sind sie fuer alle 3 Spiele (Tutorial, Eressea, Vin 1-3) jeweils anders. --- src/common/gamecode/creport.c | 5 +++++ src/res/eressea.xml | 9 +++++++++ src/res/tutorial.xml | 9 +++++++++ src/res/vinyambar-3.xml | 8 ++++++++ src/res/vinyambar-classic.xml | 8 ++++++++ src/res/vinyambar.xml | 8 ++++++++ 6 files changed, 47 insertions(+) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index e66272651..879014555 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -1017,6 +1017,7 @@ report_computer(FILE * F, faction * f, const seen_region * seen, building *b; ship *sh; unit *u; + const char * mailto = locale_string(f->locale, "mailto"); const seen_region * sd = seen; const attrib * a; @@ -1039,6 +1040,10 @@ report_computer(FILE * F, faction * f, const seen_region * seen, fprintf(F, "%d;Basis\n", 36); fprintf(F, "%d;Runde\n", turn); fputs("2;Zeitalter\n", F); + if (mailto!=NULL) { + fprintf(F, "\"%s\";mailto\n", mailto); + fprintf(F, "\"%s\";mailcmd\n", locale_string(NULL, "mailcmd")); + } fprintf(F, "PARTEI %d\n", f->no); fprintf(F, "\"%s\";locale\n", locale_name(f->locale)); fprintf(F, "%d;Optionen\n", f->options); diff --git a/src/res/eressea.xml b/src/res/eressea.xml index 7d1a4072c..031f7f635 100644 --- a/src/res/eressea.xml +++ b/src/res/eressea.xml @@ -21,4 +21,13 @@ + + + eressea-server@eressea.upb.de + + + ERESSEA BEFEHLE + ERESSEA ORDERS + + diff --git a/src/res/tutorial.xml b/src/res/tutorial.xml index 4c0998d15..23bd160c5 100644 --- a/src/res/tutorial.xml +++ b/src/res/tutorial.xml @@ -22,4 +22,13 @@ + + + tutorial@eressea.upb.de + + + ERESSEA BEFEHLE + ERESSEA ORDERS + + diff --git a/src/res/vinyambar-3.xml b/src/res/vinyambar-3.xml index e7608d240..373e2b399 100644 --- a/src/res/vinyambar-3.xml +++ b/src/res/vinyambar-3.xml @@ -18,4 +18,12 @@ + + + vinyambar@eressea.amber.kn-bremen.de + + + VIN3 BEFEHLE + + diff --git a/src/res/vinyambar-classic.xml b/src/res/vinyambar-classic.xml index f33a3d0cf..9e1b0cfc9 100644 --- a/src/res/vinyambar-classic.xml +++ b/src/res/vinyambar-classic.xml @@ -16,4 +16,12 @@ + + + vinyambar@eressea.amber.kn-bremen.de + + + VIN1 BEFEHLE + + diff --git a/src/res/vinyambar.xml b/src/res/vinyambar.xml index ea3444f20..d041eeb7f 100644 --- a/src/res/vinyambar.xml +++ b/src/res/vinyambar.xml @@ -17,4 +17,12 @@ + + + vinyambar@eressea.amber.kn-bremen.de + + + VIN2 BEFEHLE + +