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.
This commit is contained in:
Enno Rehling 2003-07-07 11:06:28 +00:00
parent a53a53c97a
commit d29cd0a384
6 changed files with 47 additions and 0 deletions

View File

@ -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);

View File

@ -21,4 +21,13 @@
<include file="eressea/items.xml"></include>
<include file="eressea/dungeons.xml"></include>
<include file="eressea/temple.xml"></include>
<strings>
<string name="mailto">
<text>eressea-server@eressea.upb.de</text>
</string>
<string name="mailcmd">
<text locale="de">ERESSEA BEFEHLE</text>
<text locale="en">ERESSEA ORDERS</text>
</string>
</strings>
</eressea>

View File

@ -22,4 +22,13 @@
<include file="eressea/races.xml"></include>
<include file="eressea/items.xml"></include>
<include file="eressea/dungeons.xml"></include>
<strings>
<string name="mailto">
<text>tutorial@eressea.upb.de</text>
</string>
<string name="mailcmd">
<text locale="de">ERESSEA BEFEHLE</text>
<text locale="en">ERESSEA ORDERS</text>
</string>
</strings>
</eressea>

View File

@ -18,4 +18,12 @@
</game>
<include file="vinyambar/de/strings.xml"></include>
<include file="vinyambar/stronghold.xml"></include>
<strings>
<string name="mailto">
<text>vinyambar@eressea.amber.kn-bremen.de</text>
</string>
<string name="mailcmd">
<text>VIN3 BEFEHLE</text>
</string>
</strings>
</eressea>

View File

@ -16,4 +16,12 @@
</game>
<include file="vinyambar/races.xml"></include>
<include file="vinyambar/de/strings-classic.xml"></include>
<strings>
<string name="mailto">
<text>vinyambar@eressea.amber.kn-bremen.de</text>
</string>
<string name="mailcmd">
<text>VIN1 BEFEHLE</text>
</string>
</strings>
</eressea>

View File

@ -17,4 +17,12 @@
</game>
<include file="vinyambar/races.xml"></include>
<include file="vinyambar/de/strings.xml"></include>
<strings>
<string name="mailto">
<text>vinyambar@eressea.amber.kn-bremen.de</text>
</string>
<string name="mailcmd">
<text>VIN2 BEFEHLE</text>
</string>
</strings>
</eressea>