summaryrefslogtreecommitdiff
path: root/src/resources/map/tileinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/tileinfo.h')
-rw-r--r--src/resources/map/tileinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/map/tileinfo.h b/src/resources/map/tileinfo.h
index 764df0fb4..a15a5dc01 100644
--- a/src/resources/map/tileinfo.h
+++ b/src/resources/map/tileinfo.h
@@ -31,13 +31,20 @@ struct TileInfo final
image(nullptr),
width(0),
count(1),
+ nextTile(1),
isEnabled(true)
{
}
+ /* tile image */
Image *image;
+ /* repeated tile width in pixels */
int width;
+ /* repeated tiles count - 1 */
int count;
+ /* number of tiles to get next tile */
+ int nextTile;
+ /* is tile enabled flag. if set to true, also mean image is non null */
bool isEnabled;
};