|
|
@ -137,7 +137,7 @@ Value* export_material_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(export_material, 4, count);
|
|
|
|
check_arg_count(export_material, 4, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoExportMaterial [Object] [Filename] [CheckOnly] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoExportMaterial [Object] [Filename] [CheckOnly] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], Boolean, message);
|
|
|
|
type_check(arg_list[2], Boolean, message);
|
|
|
@ -306,7 +306,7 @@ Value* export_transition_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(export_transition, 6, count);
|
|
|
|
check_arg_count(export_transition, 6, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoExportTransition [Object array (count=9)] [Output filename] [First material filename] [Second material filename] [CheckOnly] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoExportTransition [Object array (count=9)] [Output filename] [First material filename] [Second material filename] [CheckOnly] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], Array, message);
|
|
|
|
type_check(arg_list[0], Array, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], String, message);
|
|
|
|
type_check(arg_list[2], String, message);
|
|
|
@ -595,7 +595,7 @@ Value* get_error_zone_template_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(get_error_zone_template, 4, count);
|
|
|
|
check_arg_count(get_error_zone_template, 4, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoGetErrorZoneTemplate [Array error codes] [Array vertex id] [Array messages] [Error index]";
|
|
|
|
TCHAR *message = _T("NeLLigoGetErrorZoneTemplate [Array error codes] [Array vertex id] [Array messages] [Error index]");
|
|
|
|
type_check(arg_list[0], Array, message);
|
|
|
|
type_check(arg_list[0], Array, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
@ -637,7 +637,7 @@ Value* get_error_zone_template_cf (Value** arg_list, int count)
|
|
|
|
vertexId->append (Integer::intern (id+1));
|
|
|
|
vertexId->append (Integer::intern (id+1));
|
|
|
|
|
|
|
|
|
|
|
|
// Append messages
|
|
|
|
// Append messages
|
|
|
|
messages->append (new String("[LIGO DEBUG] Opened edge"));
|
|
|
|
messages->append (new String(_T("[LIGO DEBUG] Opened edge")));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Return the main error message
|
|
|
|
// Return the main error message
|
|
|
@ -687,7 +687,7 @@ Value* check_zone_with_material_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(check_zone_with_template, 3, count);
|
|
|
|
check_arg_count(check_zone_with_template, 3, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoCheckZoneWithMaterial [Object] [Material filename] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoCheckZoneWithMaterial [Object] [Material filename] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], Boolean, message);
|
|
|
|
type_check(arg_list[2], Boolean, message);
|
|
|
@ -820,7 +820,7 @@ Value* check_zone_with_transition_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(check_zone_with_template, 4, count);
|
|
|
|
check_arg_count(check_zone_with_template, 4, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoCheckZoneWithTransition [Object] [Transition filename] [Transition number: 0~8] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoCheckZoneWithTransition [Object] [Transition filename] [Transition number: 0~8] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], Integer, message);
|
|
|
|
type_check(arg_list[2], Integer, message);
|
|
|
@ -987,7 +987,7 @@ Value* export_zone_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(check_zone_with_template, 5, count);
|
|
|
|
check_arg_count(check_zone_with_template, 5, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoExportZone [Object] [Ligozone filename] [Category Array] [Error in dialog] [Snapshot]";
|
|
|
|
TCHAR *message = _T("NeLLigoExportZone [Object] [Ligozone filename] [Category Array] [Error in dialog] [Snapshot]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
@ -1362,7 +1362,7 @@ Value* get_error_string_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(get_error_string, 1, count);
|
|
|
|
check_arg_count(get_error_string, 1, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Checks arg
|
|
|
|
// Checks arg
|
|
|
|
char *message = "NeLLigoGetErrorString [error code]";
|
|
|
|
TCHAR *message = _T("NeLLigoGetErrorString [error code]");
|
|
|
|
type_check(arg_list[0], Integer, message);
|
|
|
|
type_check(arg_list[0], Integer, message);
|
|
|
|
|
|
|
|
|
|
|
|
// The first arg
|
|
|
|
// The first arg
|
|
|
@ -1380,7 +1380,7 @@ Value* set_directory_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(set_directory, 1, count);
|
|
|
|
check_arg_count(set_directory, 1, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Checks arg
|
|
|
|
// Checks arg
|
|
|
|
char *message = "NeLLigoDirectory [path]";
|
|
|
|
TCHAR *message = _T("NeLLigoDirectory [path]");
|
|
|
|
type_check(arg_list[0], String, message);
|
|
|
|
type_check(arg_list[0], String, message);
|
|
|
|
|
|
|
|
|
|
|
|
// The first arg
|
|
|
|
// The first arg
|
|
|
@ -1398,7 +1398,7 @@ Value* get_zone_mask_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(check_zone_with_template, 5, count);
|
|
|
|
check_arg_count(check_zone_with_template, 5, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoGetZoneMask [Object] [Mask Array] [Width Array] [Height Array] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoGetZoneMask [Object] [Mask Array] [Width Array] [Height Array] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
@ -1558,7 +1558,7 @@ Value* get_zone_size_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(check_zone_with_template, 6, count);
|
|
|
|
check_arg_count(check_zone_with_template, 6, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoGetZoneMask [Object] [minx Array] [maxy Array] [miny Array] [maxy Array] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoGetZoneMask [Object] [minx Array] [maxy Array] [miny Array] [maxy Array] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[1], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
|
type_check(arg_list[2], Array, message);
|
|
|
@ -1859,7 +1859,7 @@ Value* make_snapshot_cf (Value** arg_list, int count)
|
|
|
|
check_arg_count(NeLLigoMakeSnapShot, 7, count);
|
|
|
|
check_arg_count(NeLLigoMakeSnapShot, 7, count);
|
|
|
|
|
|
|
|
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
// Check to see if the arguments match up to what we expect
|
|
|
|
char *message = "NeLLigoMakeSnapShot [Object] [Snapshot filename] [xMin] [xMax] [yMin] [yMax] [Error in dialog]";
|
|
|
|
TCHAR *message = _T("NeLLigoMakeSnapShot [Object] [Snapshot filename] [xMin] [xMax] [yMin] [yMax] [Error in dialog]");
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[0], MAXNode, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[1], String, message);
|
|
|
|
type_check(arg_list[2], Integer, message);
|
|
|
|
type_check(arg_list[2], Integer, message);
|
|
|
|