/*
* IMC2 - an inter-mud communications protocol
*
* imc-envy.h: Envy2 interface definitions
*
* Copyright (C) 1996 Oliver Jowett <oliver@sa-search.massey.ac.nz>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program (see the file COPYING); if not, write to the
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef IMC_ROM_H
#define IMC_ROM_H
/* Stick your mud ad in this #define :) */
#define IMC_MUD_INFO "Shades of Evil--Are you Prepared?\n\r\n\r" \
"A Fantasy/Gothic/Horror MERC derivative\n\r" \
"The first mud site for the Ack!Mud 3.1(beta) code base\n\r\n\r" \
" soe.nuc.net 6666 "
/* #define IMC_NEED_COLOR if your mud uses color in strings
* (of the form ?a where ? is some prefix char and a is some color letter)
*
* If you use IMC_NEED_COLOR, #define IMC_COLOR_CHAR to whatever your color
* prefix character is.
*/
#define IMC_COLOR
#define IMC_COLORCHAR '@'
#define IMC_NORCHAT 0x01
#define IMC_NORIMM 0x02
#define IMC_NORINFO 0x04
#define IMC_NORCODE 0x08
#define IMC_NOALLIMM 0x16
#define BOARDS /* for imc_mail_arrived */
#if 0 /* Envy2 does not have the equivalent of Wiznet */
#define WIZ_IMC (Y)
#define WIZ_IMCDEBUG (Z)
#endif
DECLARE_DO_FUN(do_rchat);
DECLARE_DO_FUN(do_rimm);
DECLARE_DO_FUN(do_rinfo);
DECLARE_DO_FUN(do_rcode);
DECLARE_DO_FUN(do_allimm); /* for linking all imm channels */
DECLARE_DO_FUN(do_rtell);
DECLARE_DO_FUN(do_rreply);
DECLARE_DO_FUN(do_rwho);
DECLARE_DO_FUN(do_rquery);
DECLARE_DO_FUN(do_rbeep);
DECLARE_DO_FUN(do_imclist);
DECLARE_DO_FUN(do_rsockets);
DECLARE_DO_FUN(do_imc);
DECLARE_DO_FUN(do_rignore);
DECLARE_DO_FUN(do_rconnect);
DECLARE_DO_FUN(do_rdisconnect);
DECLARE_DO_FUN(do_istats);
DECLARE_DO_FUN(do_mailqueue);
/* for memory marking (leak checking in conjunction with SAM) */
void imc_markmemory(void (*markfn)(void *));
/* string checking (with SAM+hacks) */
void imc_markstrings(void (*markfn)(char *));
const char *color_itom(const char *);
const char *color_mtoi(const char *);
#endif