/*************************************************************************** * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * * Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. * * * * Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael * * Chastain, Michael Quan, and Mitchell Tse. * * * * Ack 2.2 improvements copyright (C) 1994 by Stephen Dooley * * * * In order to use any part of this Merc Diku Mud, you must comply with * * both the original Diku license in 'license.doc' as well the Merc * * license in 'license.txt'. In particular, you may not remove either of * * these copyright notices. * * * * _/ _/_/_/ _/ _/ _/ ACK! MUD is modified * * _/_/ _/ _/ _/ _/ Merc2.0/2.1/2.2 code * * _/ _/ _/ _/_/ _/ (c)Stephen Zepp 1998 * * _/_/_/_/ _/ _/ _/ Version #: 4.3 * * _/ _/ _/_/_/ _/ _/ _/ * * * * http://ackmud.nuc.net/ * * zenithar@ackmud.nuc.net * * Much time and thought has gone into this software and you are * * benefitting. We hope that you share your changes too. What goes * * around, comes around. * ***************************************************************************/ /*************************************************************************** * _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ AckFUSS is modified ACK!MUD 4.3.1 * * _/ _/ _/ _/ _/ copyright Matt Goff (Kline) 2008 * * _/_/ _/ _/ _/_/_/_/ _/_/_/_/ * * _/ _/ _/ _/ _/ Support for this code is provided * * _/ _/_/_/_/ _/_/_/_/ _/_/_/_/ at www.ackmud.net -- check it out!* ***************************************************************************/ #include "globals.h" #define MAX_MAP 40 #define MAX_MAP_DIR 4 #define DOOR_LOCKED -1 #define DOOR_CLOSED -2 #define DOOR_OPEN -3 #define DOOR_NS -4 #define DOOR_EW -5 #define DOOR_NULL -6 #define LOS_INITIAL -5 #define MAP_Y 9 struct room_content_type { char string[10]; }; struct room_content_type contents[MAX_MAP][MAX_MAP]; int map[MAX_MAP][MAX_MAP]; extern const char* compass_name[]; struct map_info_type { int sector_type; char *display_color; char *display_code; char *invert_color; char *desc; }; void MapArea( ROOM_INDEX_DATA * room, CHAR_DATA * ch, int x, int y, int min, int max, int line_of_sight ); void ShowMap( CHAR_DATA * ch, int min, int max, int size, int center ); void ShowHalfMap( CHAR_DATA * ch, int min, int max ); void do_printmap( CHAR_DATA * ch, char *argument ); void ShowRoom( CHAR_DATA * ch, int min, int max, int size, int center ); void do_map( CHAR_DATA * ch, char *argument ); void do_smallmap( CHAR_DATA * ch, char *argument );