move tilemap data to T_Document.

Also merge Disable_main_tilemap + Disable_spare_tilemap
=> Disable_tilemap()
This commit is contained in:
Thomas Bernard
2018-01-22 20:59:49 +01:00
parent 92620bb4ba
commit 353b494617
5 changed files with 79 additions and 123 deletions

View File

@@ -606,6 +606,12 @@ typedef struct
byte safety_backup_prefix;
/// Tilemap mode
byte tilemap_mode;
/// Tilemap
T_Tile * tilemap;
/// Number of tiles (horizontally) for the tilemap
short tilemap_width;
/// Number of tiles (vertically) for the tilemap
short tilemap_height;
/// The pixels of visible layers, flattened copy.
T_Bitmap visible_image;
/// List of backup pages for the main image.