Changeset 11000 for code/branches/cpp11_v2/src/orxonox
- Timestamp:
- Dec 30, 2015, 3:17:35 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/orxonox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/Radar.cc
r10920 r11000 55 55 // TODO: make this mapping configurable. Maybe there's a possibility with self configured 56 56 // configValues.. 57 this->objectTypes_["Asteroid"] = RadarViewable:: Dot;58 this->objectTypes_["SpaceShip"] = RadarViewable::S quare;59 this->objectTypes_["AsdfQwerty"] = RadarViewable:: Triangle;57 this->objectTypes_["Asteroid"] = RadarViewable::Shape::Dot; 58 this->objectTypes_["SpaceShip"] = RadarViewable::Shape::Square; 59 this->objectTypes_["AsdfQwerty"] = RadarViewable::Shape::Triangle; 60 60 61 61 /*WorldEntity* object; … … 113 113 std::map<std::string, RadarViewable::Shape>::iterator it = this->objectTypes_.find(name); 114 114 if (it == this->objectTypes_.end()) 115 return this->objectTypes_[name] = RadarViewable::S quare; // default, configure!!115 return this->objectTypes_[name] = RadarViewable::Shape::Square; // default, configure!! 116 116 else 117 117 return this->objectTypes_[name]; -
code/branches/cpp11_v2/src/orxonox/interfaces/RadarViewable.cc
r10624 r11000 49 49 , wePtr_(wePtr) 50 50 , radarObjectCamouflage_(0.0f) 51 , radarObjectShape_( Dot)51 , radarObjectShape_(Shape::Dot) 52 52 , radarObjectDescription_("staticObject") 53 53 , scale_(1.0f) -
code/branches/cpp11_v2/src/orxonox/interfaces/RadarViewable.h
r10768 r11000 49 49 { 50 50 public: 51 enum Shape51 enum class Shape 52 52 { 53 53 Square, -
code/branches/cpp11_v2/src/orxonox/worldentities/pawns/Pawn.cc
r10919 r11000 94 94 95 95 this->setRadarObjectColour(ColourValue::Red); 96 this->setRadarObjectShape(RadarViewable:: Dot);96 this->setRadarObjectShape(RadarViewable::Shape::Dot); 97 97 98 98 this->registerVariables(); -
code/branches/cpp11_v2/src/orxonox/worldentities/pawns/TeamBaseMatchBase.cc
r10919 r11000 51 51 } 52 52 53 this->setRadarObjectShape(RadarViewable:: Triangle);53 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 54 54 } 55 55
Note: See TracChangeset
for help on using the changeset viewer.