/************************************************************************** * File: comm.c Part of tbaMUD * * Usage: Communication, socket handling, main(), central game loop. * * * * All rights reserved. See license for complete information. * * * * Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University * * CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991. * **************************************************************************/ #include "conf.h" #include "sysdep.h" /* Begin conf.h dependent includes */ #if CIRCLE_GNU_LIBC_MEMORY_TRACK # include #endif #ifdef CIRCLE_MACINTOSH /* Includes for the Macintosh */ # define SIGPIPE 13 # define SIGALRM 14 /* GUSI headers */ # include /* Codewarrior dependant */ # include # include #endif #ifdef CIRCLE_WINDOWS /* Includes for Win32 */ # ifdef __BORLANDC__ # include # else /* MSVC */ # include # include # endif # include #endif /* CIRCLE_WINDOWS */ #ifdef CIRCLE_AMIGA /* Includes for the Amiga */ # include # include #endif /* CIRCLE_AMIGA */ #ifdef CIRCLE_ACORN /* Includes for the Acorn (RiscOS) */ # include # include # include #endif #ifdef HAVE_ARPA_TELNET_H #include #else #include "telnet.h" #endif /* end conf.h dependent includes */ /* Note, most includes for all platforms are in sysdep.h. The list of * files that is included is controlled by conf.h for that platform. */ #include "structs.h" #include "utils.h" #include "comm.h" #include "interpreter.h" #include "handler.h" #include "db.h" #include "house.h" #include "oasis.h" #include "genolc.h" #include "dg_scripts.h" #include "dg_event.h" #include "screen.h" /* to support the gemote act type command */ #include "constants.h" /* For mud versions */ #include "boards.h" #include "act.h" #include "ban.h" #include "msgedit.h" #include "fight.h" #include "spells.h" /* for affect_update */ #include "modify.h" #include "quest.h" #include "ibt.h" /* for free_ibt_lists */ #include "mud_event.h" int main(int argc, char **argv) { return _main(argc, argv); }