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