diff options
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/map/init.c b/src/map/init.c index fe4d6d2..c9536e7 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -28,12 +28,10 @@ HPExport struct hplugin_info pinfo = HPM_VERSION }; -/* run when server starts */ -HPExport void plugin_init (void) { - /* core interfaces */ +HPExport void plugin_init (void) +{ iMalloc = GET_SYMBOL("iMalloc"); - /* map-server interfaces */ script = GET_SYMBOL("script"); clif = GET_SYMBOL("clif"); pc = GET_SYMBOL("pc"); @@ -64,11 +62,14 @@ HPExport void plugin_init (void) { addPacket(0x7530, 22, map_parse_version, hpClif_Parse); } -HPExport void server_preinit (void) { +HPExport void server_preinit (void) +{ } -HPExport void server_online (void) { +HPExport void server_online (void) +{ } -HPExport void plugin_final (void) { +HPExport void plugin_final (void) +{ } |