Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5375 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Oct 13, 2005, 1:39:47 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fiexed the overloaded-shell-bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell.cc

    r5374 r5375  
    349349    Text* swapText;
    350350    Text* moveText = this->bufferText[0];
    351     this->bufferText[0]->setRelCoorSoft2D(this->calculateLinePosition(1),10);
    352     for (unsigned int i = 1; i < this->bufferDisplaySize; i++)
     351    for (unsigned int i = 0; i < this->bufferDisplaySize; i++)
    353352    {
    354353      if ( i < this->bufferDisplaySize-1)
    355         this->bufferText[i]->setRelCoorSoft2D(this->calculateLinePosition(i+1),5);
     354        this->bufferText[i]->setRelCoorSoft2D(this->calculateLinePosition(i+1), 5);
    356355      swapText = this->bufferText[i];
    357       this  ->bufferText[i] = moveText;
     356      this->bufferText[i] = moveText;
    358357      moveText = swapText;
    359358    }
     359
     360  /*  FANCY EFFECTS :)
     361        lastText->setRelCoor2D(this->calculateLinePosition(0)- Vector(-1000,0,0));
     362        lastText->setRelCoorSoft2D(this->calculateLinePosition(0),10);
     363  */
    360364    lastText->setRelCoor2D(this->calculateLinePosition(0));
    361365    this->bufferText[0] = lastText;
Note: See TracChangeset for help on using the changeset viewer.