Changeset 5375 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Oct 13, 2005, 1:39:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell.cc
r5374 r5375 349 349 Text* swapText; 350 350 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++) 353 352 { 354 353 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); 356 355 swapText = this->bufferText[i]; 357 this 356 this->bufferText[i] = moveText; 358 357 moveText = swapText; 359 358 } 359 360 /* FANCY EFFECTS :) 361 lastText->setRelCoor2D(this->calculateLinePosition(0)- Vector(-1000,0,0)); 362 lastText->setRelCoorSoft2D(this->calculateLinePosition(0),10); 363 */ 360 364 lastText->setRelCoor2D(this->calculateLinePosition(0)); 361 365 this->bufferText[0] = lastText;
Note: See TracChangeset
for help on using the changeset viewer.