]> icculus.org git repositories - btb/d2x.git/blob - main/automap.h
use the orientation parameter of g3_draw_bitmap
[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  * Prototypes for auto-map stuff.
17  *
18  */
19
20 #ifndef _AUTOMAP_H
21 #define _AUTOMAP_H
22
23 #include "player.h"
24
25 extern void do_automap(int key_code);
26 extern void automap_clear_visited(void);
27 extern ubyte Automap_visited[MAX_SEGMENTS];
28 void DropBuddyMarker(object *objp);
29
30 extern int Automap_active;
31 extern cvar_t Automap_always_hires;
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 uint32_t automap_mode;
42 #define AUTOMAP_MODE (automap_use_game_res.intval?grd_curscreen->sc_mode:automap_mode)
43 //extern int automap_width;
44 //extern int automap_height;
45 //end addition -MM
46 extern cvar_t automap_use_game_res;
47 extern int nice_automap;
48
49 #endif