Changeset 1628 for code/trunk/src/orxonox
- Timestamp:
- Jun 26, 2008, 9:30:36 PM (16 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/OrxonoxStableHeaders.h
r1543 r1628 37 37 #include "util/OrxonoxPlatform.h" 38 38 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && 0 40 40 41 41 // including std headers here is useless since they're already precompiled … … 112 112 #include "network/Synchronisable.h" 113 113 114 #include "tools/Mesh.h"115 #include "tools/Timer.h"116 #include "objects/Model.h"117 #include "objects/Tickable.h"118 #include "objects/WorldEntity.h"114 //#include "tools/Mesh.h" 115 //#include "tools/Timer.h" 116 //#include "objects/Model.h" 117 //#include "objects/Tickable.h" 118 //#include "objects/WorldEntity.h" 119 119 120 120 #endif /* Compiler MSVC */ -
code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc
r1627 r1628 119 119 120 120 this->changedVisibility(); 121 122 this->setSize(Vector2(0.5f, 0.5f));123 this->setPickPoint(Vector2(0.5f, 0.5f));124 this->setPosition(Vector2(0.5f, 0.5f));125 this->setRotation(Degree(0.0f));126 this->setAspectCorrection(true);127 this->setBackgroundMaterial("");128 121 } 129 122 -
code/trunk/src/orxonox/overlays/OverlayGroup.cc
r1627 r1628 63 63 { 64 64 BaseObject::XMLPort(xmlElement, mode); 65 66 if (mode == XMLPort::LoadObject)67 {68 this->setScale(Vector2(1.0f, 1.0f));69 this->setScroll(Vector2(0.0f, 0.0f));70 }71 65 72 66 XMLPortParam(OverlayGroup, "scale", setScale, getScale, xmlElement, mode).defaultValues(Vector2(1.0, 1.0)); -
code/trunk/src/orxonox/overlays/OverlayText.cc
r1627 r1628 65 65 66 66 this->background_->addChild(this->text_); 67 68 this->setFont("Monofur");69 this->caption_ = "";70 this->setTextSize(1.0f);71 67 } 72 68 -
code/trunk/src/orxonox/overlays/hud/HUDBar.cc
r1627 r1628 55 55 BaseObject::XMLPort(xmlElement, mode); 56 56 57 if (mode == XMLPort::LoadObject)58 {59 this->setColour(ColourValue(1.0, 1.0, 1.0, 1.0));60 this->setPosition(0.0f);61 }62 63 57 XMLPortParam(BarColour, "colour", setColour, getColour, xmlElement, mode) 64 58 .defaultValues(ColourValue(1.0, 1.0, 1.0, 1.0)); … … 101 95 this->bar_->setMaterialName(materialname); 102 96 this->background_->addChild(bar_); 103 104 this->setValue(0.0f);105 this->setRightToLeft(false);106 this->setAutoColour(true);107 97 } 108 98 109 XMLPortParam(HUDBar, "initialValue", setValue, getValue, xmlElement, mode).defaultValues(0. 0f);110 XMLPortParam(HUDBar, "rightToLeft", 99 XMLPortParam(HUDBar, "initialValue", setValue, getValue, xmlElement, mode).defaultValues(0.4567654f); 100 XMLPortParam(HUDBar, "rightToLeft", setRightToLeft, getRightToLeft, xmlElement, mode).defaultValues(false); 111 101 XMLPortParam(HUDBar, "autoColour", setAutoColour, getAutoColour, xmlElement, mode).defaultValues(true); 112 102 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlElement, mode, false, true); -
code/trunk/src/orxonox/overlays/hud/HUDNavigation.cc
r1627 r1628 94 94 // hide at first 95 95 this->setVisible(false); 96 97 this->setFont("Monofur");98 this->setTextSize(0.05f);99 this->setNavMarkerSize(0.05f);100 this->setAimMarkerSize(0.04f);101 96 } 102 97 -
code/trunk/src/orxonox/overlays/hud/HUDRadar.cc
r1627 r1628 75 75 overlay_->add2D(marker_); 76 76 marker_->hide(); 77 78 this->setRadarSensitivity(1.0f);79 this->setHalfDotSizeDistance(3000.0f);80 this->setMaximumDotSize(0.1f);81 77 } 82 78
Note: See TracChangeset
for help on using the changeset viewer.