]> icculus.org git repositories - btb/d2x.git/blob - main/automap.h
formatting, patch for better d1 texture conversion from Martin Schaffner <maschaffner...
[btb/d2x.git] / main / automap.h
1 /*
2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
12 */
13
14
15
16 #ifndef _AUTOMAP_H
17 #define _AUTOMAP_H
18
19 #include "player.h"
20
21 extern void do_automap(int key_code);
22 extern void automap_clear_visited();
23 extern ubyte Automap_visited[MAX_SEGMENTS];
24 extern void modex_print_message(int x, int y, char *str);
25 void DropBuddyMarker(object *objp);
26
27 extern int Automap_active;
28
29 #define NUM_MARKERS                             16
30 #define MARKER_MESSAGE_LEN              40
31
32 extern char MarkerMessage[NUM_MARKERS][MARKER_MESSAGE_LEN];
33 extern char MarkerOwner[NUM_MARKERS][CALLSIGN_LEN+1];
34 extern int      MarkerObject[NUM_MARKERS];
35
36 //added on 9/30/98 by Matt Mueller for selectable automap modes
37 extern u_int32_t automap_mode ; 
38 #define AUTOMAP_MODE (automap_use_game_res?grd_curscreen->sc_mode:automap_mode)
39 //extern int automap_width ;
40 //extern int automap_height ;
41 //end addition -MM
42 extern int automap_use_game_res;
43
44 #endif