mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 08:26:36 +00:00
Working on fixing up QuestInterface to make multiple parsers work together in harmony, need to fix up Embperl parser next
This commit is contained in:
@@ -77,6 +77,7 @@ extern volatile bool ZoneLoaded;
|
||||
#include "parser.h"
|
||||
#include "embparser.h"
|
||||
#include "perlparser.h"
|
||||
#include "lua_parser.h"
|
||||
#include "client_logs.h"
|
||||
#include "questmgr.h"
|
||||
#include "titles.h"
|
||||
@@ -288,6 +289,12 @@ int main(int argc, char** argv) {
|
||||
PerlXSParser *pxs = new PerlXSParser();
|
||||
parse->RegisterQuestInterface(pxs, "pl");
|
||||
#endif
|
||||
|
||||
#ifdef LUA_EQEMU
|
||||
LuaParser *lua_parser = new LuaParser();
|
||||
parse->RegisterQuestInterface(lua_parser, "lua");
|
||||
#endif
|
||||
|
||||
Parser *ps = new Parser();
|
||||
//parse->RegisterQuestInterface(ps, "qst");
|
||||
|
||||
@@ -478,6 +485,11 @@ int main(int argc, char** argv) {
|
||||
#ifdef EMBPERL
|
||||
safe_delete(pxs);
|
||||
#endif
|
||||
|
||||
#ifdef LUA_EQEMU
|
||||
safe_delete(lua_parser);
|
||||
#endif
|
||||
|
||||
safe_delete(ps);
|
||||
safe_delete(mmf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user