Fehlende Kampfmeldungen

This commit is contained in:
Enno Rehling 2005-06-19 10:22:51 +00:00
parent 33ae3283ee
commit f368d308e6
3 changed files with 27 additions and 19 deletions

View File

@ -864,18 +864,18 @@ static void
rp_battles(FILE * F, faction * f) rp_battles(FILE * F, faction * f)
{ {
if (f->battles!=NULL) { if (f->battles!=NULL) {
struct bmsg * bm = f->battles;
rnl(F); rnl(F);
centre(F, LOC(f->locale, "section_battle"), false); centre(F, LOC(f->locale, "section_battle"), false);
rnl(F); rnl(F);
while (f->battles) { while (bm) {
struct bmsg * bm = f->battles;
f->battles = bm->next;
RENDER(f, buf, 80, ("battle::header", "region", bm->r)); RENDER(f, buf, 80, ("battle::header", "region", bm->r));
rnl(F); rnl(F);
centre(F, buf, true); centre(F, buf, true);
rnl(F); rnl(F);
rp_messages(F, bm->msgs, f, 0, true, false); rp_messages(F, bm->msgs, f, 0, true, false);
bm = bm->next;
} }
} }
} }

View File

@ -2748,16 +2748,18 @@ print_stats(battle * b)
for (bf=b->factions;bf;bf=bf->next) { for (bf=b->factions;bf;bf=bf->next) {
faction * f = bf->faction; faction * f = bf->faction;
const char * loc_army = LOC(f->locale, "battle_army"); const char * loc_army = LOC(f->locale, "battle_army");
char * bufp = buf; char * bufp;
size_t rsize, size = sizeof(buf); size_t rsize, size;
fbattlerecord(b, f, " "); fbattlerecord(b, f, " ");
slprintf(buf, size, "%s %d: %s", loc_army, side->index, slprintf(buf, sizeof(buf), "%s %d: %s", loc_army, side->index,
seematrix(f, side) ? sidename(side, false) : LOC(f->locale, "unknown_faction")); seematrix(f, side) ? sidename(side, false) : LOC(f->locale, "unknown_faction"));
fbattlerecord(b, f, buf); fbattlerecord(b, f, buf);
rsize = strlcpy(buf, LOC(f->locale, "battle_opponents"), size); bufp = buf;
size = sizeof(buf);
rsize = strlcpy(bufp, LOC(f->locale, "battle_opponents"), size);
if (rsize>size) rsize = size-1; if (rsize>size) rsize = size-1;
size -= rsize; size -= rsize;
bufp += rsize; bufp += rsize;

View File

@ -8,6 +8,14 @@
--> -->
<namespace name="iteminfo"> <namespace name="iteminfo">
<string name="aots">
<text locale="de">
Das Amulett erlaubt es dem Träger, alle Einheiten, die durch einen
Ring der Unsichtbarkeit geschützt sind, zu sehen. Einheiten allerdings,
die sich mit ihrem Tarnungs-Talent verstecken, bleiben weiterhin
unentdeckt. Die Herstellung des Amulettes kostet 3000 Silber.
</text>
</string>
<string name="toadslime"> <string name="toadslime">
<text locale="de"> <text locale="de">
Dieser Tiegel enthält die seltenste alchemistische Substanz Dieser Tiegel enthält die seltenste alchemistische Substanz
@ -76,6 +84,16 @@
ship's range by 50 regions. ship's range by 50 regions.
</text> </text>
</string> </string>
<string name="mistletoe">
<text locale="de">Im Mistelzweig ruht eine magische
Kraft der besonderer Art. Der Anwender wird von seinen
Feinden in Frieden gelassen, eine Woche lang läßt jeder
Kämpfer ihn unbeschadet seines Weges ziehen.</text>
<text locale="en">The magical misteltoe has a wonderous
property: It's use will make one person able to escape
unharmed from every conflict, no enemy will lay hand on
the bearer for one week.</text>
</string>
</namespace> </namespace>
<namespace name="school"> <namespace name="school">
@ -2205,18 +2223,6 @@
abgegeben!</text> abgegeben!</text>
</string> </string>
<namespace name="info">
<string name="mistletoe">
<text locale="de">Im Mistelzweig ruht eine magische
Kraft der besonderer Art. Der Anwender wird von seinen
Feinden in Frieden gelassen, eine Woche lang läßt jeder
Kämpfer ihn unbeschadet seines Weges ziehen.</text>
<text locale="en">The magical misteltoe has a wonderous
property: It's use will make one person able to escape
unharmed from every conflict, no enemy will lay hand on
the bearer for one week.</text>
</string>
</namespace>
<namespace name="race"> <namespace name="race">
<string name="clone"> <string name="clone">
<text locale="de">Klon</text> <text locale="de">Klon</text>