]> icculus.org git repositories - btb/d2x.git/blob - main/automap.h
Add RCS ID tag
[btb/d2x.git] / main / automap.h
1 /* $Id: automap.h,v 1.6 2004-08-28 23:17:45 schaffner 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  */
20
21 #ifndef _AUTOMAP_H
22 #define _AUTOMAP_H
23
24 #include "player.h"
25
26 extern void do_automap(int key_code);
27 extern void automap_clear_visited();
28 extern ubyte Automap_visited[MAX_SEGMENTS];
29 void DropBuddyMarker(object *objp);
30
31 extern int Automap_active;
32
33 #define NUM_MARKERS         16
34 #define MARKER_MESSAGE_LEN  40
35
36 extern char MarkerMessage[NUM_MARKERS][MARKER_MESSAGE_LEN];
37 extern char MarkerOwner[NUM_MARKERS][CALLSIGN_LEN+1];
38 extern int  MarkerObject[NUM_MARKERS];
39
40 //added on 9/30/98 by Matt Mueller for selectable automap modes
41 extern u_int32_t automap_mode;
42 #define AUTOMAP_MODE (automap_use_game_res?grd_curscreen->sc_mode:automap_mode)
43 //extern int automap_width;
44 //extern int automap_height;
45 //end addition -MM
46 extern int automap_use_game_res;
47 extern int nice_automap;
48
49 #endif