forked from github/server
* dynamictypes raus aus dem code, rein in res/
* bugfix regatta-vergrößerung
This commit is contained in:
parent
5a31694246
commit
5d770917ef
|
@ -814,7 +814,7 @@ readgame(boolean backup)
|
|||
}
|
||||
#endif
|
||||
turn = ri(F);
|
||||
read_dynamictypes();
|
||||
/* read_dynamictypes(); */
|
||||
if (global.data_version < NEWMAGIC) {
|
||||
max_unique_id = 0;
|
||||
} else {
|
||||
|
@ -1260,7 +1260,7 @@ writegame(char *path, char quiet)
|
|||
sprintf(buf, "%s/%d.players", datapath(), turn);
|
||||
export_players(playerfile);
|
||||
#endif
|
||||
write_dynamictypes();
|
||||
/* write_dynamictypes(); */
|
||||
|
||||
F = cfopen(path, "w");
|
||||
if (F==NULL)
|
||||
|
|
|
@ -252,13 +252,12 @@ a_read(FILE * f, attrib ** attribs)
|
|||
|
||||
while(key!=-1) {
|
||||
attrib_type * at = at_find(key);
|
||||
attrib * na;
|
||||
if (!at) {
|
||||
fprintf(stderr, "attribute hash: %d (%s)\n", key, zText);
|
||||
assert(at || !"attribute not registered");
|
||||
}
|
||||
if (at->read) {
|
||||
na = a_new(at);
|
||||
attrib * na = a_new(at);
|
||||
if (at->read(na, f))
|
||||
a_add(attribs, na);
|
||||
else
|
||||
|
|
|
@ -1788,7 +1788,7 @@ resize_plane(struct plane * p, int radius)
|
|||
for (y=miny;y<=maxy;++y) {
|
||||
region * r = findregion(x, y);
|
||||
if (r==NULL) {
|
||||
r = new_region(minx+x, miny+y);
|
||||
r = new_region(x, y);
|
||||
freset(r, RF_ENCOUNTER);
|
||||
r->planep = p;
|
||||
if (distance(r, center)==radius) {
|
||||
|
|
|
@ -522,12 +522,6 @@
|
|||
<string name="wand_p">
|
||||
<text locale="de">Zauberstäbe</text>
|
||||
</string>
|
||||
<string name="wand_of_tears">
|
||||
<text locale="de">Szepter der Tränen</text>
|
||||
</string>
|
||||
<string name="wand_of_tears_p">
|
||||
<text locale="de">Szepter der Tränen</text>
|
||||
</string>
|
||||
|
||||
<comment>Burgausbaustufen</comment>
|
||||
<string name="site">
|
||||
|
|
|
@ -1917,12 +1917,6 @@
|
|||
<string name="wand_p">
|
||||
<text locale="en">wands</text>
|
||||
</string>
|
||||
<string name="wand_of_tears">
|
||||
<text locale="en">wand of tears</text>
|
||||
</string>
|
||||
<string name="wand_of_tears_p">
|
||||
<text locale="en">wands of tears</text>
|
||||
</string>
|
||||
|
||||
<comment> Küsten</comment>
|
||||
<string name="Nordwestküste">
|
||||
|
|
|
@ -15,6 +15,20 @@
|
|||
</string>
|
||||
</strings>
|
||||
|
||||
<resource name="wand_of_tears">
|
||||
<item notlost weight="1" capacity="0">
|
||||
<function name="use" value="use_wand_of_tears"></function>
|
||||
</item>
|
||||
</resource>
|
||||
<string name="wand_of_tears">
|
||||
<text locale="de">Szepter der Tränen</text>
|
||||
<text locale="en">wand of tears</text>
|
||||
</string>
|
||||
<string name="wand_of_tears_p">
|
||||
<text locale="de">Szepter der Tränen</text>
|
||||
<text locale="en">wands of tears</text>
|
||||
</string>
|
||||
|
||||
<resource name="magicbox">
|
||||
<comment>A magic box that increases the user's capacity by 10 WU</comment>
|
||||
<item cursed weight="0" capacity="1000">
|
||||
|
|
Loading…
Reference in New Issue