diff options
author | Susu <bruant.bastien@gmail.com> | 2013-06-07 20:03:32 +0200 |
---|---|---|
committer | Euphy <euphy@rathena.org> | 2013-06-15 15:41:17 -0400 |
commit | 0ea143ce6224679d084e543e6e7f24983867734b (patch) | |
tree | 446b190a8b187bb8bc6a4baf9e1b67c9b67db4be /src/common/core.c | |
parent | ba8cf0fb01f6cc997ef1424712954ea0d898b009 (diff) | |
download | hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.gz hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.bz2 hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.xz hercules-0ea143ce6224679d084e543e6e7f24983867734b.zip |
Hercules Renewal Phase One : pc, party, map, timer
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/core.c b/src/common/core.c index 0959e6fc9..d6cfff662 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -307,7 +307,7 @@ int main (int argc, char **argv) { } core_defaults(); - malloclib->init();// needed for Show* in display_title() [FlavioJS] + iMalloc->init();// needed for Show* in display_title() [FlavioJS] console->display_title(); @@ -322,14 +322,14 @@ int main (int argc, char **argv) { Sql_Init(); rathread_init(); mempool_init(); - DB->init(); + iDB->init(); signals_init(); #ifdef _WIN32 cevents_init(); #endif - timer_init(); + iTimer->init(); console->init(); @@ -343,7 +343,7 @@ int main (int argc, char **argv) { {// Main runtime cycle int next; while (runflag != CORE_ST_STOP) { - next = do_timer(gettick_nocache()); + next = iTimer->do_timer(iTimer->gettick_nocache()); do_sockets(next); } } @@ -354,14 +354,14 @@ int main (int argc, char **argv) { #ifndef MINICORE HPM->final(); #endif - timer_final(); + iTimer->final(); socket_final(); - DB->final(); + iDB->final(); mempool_final(); rathread_final(); #endif - malloclib->final(); + iMalloc->final(); return 0; } |