2020-09-06 10:44:58 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "tarray.h"
|
|
|
|
#include "build.h"
|
2020-09-06 18:49:43 +00:00
|
|
|
#include "c_cvars.h"
|
2020-09-06 19:31:05 +00:00
|
|
|
#include "palentry.h"
|
2020-09-06 10:44:58 +00:00
|
|
|
|
2020-09-06 11:39:57 +00:00
|
|
|
class FSerializer;
|
2020-09-06 18:49:43 +00:00
|
|
|
struct event_t;
|
2020-09-06 11:39:57 +00:00
|
|
|
|
2020-09-06 10:44:58 +00:00
|
|
|
extern bool automapping;
|
|
|
|
extern bool gFullMap;
|
|
|
|
extern FixedBitArray<MAXSECTORS> show2dsector;
|
|
|
|
extern FixedBitArray<MAXWALLS> show2dwall;
|
|
|
|
extern FixedBitArray<MAXSPRITES> show2dsprite;
|
|
|
|
|
2020-09-06 11:39:57 +00:00
|
|
|
void SerializeAutomap(FSerializer& arc);
|
2020-09-06 10:44:58 +00:00
|
|
|
void ClearAutomap();
|
|
|
|
void MarkSectorSeen(int sect);
|
|
|
|
void DrawOverheadMap(int x, int y, int ang);
|
2020-09-06 18:49:43 +00:00
|
|
|
bool AM_Responder(event_t* ev, bool last);
|
2020-09-06 19:31:05 +00:00
|
|
|
void drawlinergb(int32_t x1, int32_t y1, int32_t x2, int32_t y2, PalEntry p);
|
2020-09-06 10:44:58 +00:00
|
|
|
|
2020-09-06 18:49:43 +00:00
|
|
|
enum AM_Mode
|
|
|
|
{
|
|
|
|
am_off,
|
|
|
|
am_overlay,
|
|
|
|
am_full,
|
|
|
|
am_count
|
|
|
|
};
|
|
|
|
extern int automapMode;
|
|
|
|
|
|
|
|
EXTERN_CVAR(Bool, am_followplayer)
|