BigOverlays will now affect pathfinding.

This commit is contained in:
Justin Marshall
2020-07-24 20:25:54 -07:00
parent 908f6c9c3e
commit 618a31fb8c
8 changed files with 135 additions and 13 deletions
+5
View File
@@ -17,6 +17,7 @@ struct BigOverlayType_t {
class BigOverlay {
friend class BigOverlayManager;
friend class DisplayClass;
public:
BigOverlay();
int GetIndex(void) { return index; }
@@ -31,6 +32,10 @@ protected:
void SetPosition(COORDINATE position) { this->position = position; }
void SetOverlayNum(int overlayNum) { this->overlayNum = overlayNum; }
bool IsEnabled(void) { return enabled; }
int startOverlayCoord;
int numOverlayedCells;
COORDINATE overlayedCells[256];
private:
int overlayNum;
COORDINATE position;