_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
48 template <const
int BPP>
49 void UpdateMapTerrain(
void *
const mpixels,
const int mpitch,
50 const void *
const tpixels,
const int tpitch);
54 template <const
int BPP>
55 void UpdateSeen(
void *
const pixels,
const int pitch);
62 void SetFogOpacityLevels(
const uint8_t explored,
const uint8_t revealed,
const uint8_t unseen);
89 struct MinimapSettings
92 uint8_t FogVisibleOpacity {0x00};
93 uint8_t FogExploredOpacity {0x55};
94 uint8_t FogRevealedOpacity {0xAA};
95 uint8_t FogUnseenOpacity {0xFF};
106 #endif // !__MINIMAP_H__
bool Transparent
Definition: minimap.h:86
bool UpdateCache
Definition: minimap.h:87
bool Contains(const PixelPos &screenPos) const
Definition: minimap.cpp:543
void DrawViewportArea(const CViewport &viewport) const
Definition: minimap.cpp:516
uint32_t IntColor
Definition: color.h:37
void SetFogOpacityLevels(const uint8_t explored, const uint8_t revealed, const uint8_t unseen)
Definition: minimap.cpp:231
Definition: viewport.h:63
void Create()
Definition: minimap.cpp:107
CMinimap()
Definition: minimap.h:58
int X
Definition: minimap.h:78
void Destroy()
Definition: minimap.cpp:491
int H
Definition: minimap.h:81
PixelPos TilePosToScreenPos(const Vec2i &tilePos) const
Definition: minimap.cpp:481
int Y
Definition: minimap.h:79
int XOffset
Definition: minimap.h:82
SDL_Surface * MinimapSurface
Definition: minimap.cpp:72
Definition: settings.h:230
void UpdateSeenXY(const Vec2i &)
Definition: minimap.h:65
Vec2i ScreenToTilePos(const PixelPos &screenPos) const
Definition: minimap.cpp:465
int W
Definition: minimap.h:80
int YOffset
Definition: minimap.h:83
void Draw() const
Definition: minimap.cpp:450
bool WithTerrain
Definition: minimap.h:84
void Update()
Definition: minimap.cpp:375
void UpdateXY(const Vec2i &pos)
Definition: minimap.cpp:243
bool ShowSelected
Definition: minimap.h:85
void AddEvent(const Vec2i &pos, IntColor color)
Definition: minimap.cpp:532
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.