Changeset 7410 for code/trunk/src
- Timestamp:
- Sep 11, 2010, 3:17:39 PM (14 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/Notification.cc
r7403 r7410 104 104 @brief 105 105 Sends the Notification to the Notificationmanager, which then in turn distributes it to the different NotificationQueues. 106 @param clientID 107 The id of the client that this Notification is sent to. 106 108 @param sender 107 109 The sender the Notification was sent by. Used by the NotificationManager to distributes the notification to the correct NotificationQueues. -
code/trunk/src/modules/notifications/NotificationQueue.cc
r7408 r7410 151 151 std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin(); 152 152 // Iterate through all elements whose creation time is smaller than the current time minus the display time. 153 while(it != this->ordering_.upper_bound(&this->timeLimit_) && it != this->ordering_.end())153 while(it != this->ordering_.upper_bound(&this->timeLimit_)) 154 154 { 155 155 NotificationContainer* temp = *it; -
code/trunk/src/modules/notifications/NotificationQueue.h
r7403 r7410 109 109 @return Returns the display time. 110 110 */ 111 inline float getDisplayTime() const111 inline unsigned int getDisplayTime() const 112 112 { return this->displayTime_; } 113 113 // tolua_end -
code/trunk/src/modules/objects/Script.cc
r7408 r7410 179 179 case ScriptMode::lua: 180 180 return Script::LUA; 181 default: // This will never happen... 182 return Script::NORMAL; 181 183 } 182 184 }
Note: See TracChangeset
for help on using the changeset viewer.