Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2005, 11:52:15 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: merged trunk back to levelloader
merged with command:
svn merge -r 3499:HEAD trunk branches/levelloader

Conflicts in
C track_manager.h
C world_entities/player.cc
C world_entities/player.h
C world_entities/environment.h
C lib/coord/p_node.cc
C defs/debug.h
C track_manager.cc
C story_entities/campaign.h

solved in merge-favouring. It was quite easy because Chris only worked on the headers, and he didi it quite clean. Thats the spirit :)

Conflits in world.cc are a MESS: fix it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/lib/graphics/importer/objModel.cc

    r3542 r3605  
    1313   co-programmer: ...
    1414*/
     15
     16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER
    1517
    1618#include "objModel.h"
     
    8688bool OBJModel::importFile (const char* fileName)
    8789{
    88   PRINTF(3)("preparing to read in file: %s\n", fileName);
     90  PRINTF(4)("preparing to read in file: %s\n", fileName);
    8991
    9092
     
    107109  strncpy(this->objPath, fileName, name-fileName);
    108110  this->objPath[name-fileName] = '\0';
    109   if (verbose>=2)
    110     if (strlen(objPath)> 0)
    111       PRINTF(0)("Resolved file %s to folder: %s.\n", name, objPath);
    112     else
    113       PRINTF(0)("Resolved file %s.\n", name);
     111  if (strlen(objPath)> 0)
     112    PRINTF(5)("Resolved file %s to folder: %s.\n", name, objPath);
     113  else
     114    PRINTF(5)("Resolved file %s.\n", name);
    114115 
    115116  this->setName(name);
     
    144145      return false;
    145146    }
    146   PRINTF(2)("Reading from opened file %s\n", fileName);
     147  PRINTF(4)("Reading from opened file %s\n", fileName);
    147148  char Buffer[10000];
    148149  while(!OBJ_FILE->eof())
    149150    {
    150151      OBJ_FILE->getline(Buffer, 10000);
    151       PRINTF(3)("Read input line: %s\n", Buffer);
     152      PRINTF(5)("Read input line: %s\n", Buffer);
    152153     
    153154
     
    192193      else if (!strncmp(Buffer, "s ", 2)) //! \todo smoothing groups have to be implemented
    193194        {
    194           if (verbose >= 2)
    195             PRINTF(2)("smoothing groups not supportet yet. line: %s\n", Buffer);
     195          PRINTF(3)("smoothing groups not supportet yet. line: %s\n", Buffer);
    196196        }
    197197    }
     
    221221 
    222222
    223   PRINTF(3)("Opening mtlFile: %s\n", fileName);
     223  PRINTF(4)("Opening mtlFile: %s\n", fileName);
    224224
    225225  ifstream* MTL_FILE = new ifstream (fileName);
    226226  if (MTL_FILE->fail())
    227227    {
    228       PRINTF(1)("unable to open file: %s\n", fileName);
     228      PRINTF(2)("unable to open file: %s\n", fileName);
    229229      MTL_FILE->close();
    230230      delete []fileName;
     
    237237    {
    238238      MTL_FILE->getline(Buffer, 500);
    239       PRINTF(4)("found line in mtlFile: %s\n", Buffer);
     239      PRINTF(5)("found line in mtlFile: %s\n", Buffer);
    240240     
    241241
Note: See TracChangeset for help on using the changeset viewer.