… | |
… | |
3543 | LOG llevInfo, "Welcome to Deliantra, v" . VERSION; |
3543 | LOG llevInfo, "Welcome to Deliantra, v" . VERSION; |
3544 | LOG llevInfo, "Copyright (C) 2005-2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team."; |
3544 | LOG llevInfo, "Copyright (C) 2005-2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team."; |
3545 | LOG llevInfo, "Copyright (C) 1994 Mark Wedel."; |
3545 | LOG llevInfo, "Copyright (C) 1994 Mark Wedel."; |
3546 | LOG llevInfo, "Copyright (C) 1992 Frank Tore Johansen."; |
3546 | LOG llevInfo, "Copyright (C) 1992 Frank Tore Johansen."; |
3547 | |
3547 | |
3548 | cf::init_experience; |
|
|
3549 | cf::init_anim; |
|
|
3550 | cf::init_attackmess; |
|
|
3551 | cf::init_dynamic; |
|
|
3552 | |
|
|
3553 | $Coro::current->prio (Coro::PRIO_MAX); # give the main loop max. priority |
3548 | $Coro::current->prio (Coro::PRIO_MAX); # give the main loop max. priority |
3554 | |
3549 | |
3555 | # we must not ever block the main coroutine |
3550 | # we must not ever block the main coroutine |
3556 | local $Coro::idle = sub { |
3551 | local $Coro::idle = sub { |
3557 | Carp::cluck "FATAL: Coro::idle was called, major BUG, use cf::sync_job!\n";#d# |
3552 | Carp::cluck "FATAL: Coro::idle was called, major BUG, use cf::sync_job!\n";#d# |
… | |
… | |
3562 | }; |
3557 | }; |
3563 | |
3558 | |
3564 | evthread_start IO::AIO::poll_fileno; |
3559 | evthread_start IO::AIO::poll_fileno; |
3565 | |
3560 | |
3566 | cf::sync_job { |
3561 | cf::sync_job { |
|
|
3562 | cf::init_experience; |
|
|
3563 | cf::init_anim; |
|
|
3564 | cf::init_attackmess; |
|
|
3565 | cf::init_dynamic; |
|
|
3566 | |
3567 | cf::load_settings; |
3567 | cf::load_settings; |
3568 | cf::load_materials; |
3568 | cf::load_materials; |
3569 | |
3569 | |
3570 | reload_resources; |
3570 | reload_resources; |
3571 | reload_config; |
3571 | reload_config; |