forked from github/server
tutorial and mapper run with new xml code.
This commit is contained in:
parent
20ef89f6ce
commit
55141617cb
|
@ -29,7 +29,7 @@ LinkLibraries $(SERVER) :
|
|||
LinkLibraries $(LUASERVER) :
|
||||
gamecode kernel items modules attributes spells races triggers util ;
|
||||
|
||||
LINKLIBS on $(SERVER) += -L$(LUABIND_ROOT)/lib -lm -lxml2 -liconv ;
|
||||
LINKLIBS on $(SERVER) += -L$(LUABIND_ROOT)/lib -lm -lxml2 ;
|
||||
LINKLIBS on $(LUASERVER) += -L$(LUABIND_ROOT)/lib -llua50 -llualib50 ;
|
||||
LINKLIBS on $(LUASERVER) += -lm -lluabind -ldl -lstdc++ -lxml2 -liconv ;
|
||||
# -Wl,-R,$(HOME)/software/$(HOST)/lib ;
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
#include <laws.h>
|
||||
|
||||
/* kernel includes */
|
||||
#include <kernel/xmlreader.h>
|
||||
#include <building.h>
|
||||
#include <creport.h>
|
||||
#include <faction.h>
|
||||
|
@ -79,6 +80,7 @@
|
|||
|
||||
/* util includes */
|
||||
#include <rand.h>
|
||||
#include <util/xml.h>
|
||||
#include <log.h>
|
||||
#include <sql.h>
|
||||
#include <base36.h>
|
||||
|
@ -171,11 +173,12 @@ game_init(void)
|
|||
register_dungeon();
|
||||
#endif
|
||||
|
||||
register_xmlreader();
|
||||
init_data(xmlfile);
|
||||
init_locales();
|
||||
|
||||
init_locales();
|
||||
init_attributes();
|
||||
init_resources();
|
||||
init_races();
|
||||
init_items();
|
||||
init_races();
|
||||
init_economy();
|
||||
|
|
|
@ -30,4 +30,4 @@ LinkLibraries mapper :
|
|||
triggers
|
||||
util ;
|
||||
|
||||
LINKLIBS on mapper += -L$(LUABIND_ROOT)/lib -lm -lncurses -lxml2 -liconv ;
|
||||
LINKLIBS on mapper += -L$(LUABIND_ROOT)/lib -lm -lncurses -lxml2 ;
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#endif
|
||||
|
||||
/* kernel includes */
|
||||
#include <kernel/xmlreader.h>
|
||||
#include <item.h>
|
||||
#include <faction.h>
|
||||
#include <race.h>
|
||||
|
@ -1718,12 +1719,13 @@ main(int argc, char *argv[])
|
|||
#endif
|
||||
/* register_dungeon(); */
|
||||
|
||||
register_xmlreader();
|
||||
init_data(xmlfile);
|
||||
|
||||
init_locales();
|
||||
init_attributes();
|
||||
|
||||
init_resources();
|
||||
register_items();
|
||||
init_attributes();
|
||||
#if NEW_RESOURCEGROWTH
|
||||
init_rawmaterials();
|
||||
#endif
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
<xi:include file="eressea/dungeons.xml"/>
|
||||
<strings>
|
||||
<string name="mailto">
|
||||
<text>tutorial@eressea.upb.de</text>
|
||||
<text locale="en">tutorial@eressea.upb.de</text>
|
||||
<text locale="de">tutorial@eressea.upb.de</text>
|
||||
</string>
|
||||
<string name="mailcmd">
|
||||
<text locale="de">ERESSEA BEFEHLE</text>
|
||||
|
|
Loading…
Reference in New Issue