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

@@ -597,6 +597,22 @@ T_Key_config ConfigKey[NB_SHORTCUTS] = {
true,
SDLK_b|MOD_SHIFT|MOD_ALT, // Shift + Alt + B
0},
{206,
"Tilemap mode",
"Enables or disables the Tilemap",
"mode.",
"",
true,
0, // No key
0},
{207,
"Tilemap menu",
"Opens a menu where you can configure",
"the tilemap settings.",
"",
true,
0, // No key
0},
{67,
"Classical brush grabbing",
"Allows you to pick a brush defined",
@@ -1780,6 +1796,8 @@ word Ordering[NB_SHORTCUTS]=
SPECIAL_SMEAR_MODE, // Smear mode
SPECIAL_TILING_MODE, // Tiling mode
SPECIAL_TILING_MENU, // Tiling menu
SPECIAL_TILEMAP_MODE, // Tilemap mode
SPECIAL_TILEMAP_MENU, // Tilemap menu
0x100+BUTTON_BRUSH, // Pick brush
0x100+BUTTON_POLYBRUSH, // Pick polyform brush
0x200+BUTTON_BRUSH, // Restore brush