Changeset 9713 in orxonox.OLD for branches/new_class_id
- Timestamp:
- Sep 1, 2006, 11:43:31 AM (18 years ago)
- Location:
- branches/new_class_id/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/lang/new_object_list.h
r9709 r9713 9 9 10 10 #include "new_class_id.h" 11 #include <cassert> 11 12 #include <map> 12 13 #include <list> -
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; -
branches/new_class_id/src/world_entities/terrain.cc
r9709 r9713 89 89 Terrain::~Terrain () 90 90 { 91 if ( objectList)91 if (modelList) 92 92 glDeleteLists(this->modelList, 1); 93 93 if( this->ssp) … … 207 207 //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 208 208 209 if (this-> objectList)209 if (this->modelList) 210 210 glCallList(this->modelList); 211 211 else if (this->getModel())
Note: See TracChangeset
for help on using the changeset viewer.