welcomepath is no longer in use.

This commit is contained in:
Enno Rehling 2007-05-28 16:10:34 +00:00
parent b27da8c056
commit b1bf54067e
4 changed files with 6 additions and 20 deletions

View File

@ -1080,7 +1080,6 @@ extern const struct race * new_race[];
/* globale settings des Spieles */ /* globale settings des Spieles */
typedef struct settings { typedef struct settings {
const char *gamename; const char *gamename;
const char *welcomepath;
boolean unitsperalliance; boolean unitsperalliance;
unsigned int maxunits; unsigned int maxunits;
struct attrib *attribs; struct attrib *attribs;

View File

@ -1895,12 +1895,6 @@ parse_main(xmlDocPtr doc)
if (nodes->nodeNr>0) { if (nodes->nodeNr>0) {
xmlNodePtr node = nodes->nodeTab[0]; xmlNodePtr node = nodes->nodeTab[0];
property = xmlGetProp(node, BAD_CAST "welcome");
if (property!=NULL) {
global.welcomepath = strdup((const char*)property);
xmlFree(property);
}
global.unitsperalliance = xml_bvalue(node, "unitsperalliance", false); global.unitsperalliance = xml_bvalue(node, "unitsperalliance", false);
global.producexpchance = (float)xml_fvalue(node, "learningbydoing", 1.0/3); global.producexpchance = (float)xml_fvalue(node, "learningbydoing", 1.0/3);
global.maxunits = xml_ivalue(node, "units", INT_MAX); global.maxunits = xml_ivalue(node, "units", INT_MAX);

View File

@ -18,7 +18,7 @@
<xi:include href="terrains.xml"/> <xi:include href="terrains.xml"/>
<xi:include href="dungeons.xml"/> <xi:include href="dungeons.xml"/>
<game name="Eressea" welcome="eressea" units="1000"> <game name="Eressea" units="1000">
<!-- Game specific settings --> <!-- Game specific settings -->
<order name="MEINUNG" disable="yes"/> <order name="MEINUNG" disable="yes"/>
<order name="MAGIEGEBIET" disable="yes"/> <order name="MAGIEGEBIET" disable="yes"/>

View File

@ -19,7 +19,7 @@
<xi:include href="terrains.xml"/> <xi:include href="terrains.xml"/>
<xi:include href="dungeons.xml"/> <xi:include href="dungeons.xml"/>
<game name="Eressea" welcome="eressea" learningbydoing="0.0"> <game name="Eressea RTS" learningbydoing="0.0">
<!-- Game specific settings --> <!-- Game specific settings -->
<order name="MEINUNG" disable="yes"/> <order name="MEINUNG" disable="yes"/>
<order name="MAGIEGEBIET" disable="yes"/> <order name="MAGIEGEBIET" disable="yes"/>
@ -89,23 +89,16 @@
<param name="hunger.long" value="1"/> <param name="hunger.long" value="1"/>
<param name="rules.check_overload" value="0"/> <param name="rules.check_overload" value="0"/>
</game> </game>
<xi:include href="eressea/de/strings.xml"/>
<xi:include href="eressea/en/strings.xml"/>
<xi:include href="eressea/races.xml"/>
<xi:include href="eressea/items.xml"/>
<xi:include href="eressea/artrewards.xml"/>
<xi:include href="eressea/dungeons.xml"/>
<xi:include href="eressea/temple.xml"/>
<strings> <strings>
<string name="mailto"> <string name="mailto">
<text locale="de">eressea-server@eressea.upb.de</text> <text locale="de">rts-server@eressea.de</text>
<text locale="en">eressea-server@eressea.upb.de</text> <text locale="en">rts-server@eressea.de</text>
</string> </string>
<string name="newbie_info_1"> <string name="newbie_info_1">
<text locale="de">Bitte denke daran, deine Befehle mit dem Betreff <text locale="de">Bitte denke daran, deine Befehle mit dem Betreff
ERESSEA BEFEHLE an eressea-server@eressea.upb.de zu senden.</text> ERESSEA BEFEHLE an rts-server@eressea.de zu senden.</text>
<text locale="en">Remember to send your orders to <text locale="en">Remember to send your orders to
eressea-server@eressea.upb.de with the subject ERESSEA ORDERS.</text> rts-server@eressea.de with the subject ERESSEA ORDERS.</text>
</string> </string>
<string name="mailcmd"> <string name="mailcmd">
<text locale="de">ERESSEA BEFEHLE</text> <text locale="de">ERESSEA BEFEHLE</text>