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:
@@ -954,6 +954,29 @@ int Load_INI(T_Config * conf)
|
||||
{
|
||||
conf->Allow_multi_shortcuts=(values[0]!=0);
|
||||
}
|
||||
|
||||
conf->Tilemap_allow_flipped_x=0;
|
||||
// Optional, makes tilemap effect detect x-flipped tiles (>=2.4)
|
||||
if (!Load_INI_get_values (file,buffer,"Tilemap_detect_mirrored_x",1,values))
|
||||
{
|
||||
conf->Tilemap_allow_flipped_x=(values[0]!=0);
|
||||
}
|
||||
|
||||
conf->Tilemap_allow_flipped_y=0;
|
||||
// Optional, makes tilemap effect detect y-flipped tiles (>=2.4)
|
||||
if (!Load_INI_get_values (file,buffer,"Tilemap_detect_mirrored_y",1,values))
|
||||
{
|
||||
conf->Tilemap_allow_flipped_y=(values[0]!=0);
|
||||
}
|
||||
|
||||
conf->Tilemap_show_count=0;
|
||||
// Optional, makes tilemap effect display tile count (>=2.4)
|
||||
if (!Load_INI_get_values (file,buffer,"Tilemap_count",1,values))
|
||||
{
|
||||
conf->Tilemap_show_count=(values[0]!=0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Insert new values here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user