- Timestamp:
- Nov 30, 2009, 11:07:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/IOConsole.cc
r6181 r6183 116 116 117 117 // Make sure we make way for the status lines 118 this-> update(Game::getInstance().getGameClock());118 this->preUpdate(Game::getInstance().getGameClock()); 119 119 } 120 120 … … 122 122 { 123 123 // Empty all buffers 124 this-> update(Game::getInstance().getGameClock());124 this->preUpdate(Game::getInstance().getGameClock()); 125 125 // Erase input and status lines 126 126 this->cout_ << "\033[1G\033[J"; … … 139 139 } 140 140 141 void IOConsole:: update(const Clock& time)141 void IOConsole::preUpdate(const Clock& time) 142 142 { 143 143 unsigned char c; … … 495 495 this->cursorChanged(); 496 496 this->lastRefreshTime_ = Game::getInstance().getGameClock().getRealMicroseconds(); 497 this-> update(Game::getInstance().getGameClock());497 this->preUpdate(Game::getInstance().getGameClock()); 498 498 499 499 this->shell_->registerListener(this); … … 505 505 this->shell_->unregisterListener(this); 506 506 // Empty all buffers 507 this-> update(Game::getInstance().getGameClock());507 this->preUpdate(Game::getInstance().getGameClock()); 508 508 509 509 // Erase input and status lines … … 523 523 524 524 //! Processes the pending input key strokes, refreshes the status lines and handles std::cout (redirected) 525 void IOConsole:: update(const Clock& time)525 void IOConsole::preUpdate(const Clock& time) 526 526 { 527 527 // Process input
Note: See TracChangeset
for help on using the changeset viewer.