1#ifndef NANOMMO_CLIENT_MAP_H_
2#define NANOMMO_CLIENT_MAP_H_
33 static constexpr std::array<float, 3>
kZooms = {25.0f, 45.0f, 80.0f};
48 bool DrawMinimap(
const std::vector<Figure>& figures, uint32_t target,
49 std::optional<Vector3> destination,
float heading,
56 int zoom()
const {
return zoom_; }
61 std::optional<Place>
DrawMap(
const std::vector<Figure>& figures,
63 std::optional<Vector3> destination,
std::optional< Place > DrawMap(const std::vector< Figure > &figures, uint32_t target, std::optional< Vector3 > destination, bool *open) const
float minimap_bottom() const
LandMap(const LandMap &)=delete
void Build(const Terrain &terrain, int land)
Draws the land into the texture, in place of the last one.
static constexpr std::array< float, 3 > kZooms
In metres from you to the minimap's rim, at each of its zooms.
bool DrawMinimap(const std::vector< Figure > &figures, uint32_t target, std::optional< Vector3 > destination, float heading, MinimapTurn turn)
LandMap & operator=(const LandMap &)=delete
Image DrawLand(const Terrain &terrain, int land)