Changeset 9713 in orxonox.OLD for branches/new_class_id/src/lib/script_engine
- Timestamp:
- Sep 1, 2006, 11:43:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/script_engine/script.cc
r9709 r9713 171 171 bool Script::executeFile() 172 172 { 173 PRINT (2)("WARNING:script.executeFile is not implemented yet\n");173 PRINTF(2)("script.executeFile is not implemented yet\n"); 174 174 /*if(currentFile.length() != 0) 175 175 { … … 216 216 if(error != 0) 217 217 { 218 printf("SCRIPT %s : ERROR: Failed to execute function %s: \n",currentFile.c_str(),currentFunction.c_str());218 PRINTF(1)("Script '%s' : Failed to execute function '%s': \n",currentFile.c_str(),currentFunction.c_str()); 219 219 reportError(error); 220 220 //clean up … … 231 231 } 232 232 else 233 printf("SCRIPT %s : ERROR: no function selected.\n",currentFile.c_str());233 PRINTF(1)("SCRIPT '%s' : no function selected.\n",currentFile.c_str()); 234 234 235 235 return false;
Note: See TracChangeset
for help on using the changeset viewer.