/* $Id: automap.h,v 1.4 2003-11-15 00:36:54 btb Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE. COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. */ /* * * Prototypes for auto-map stuff. * * Old Log: * Revision 1.2 1995/07/12 12:48:33 allender * moved edge_list structure into here for mallocing in mglobal * * Revision 1.1 1995/05/16 15:54:31 allender * Initial revision * * Revision 2.0 1995/02/27 11:29:35 john * New version 2.0, which has no anonymous unions, builds with * Watcom 10.0, and doesn't require parsing BITMAPS.TBL. * * Revision 1.5 1994/12/09 00:41:21 mike * fix hang in automap print screen * * Revision 1.4 1994/07/14 11:25:29 john * Made control centers destroy better; made automap use Tab key. * * Revision 1.3 1994/07/12 15:45:51 john * Made paritial map. * * Revision 1.2 1994/07/07 18:35:05 john * First version of automap * * Revision 1.1 1994/07/07 15:12:13 john * Initial revision * * */ #ifndef _AUTOMAP_H #define _AUTOMAP_H #include "player.h" extern void do_automap(int key_code); extern void automap_clear_visited(); extern ubyte Automap_visited[MAX_SEGMENTS]; void DropBuddyMarker(object *objp); extern int Automap_active; #define NUM_MARKERS 16 #define MARKER_MESSAGE_LEN 40 extern char MarkerMessage[NUM_MARKERS][MARKER_MESSAGE_LEN]; extern char MarkerOwner[NUM_MARKERS][CALLSIGN_LEN+1]; extern int MarkerObject[NUM_MARKERS]; //added on 9/30/98 by Matt Mueller for selectable automap modes extern u_int32_t automap_mode; #define AUTOMAP_MODE (automap_use_game_res?grd_curscreen->sc_mode:automap_mode) //extern int automap_width; //extern int automap_height; //end addition -MM extern int automap_use_game_res; #endif