Devilution
Diablo devolved - magic behind the 1996 computer game
|
#include "all.h"
Go to the source code of this file.
Macros | |
#define | COLOR_PLAYER (PAL8_ORANGE + 1) |
color used to draw the player's arrow More... | |
#define | COLOR_BRIGHT PAL8_YELLOW |
color for bright map lines (doors, stairs etc.) More... | |
#define | COLOR_DIM (PAL16_YELLOW + 8) |
color for dim map lines/dots More... | |
#define | MAPFLAG_TYPE 0x000F |
#define | MAPFLAG_VERTDOOR 0x01 |
these are in the second byte More... | |
#define | MAPFLAG_HORZDOOR 0x02 |
#define | MAPFLAG_VERTARCH 0x04 |
#define | MAPFLAG_HORZARCH 0x08 |
#define | MAPFLAG_VERTGRATE 0x10 |
#define | MAPFLAG_HORZGRATE 0x20 |
#define | MAPFLAG_DIRT 0x40 |
#define | MAPFLAG_STAIRS 0x80 |
Functions | |
void | InitAutomapOnce () |
void | InitAutomap () |
void | StartAutomap () |
void | AutomapUp () |
void | AutomapDown () |
void | AutomapLeft () |
void | AutomapRight () |
void | AutomapZoomIn () |
void | AutomapZoomOut () |
void | DrawAutomap () |
void | DrawAutomapTile (int sx, int sy, WORD automap_type) |
void | DrawAutomapPlr () |
WORD | GetAutomapType (int x, int y, BOOL view) |
void | DrawAutomapText () |
void | SetAutomapView (int x, int y) |
void | AutomapZoomReset () |
Variables | |
DEVILUTION_BEGIN_NAMESPACE WORD | automaptype [512] |
Maps from tile_id to automap type. More... | |
static int | AutoMapX |
static int | AutoMapY |
BOOL | automapflag |
Specifies whether the automap is enabled. More... | |
char | AmShiftTab [31] |
BOOLEAN | automapview [DMAXX][DMAXY] |
Tracks the explored areas of the map. More... | |
int | AutoMapScale |
Specifies the scale of the automap. More... | |
int | AutoMapXOfs |
int | AutoMapYOfs |
int | AmLine64 |
int | AmLine32 |
int | AmLine16 |
int | AmLine8 |
int | AmLine4 |
Implementation of the in-game map overlay.
Definition in file automap.cpp.