Changeset 11000 for code/branches/cpp11_v2/src
- Timestamp:
- Dec 30, 2015, 3:17:35 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/gametypes/OldRaceCheckPoint.cc
r10624 r11000 49 49 50 50 this->setRadarObjectColour(ColourValue::Blue); 51 this->setRadarObjectShape(RadarViewable:: Triangle);51 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 52 52 this->setRadarVisibility(false); 53 53 } -
code/branches/cpp11_v2/src/modules/gametypes/RaceCheckPoint.cc
r10916 r11000 53 53 54 54 this->setRadarObjectColour(ColourValue::Blue); 55 this->setRadarObjectShape(RadarViewable:: Triangle);55 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 56 56 this->setRadarVisibility(false); 57 57 this->settingsChanged(); -
code/branches/cpp11_v2/src/modules/objects/triggers/CheckPoint.cc
r10624 r11000 56 56 57 57 this->setRadarObjectColour(ColourValue::Green); 58 this->setRadarObjectShape(RadarViewable:: Dot);58 this->setRadarObjectShape(RadarViewable::Shape::Dot); 59 59 this->setRadarVisibility(false); 60 60 -
code/branches/cpp11_v2/src/modules/overlays/hud/HUDRadar.cc
r10919 r11000 65 65 this->setMaximumDotSize3D(0.07f); 66 66 67 this->shapeMaterials_[RadarViewable:: Dot] = "RadarDot.png";68 this->shapeMaterials_[RadarViewable:: Triangle] = "RadarTriangle.png";69 this->shapeMaterials_[RadarViewable::S quare] = "RadarSquare.png";67 this->shapeMaterials_[RadarViewable::Shape::Dot] = "RadarDot.png"; 68 this->shapeMaterials_[RadarViewable::Shape::Triangle] = "RadarTriangle.png"; 69 this->shapeMaterials_[RadarViewable::Shape::Square] = "RadarSquare.png"; 70 70 this->owner_ = nullptr; 71 71 -
code/branches/cpp11_v2/src/modules/portals/PortalEndPoint.cc
r10768 r11000 57 57 58 58 this->setRadarObjectColour(ColourValue::White); 59 this->setRadarObjectShape(RadarViewable:: Dot);59 this->setRadarObjectShape(RadarViewable::Shape::Dot); 60 60 this->setRadarVisibility(true); 61 61 if( GameMode::isMaster() ) -
code/branches/cpp11_v2/src/modules/weapons/projectiles/GravityBombField.cc
r10919 r11000 41 41 //Make the Field visible on Radar and minimap. 42 42 this->setRadarObjectColour(ColourValue(1.0, 0.0, 0.2,1)); // Red 43 this->setRadarObjectShape(RadarViewable:: Dot);43 this->setRadarObjectShape(RadarViewable::Shape::Dot); 44 44 this->setRadarObjectScale(1.0f); 45 45 -
code/branches/cpp11_v2/src/modules/weapons/projectiles/Rocket.cc
r10768 r11000 128 128 129 129 this->setRadarObjectColour(ColourValue(1.0, 0.5, 0.0)); // orange 130 this->setRadarObjectShape(RadarViewable:: Triangle);130 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 131 131 this->setRadarObjectScale(0.5f); 132 132 } -
code/branches/cpp11_v2/src/modules/weapons/projectiles/RocketOld.cc
r10768 r11000 128 128 129 129 this->setRadarObjectColour(ColourValue(1.0, 0.5, 0.0)); // orange 130 this->setRadarObjectShape(RadarViewable:: Triangle);130 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 131 131 this->setRadarObjectScale(0.5f); 132 132 } -
code/branches/cpp11_v2/src/modules/weapons/projectiles/SimpleRocket.cc
r10299 r11000 101 101 102 102 this->setRadarObjectColour(ColourValue(1.0, 1.0, 0.0)); // yellow 103 this->setRadarObjectShape(RadarViewable:: Triangle);103 this->setRadarObjectShape(RadarViewable::Shape::Triangle); 104 104 this->setRadarObjectScale(0.5f); 105 105 } -
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.