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/array.cc

    r3499 r3605  
    1313   co-programmer: ...
    1414*/
     15
     16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER
    1517
    1618#include "array.h"
     
    3032Array::~Array()
    3133{
    32   PRINTF(2)("deleting array\n");
     34  PRINTF(4)("deleting array\n");
    3335  Entry* walker = this->firstEntry;
    3436  Entry* previous;
     
    4951void Array::initializeArray ()
    5052{
    51   PRINTF(2)("crating new Array\n");
     53  PRINTF(4)("crating new Array\n");
    5254  this->firstEntry = new Entry;
    5355  this->firstEntry->next =NULL;
     
    6466void Array::finalizeArray (void)
    6567{
    66   PRINTF(3)("Finalizing array. Length: %i\n", entryCount); 
     68  PRINTF(4)("Finalizing array. Length: %i\n", entryCount); 
    6769  //  if ((array = (GLfloat*)malloc( entryCount* sizeof(GLfloat))) == NULL)
    6870  if (!(this->array = new GLfloat [this->entryCount]))
     
    8789  if (!this->finalized)
    8890    {
    89       PRINTF(3)("adding new Entry to Array: %f\n", entry);
     91      PRINTF(5)("adding new Entry to Array: %f\n", entry);
    9092     
    9193      this->currentEntry->value = entry;
     
    9698    }
    9799  else
    98     PRINTF(1)("adding failed, because list has been finalized\n");
     100    PRINTF(2)("adding failed, because list has been finalized\n");
    99101}
    100102
     
    131133void Array::debug ()
    132134{
    133   PRINTF(0)("entryCount=%i, address=%p\n", this->entryCount, this->array);
     135  PRINT(0)("entryCount=%i, address=%p\n", this->entryCount, this->array);
    134136}
Note: See TracChangeset for help on using the changeset viewer.