diff --git a/Utils/Scripter/function.cpp b/Utils/Scripter/function.cpp index 69429487e..39cd61513 100644 --- a/Utils/Scripter/function.cpp +++ b/Utils/Scripter/function.cpp @@ -61,7 +61,7 @@ struct FunctionDef ---- */ static FunctionDef s_functionNames[]= { - { "setCharacterExpression", 2, }, // character, expression + { "setCharacterAnimation", 2, }, // character, animation { "setText", 1, }, // textId }; static int s_functionCount=sizeof(s_functionNames)/sizeof(FunctionDef); diff --git a/Utils/Scripter/main.cpp b/Utils/Scripter/main.cpp index 5ab7db5df..75004b28e 100644 --- a/Utils/Scripter/main.cpp +++ b/Utils/Scripter/main.cpp @@ -77,6 +77,7 @@ extern int main(int argc, char *argv[]) infile=argv[1]; outfile=argv[2]; + printf("Scripter attempting to compile %s..\n",infile); if(parseFile(infile,s_baseTreeNode)==YYEXIT_SUCCESS&&s_baseTreeNode) { if(openOutputFile(outfile)) @@ -84,7 +85,7 @@ extern int main(int argc, char *argv[]) int byteCount; byteCount=s_baseTreeNode->generateCode(true); closeOutputFile(); - printf("Generated %d bytes of code\n",byteCount*2); + printf("Generated %d bytes of code in %s\n",byteCount*2,outfile); ret=0; } else diff --git a/Utils/Scripter/pfile.cpp b/Utils/Scripter/pfile.cpp index 05b9c0497..bdf2de4b2 100644 --- a/Utils/Scripter/pfile.cpp +++ b/Utils/Scripter/pfile.cpp @@ -134,10 +134,10 @@ int CPFile::open(char *_filename) ---------------------------------------------------------------------- */ int CPFile::close() { - printf("Processed %d char(s) on %d line(s) in file %s\n",m_charCount,m_lineCount,m_filename); + printf(" Processed %d char(s) on %d line(s) in file %s\n",m_charCount,m_lineCount,m_filename); if(m_errorCount) { - printf("Found %d error(s) :(\n",m_errorCount); + printf(" Found %d error(s) :(\n",m_errorCount); } fclose(m_fh); if(m_next) diff --git a/tools/scripter.exe b/tools/scripter.exe index c9bc8a746..ebdc94dd2 100644 Binary files a/tools/scripter.exe and b/tools/scripter.exe differ