Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9713 in orxonox.OLD


Ignore:
Timestamp:
Sep 1, 2006, 11:43:31 AM (18 years ago)
Author:
bensch
Message:

terrain fixed, and <cassert> included

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  
    99
    1010#include "new_class_id.h"
     11#include <cassert>
    1112#include <map>
    1213#include <list>
  • branches/new_class_id/src/lib/script_engine/script.cc

    r9709 r9713  
    171171 bool Script::executeFile()
    172172 {
    173    PRINT(2)("WARNING: script.executeFile is not implemented yet\n");
     173   PRINTF(2)("script.executeFile is not implemented yet\n");
    174174   /*if(currentFile.length() != 0)
    175175   {
     
    216216    if(error != 0)
    217217    {
    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());
    219219     reportError(error);
    220220     //clean up
     
    231231   }
    232232   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());
    234234
    235235   return false;
  • branches/new_class_id/src/world_entities/terrain.cc

    r9709 r9713  
    8989Terrain::~Terrain ()
    9090{
    91   if (objectList)
     91  if (modelList)
    9292    glDeleteLists(this->modelList, 1);
    9393  if( this->ssp)
     
    207207  //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    208208
    209   if (this->objectList)
     209  if (this->modelList)
    210210    glCallList(this->modelList);
    211211  else if (this->getModel())
Note: See TracChangeset for help on using the changeset viewer.