Changeset 5089 in orxonox.OLD for trunk/src/util
- Timestamp:
- Aug 21, 2005, 8:17:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5083 r5089 46 46 this->inputLineText = TextEngine::getInstance()->createText("fonts/earth.ttf", 10, TEXT_DYNAMIC, 255, 0, 0); 47 47 this->inputLineText->setText(NULL); 48 49 //this->addBufferLineStatic("asjflksjdvklasmv %s", "doom");50 //TextEngine::getInstance()->debug();51 //exit(-1);52 48 } 53 49 … … 65 61 delete this->inputLineText; 66 62 63 67 64 Shell::singletonRef = NULL; 68 65 } … … 86 83 this->bufferText[i] = TextEngine::getInstance()->createText("fonts/earth.ttf", this->textSize, TEXT_DYNAMIC, 255, 0, 0); 87 84 this->bufferText[i]->setAlignment(TEXT_ALIGN_LEFT); 88 this->bufferText[i]->set Position2D(5, 400 + 12*i);85 this->bufferText[i]->setRelCoor2D(5, 400 + 12*i); 89 86 this->bufferText[i]->setText(NULL); 87 this->bufferText[i]->setParent2D(this); 90 88 } 91 89 … … 132 130 va_start(arguments, line); 133 131 132 #if DEBUG > 3 134 133 if (Shell::singletonRef == NULL) 135 vprintf(line, arguments); 134 #endif 135 136 vprintf(line, arguments); 137 #if DEBUG > 3 136 138 else 139 #endif 137 140 Shell::singletonRef->addBufferLine(line, arguments); 138 141 return true;
Note: See TracChangeset
for help on using the changeset viewer.