Tilemap effect: Added a menu to set options. Options saved and reloaded in .INI. Added support for shortcuts (but no helpfile so far, so you can't set them)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1870 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-11-13 23:21:59 +00:00
parent d60a4441d1
commit 496148d485
12 changed files with 168 additions and 32 deletions

View File

@@ -42,19 +42,6 @@ void Disable_spare_tilemap(void);
#define TILE_X(t) (((t)%Main_tilemap_width)*Snap_width+Snap_offset_X)
#define TILE_Y(t) (((t)/Main_tilemap_width)*Snap_height+Snap_offset_Y)
typedef struct
{
byte Allow_flipped_x;
byte Allow_flipped_y;
byte Allow_flipped_xy;
byte Show_tile_count;
} T_Tilemap_settings;
extern T_Tilemap_settings Tilemap_settings;
/// Tilemap for the main screen
extern T_Tile * Main_tilemap;