forked from github/server
Orderfile lesen, mapper
This commit is contained in:
parent
abe9856678
commit
c44db47b0b
|
@ -1533,6 +1533,8 @@ main(int argc, char *argv[])
|
||||||
read_newfactions(buf);
|
read_newfactions(buf);
|
||||||
sprintf(buf, "%s/dropouts.%d", basepath(), turn);
|
sprintf(buf, "%s/dropouts.%d", basepath(), turn);
|
||||||
read_dropouts(buf);
|
read_dropouts(buf);
|
||||||
|
sprintf(buf, "%s/%s", basepath(), orderfile);
|
||||||
|
read_orders(buf);
|
||||||
|
|
||||||
if (findfaction(MONSTER_FACTION)==NULL) {
|
if (findfaction(MONSTER_FACTION)==NULL) {
|
||||||
makemonsters();
|
makemonsters();
|
||||||
|
|
|
@ -132,6 +132,7 @@ struct selection ** push_selection(struct selection ** p_sel, char * str, void *
|
||||||
void insert_selection(struct selection ** p_sel, struct selection * prev, char * str, void * payload);
|
void insert_selection(struct selection ** p_sel, struct selection * prev, char * str, void * payload);
|
||||||
|
|
||||||
extern void read_newfactions(const char * filename);
|
extern void read_newfactions(const char * filename);
|
||||||
|
extern void read_orders(const char * filename);
|
||||||
extern void read_dropouts(const char *filename);
|
extern void read_dropouts(const char *filename);
|
||||||
extern void seed_dropouts();
|
extern void seed_dropouts();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue