- Timestamp:
- May 31, 2010, 3:17:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/overlays/hud/HUDNavigation.cc
r7014 r7050 46 46 #include "worldentities/pawns/Pawn.h" 47 47 #include "worldentities/WorldEntity.h" 48 #include " interfaces/RadarViewable.h"48 #include "core/ConfigValueIncludes.h" 49 49 // #include <boost/bind/bind_template.hpp> 50 50 … … 57 57 58 58 } 59 60 void HUDNavigation::setConfigValues() 61 { 62 SetConfigValue(markerLimit_, 3); 63 } 64 59 65 CreateFactory ( HUDNavigation ); 60 66 … … 63 69 { 64 70 RegisterObject ( HUDNavigation ); 71 this->setConfigValues(); 65 72 66 73 // Set default values … … 132 139 } 133 140 141 142 134 143 void HUDNavigation::tick ( float dt ) 135 144 { … … 142 151 143 152 144 //TODO: sort list 'sortedObjectList_' according to distance.$145 153 for ( sortedList::iterator listIt = sortedObjectList_.begin(); listIt != sortedObjectList_.end(); ++listIt ) 146 154 { … … 338 346 sortedObjectList_.push_front ( std::make_pair ( object, ( unsigned int ) 0 ) ); 339 347 340 //TODO: hide elements 348 341 349 } 342 350 … … 380 388 void HUDNavigation::changedOwner() 381 389 { 382 // TODO: Delete old objects?390 383 391 const std::set<RadarViewable*>& respawnObjects = this->getOwner()->getScene()->getRadar()->getRadarObjects(); 384 392 for ( std::set<RadarViewable*>::const_iterator it = respawnObjects.begin(); it != respawnObjects.end(); ++it )
Note: See TracChangeset
for help on using the changeset viewer.