From 1fab44452d82fd7ffc7bdb2d6935c61cca931c5c Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 18 Dec 2000 16:58:33 +0000 Subject: [PATCH] --- Utils/Scripter/function.cpp | 2 +- Utils/Scripter/main.cpp | 3 ++- Utils/Scripter/pfile.cpp | 4 ++-- tools/scripter.exe | Bin 229439 -> 229439 bytes 4 files changed, 5 insertions(+), 4 deletions(-) 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 c9bc8a746fe852b9625f2616fcc4084f0cd0efe7..ebdc94dd2d4ac29403a25fd9806afc3944f48ae2 100644 GIT binary patch delta 420 zcmdnrz_-7FZ^8@a1;1@4zMje1Bf!AG@PLUyX7WNN?aezF!)^36-Z?S6@Q7w$XgEq}Yb@6g$2-L-+Y9l^+0KGvn@!N zp~S1(^-I8uKNmp~EUgDh46_)!!8%?@0Tp+;et5AMNO${wxcD$IqXJ~fjwq1z9Fq^& zsWQC@n*32ne{zDLe6xamyMjIAb_IK;2kRy;W~$j<^Ny*4mCLoFpeVJtI5R(Q`oGUi zQ^dG{eu9ADe1(#X)S^^9Jua^4C%!N#OjmgaBwl=B`Y`?GS0-sjhUs6wGMR7J{>HR5 qi_v5H!vtn)j!?TCyLP+zcH1=)nQzEVG+>$5z|6yFHJ!JC*$4ohU4*Xy