almost finished with copy safe q variables

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@403 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-09-05 04:28:16 +00:00
parent c2ca5f15d6
commit e810879d5f
7 changed files with 114 additions and 9 deletions

View File

@ -2162,7 +2162,7 @@ int Parser::parse_shape_per_frame_init_eqn(std::istream & fs, CustomShape * cus
return PROJECTM_SUCCESS;
}
int Parser::parse_shape_per_frame_eqn(std::istream & fs, CustomShape * custom_shape, Preset * preset) {
int Parser::parse_shape_per_frame_eqn(std::istream & fs, CustomShape * custom_shape, Preset * preset) {
Param * param;
GenExpr * gen_expr;
@ -2187,7 +2187,7 @@ if (PARSE_DEBUG) printf("parse_shape (per_frame): [start] (custom shape id = %d)
/* Make sure parameter is writable */
if (param->flags & P_FLAG_READONLY) {
if (PARSE_DEBUG) printf("parse_shape (per_frame): parameter %s is marked as read only (LINE %d)\n", param->name.c_str(), line_count);
return PROJECTM_FAILURE;
return PROJECTM_PARSE_ERROR;
}
/* Parse right side of equation as an expression */