… | |
… | |
25 | #include <object.h> |
25 | #include <object.h> |
26 | #include <tod.h> |
26 | #include <tod.h> |
27 | |
27 | |
28 | #include <sproto.h> |
28 | #include <sproto.h> |
29 | #include <time.h> |
29 | #include <time.h> |
|
|
30 | |
|
|
31 | #include <glib.h> |
30 | |
32 | |
31 | #include <../random_maps/random_map.h> |
33 | #include <../random_maps/random_map.h> |
32 | #include <../random_maps/rproto.h> |
34 | #include <../random_maps/rproto.h> |
33 | #include "path.h" |
35 | #include "path.h" |
34 | |
36 | |
… | |
… | |
513 | main (int argc, char **argv) |
515 | main (int argc, char **argv) |
514 | { |
516 | { |
515 | settings.argc = argc; |
517 | settings.argc = argc; |
516 | settings.argv = argv; |
518 | settings.argv = argv; |
517 | |
519 | |
|
|
520 | g_thread_init (0); // for the slice allocator only |
|
|
521 | |
518 | init (argc, argv); |
522 | init (argc, argv); |
519 | |
523 | |
520 | for (;;) |
524 | for (;;) |
521 | cfperl_main (); |
525 | cfperl_main (); |
522 | } |
526 | } |