22 lines
477 B
C++
22 lines
477 B
C++
#pragma once
|
|
|
|
#include "Tile.h"
|
|
#include <cstdint>
|
|
#include <tuple>
|
|
|
|
namespace openloco::map::tilemgr
|
|
{
|
|
enum MapSelectFlag : uint16_t
|
|
{
|
|
enable = (1 << 0),
|
|
enableConstruct = (1 << 1)
|
|
};
|
|
|
|
tile get(map_pos pos);
|
|
tile get(coord_t x, coord_t y);
|
|
std::tuple<int16_t, int16_t> getHeight(coord_t x, coord_t y);
|
|
void mapInvalidateSelectionRect();
|
|
void mapInvalidateTileFull(map::map_pos pos);
|
|
void mapInvalidateMapSelectionTiles();
|
|
}
|