]> icculus.org git repositories - btb/d2x.git/blob - main/automap.h
shareware stuff
[btb/d2x.git] / main / automap.h
1 /* $Id: automap.h,v 1.3 2003-10-10 09:36:34 btb Exp $ */
2 /*
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.
13 */
14
15 /*
16  *
17  * Prototypes for auto-map stuff.
18  *
19  * Old Log:
20  * Revision 1.2  1995/07/12  12:48:33  allender
21  * moved edge_list structure into here for mallocing in mglobal
22  *
23  * Revision 1.1  1995/05/16  15:54:31  allender
24  * Initial revision
25  *
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.
29  *
30  * Revision 1.5  1994/12/09  00:41:21  mike
31  * fix hang in automap print screen
32  *
33  * Revision 1.4  1994/07/14  11:25:29  john
34  * Made control centers destroy better; made automap use Tab key.
35  *
36  * Revision 1.3  1994/07/12  15:45:51  john
37  * Made paritial map.
38  *
39  * Revision 1.2  1994/07/07  18:35:05  john
40  * First version of automap
41  *
42  * Revision 1.1  1994/07/07  15:12:13  john
43  * Initial revision
44  *
45  *
46  */
47
48 #ifndef _AUTOMAP_H
49 #define _AUTOMAP_H
50
51 #include "player.h"
52
53 extern void do_automap(int key_code);
54 extern void automap_clear_visited();
55 extern ubyte Automap_visited[MAX_SEGMENTS];
56 extern void modex_print_message(int x, int y, char *str);
57 void DropBuddyMarker(object *objp);
58
59 extern int Automap_active;
60
61 #define NUM_MARKERS         16
62 #define MARKER_MESSAGE_LEN  40
63
64 extern char MarkerMessage[NUM_MARKERS][MARKER_MESSAGE_LEN];
65 extern char MarkerOwner[NUM_MARKERS][CALLSIGN_LEN+1];
66 extern int  MarkerObject[NUM_MARKERS];
67
68 //added on 9/30/98 by Matt Mueller for selectable automap modes
69 extern u_int32_t automap_mode;
70 #define AUTOMAP_MODE (automap_use_game_res?grd_curscreen->sc_mode:automap_mode)
71 //extern int automap_width;
72 //extern int automap_height;
73 //end addition -MM
74 extern int automap_use_game_res;
75
76 #endif