Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CMiniMap.h
/* Copyright (C) 2020 Wildfire Games. | /* Copyright (C) 2021 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | protected: | ||||
// texture data | // texture data | ||||
u32* m_TerrainData; | u32* m_TerrainData; | ||||
// whether we need to regenerate the terrain texture | // whether we need to regenerate the terrain texture | ||||
bool m_TerrainDirty; | bool m_TerrainDirty; | ||||
// Whether to draw a black square around and under the minimap. | // Whether to draw a black square around and under the minimap. | ||||
bool m_Mask; | CGUISimpleSetting<bool> m_Mask; | ||||
ssize_t m_Width, m_Height; | ssize_t m_Width, m_Height; | ||||
// map size | // map size | ||||
ssize_t m_MapSize; | ssize_t m_MapSize; | ||||
// texture size | // texture size | ||||
GLsizei m_TextureSize; | GLsizei m_TextureSize; | ||||
Show All 31 Lines |
Wildfire Games · Phabricator