{
// check if element_name_info entry defined for each element in "main.h"
if (i < MAX_NUM_ELEMENTS && element_name_info[i].token_name == NULL)
{
// check if element_name_info entry defined for each element in "main.h"
if (i < MAX_NUM_ELEMENTS && element_name_info[i].token_name == NULL)
element_info[i].token_name = element_name_info[i].token_name;
element_info[i].class_name = element_name_info[i].class_name;
element_info[i].token_name = element_name_info[i].token_name;
element_info[i].class_name = element_name_info[i].class_name;
// check if global_anim_name_info defined for each entry in "main.h"
if (i < NUM_GLOBAL_ANIM_TOKENS &&
global_anim_name_info[i].token_name == NULL)
// check if global_anim_name_info defined for each entry in "main.h"
if (i < NUM_GLOBAL_ANIM_TOKENS &&
global_anim_name_info[i].token_name == NULL)
if (strEqual(global.patchtapes_mode, "help"))
global.patchtapes_leveldir = UNDEFINED_LEVELSET;
else
if (strEqual(global.patchtapes_mode, "help"))
global.patchtapes_leveldir = UNDEFINED_LEVELSET;
else
global.create_images_dir = getStringCopy(&command[14]);
if (access(global.create_images_dir, W_OK) != 0)
global.create_images_dir = getStringCopy(&command[14]);
if (access(global.create_images_dir, W_OK) != 0)
- Error(ERR_EXIT, "image target directory '%s' not found or not writable",
- global.create_images_dir);
+ Fail("image target directory '%s' not found or not writable",
+ global.create_images_dir);