Changeset 5748 for code/trunk/src/modules/questsystem/notifications
- Timestamp:
- Sep 19, 2009, 11:57:28 PM (15 years ago)
- Location:
- code/trunk/src/modules/questsystem/notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/questsystem/notifications/NotificationManager.cc
r5738 r5748 81 81 return false; 82 82 83 std::time_t time = std::time(0); //T DO: Doesn't this expire? //!< Get current time.83 std::time_t time = std::time(0); //TODO: Doesn't this expire? //!< Get current time. 84 84 85 85 this->allNotificationsList_.insert(std::pair<std::time_t,Notification*>(time,notification)); … … 96 96 { 97 97 std::set<std::string> set = it->first->getTargetsSet(); 98 if(all || set.find(notification->getSender()) != set.end() || set.find(ALL) != set.end()) //T DO: Make sure this works.98 if(all || set.find(notification->getSender()) != set.end() || set.find(ALL) != set.end()) //TODO: Make sure this works. 99 99 { 100 100 this->notificationLists_[it->second]->insert(std::pair<std::time_t,Notification*>(time,notification)); //!< Insert the Notification in the Notifications list of the current NotificationListener. … … 123 123 this->listenerList_[listener] = index; //!< Add the NotificationListener to the list of listeners. 124 124 125 std::set<std::string> set = listener->getTargetsSet(); //T DO: Works this?125 std::set<std::string> set = listener->getTargetsSet(); //TODO: Works this? 126 126 127 127 //! If all senders are the target of the listener, then the list of notification for that specific listener is te same as the list of all Notifications. -
code/trunk/src/modules/questsystem/notifications/NotificationQueue.cc
r5738 r5748 140 140 this->removeContainer(*it); 141 141 this->scroll(Vector2(0.0,-(1.1*this->getFontSize()))); 142 it = this->containers_.begin(); //T DO: Needed?142 it = this->containers_.begin(); //TODO: Needed? 143 143 } 144 144 … … 443 443 { 444 444 this->removeContainer(*it); 445 it = this->containers_.begin(); //T DO: Needed?445 it = this->containers_.begin(); //TODO: Needed? 446 446 } 447 447 }
Note: See TracChangeset
for help on using the changeset viewer.