mirror of
https://github.com/diasurgical/devilution.git
synced 2025-07-23 12:33:00 +02:00
40 lines
916 B
C
40 lines
916 B
C
/**
|
|
* @file automap.h
|
|
*
|
|
* Interface of the in-game map overlay.
|
|
*/
|
|
#ifndef __AUTOMAP_H__
|
|
#define __AUTOMAP_H__
|
|
|
|
extern WORD automaptype[512];
|
|
extern BOOL automapflag;
|
|
extern char AmShiftTab[31];
|
|
extern BOOLEAN automapview[DMAXX][DMAXY];
|
|
extern int AutoMapScale;
|
|
extern int AutoMapXOfs;
|
|
extern int AutoMapYOfs;
|
|
extern int AmLine64;
|
|
extern int AmLine32;
|
|
extern int AmLine16;
|
|
extern int AmLine8;
|
|
extern int AmLine4;
|
|
|
|
void InitAutomapOnce();
|
|
void InitAutomap();
|
|
void StartAutomap();
|
|
void AutomapUp();
|
|
void AutomapDown();
|
|
void AutomapLeft();
|
|
void AutomapRight();
|
|
void AutomapZoomIn();
|
|
void AutomapZoomOut();
|
|
void DrawAutomap();
|
|
void DrawAutomapTile(int screen_x, int screen_y, WORD automap_type);
|
|
void DrawAutomapPlr();
|
|
WORD GetAutomapType(int x, int y, BOOL view);
|
|
void DrawAutomapText();
|
|
void SetAutomapView(int x, int y);
|
|
void AutomapZoomReset();
|
|
|
|
#endif /* __AUTOMAP_H__ */
|