Changeset 7401 for code/trunk/src/modules/overlays/hud
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/modules/overlays/hud/HUDBar.cc
r7368 r7401 55 55 } 56 56 57 void BarColour::XMLPort(Element& xml Element, XMLPort::Mode mode)58 { 59 SUPER(BarColour, XMLPort, xml Element, mode);60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xml Element, mode);62 XMLPortParam(BarColour, "position", setPosition, getPosition, xml Element, mode);57 void BarColour::XMLPort(Element& xmlelement, XMLPort::Mode mode) 58 { 59 SUPER(BarColour, XMLPort, xmlelement, mode); 60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xmlelement, mode); 62 XMLPortParam(BarColour, "position", setPosition, getPosition, xmlelement, mode); 63 63 } 64 64 … … 104 104 } 105 105 106 void HUDBar::XMLPort(Element& xml Element, XMLPort::Mode mode)107 { 108 SUPER(HUDBar, XMLPort, xml Element, mode);109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xml Element, mode);111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xml Element, mode);112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xml Element, mode);113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xml Element, mode);114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xml Element, mode);106 void HUDBar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 107 { 108 SUPER(HUDBar, XMLPort, xmlelement, mode); 109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xmlelement, mode); 111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xmlelement, mode); 112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xmlelement, mode); 113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xmlelement, mode); 114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlelement, mode); 115 115 } 116 116 -
code/trunk/src/modules/overlays/hud/HUDBar.h
r5781 r7401 50 50 virtual ~BarColour() { } 51 51 52 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 53 53 54 54 void setColour(const ColourValue& colour) { this->colour_ = colour; } … … 70 70 virtual ~HUDBar(); 71 71 72 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);72 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 73 73 74 74 void clearColours(); -
code/trunk/src/modules/overlays/hud/HUDHealthBar.h
r6417 r7401 45 45 virtual ~HUDHealthBar(); 46 46 47 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 48 48 virtual void tick(float dt); 49 49 virtual void changedOwner(); -
code/trunk/src/modules/overlays/hud/HUDNavigation.cc
r7368 r7401 90 90 } 91 91 92 void HUDNavigation::XMLPort ( Element& xml Element, XMLPort::Mode mode )93 { 94 SUPER ( HUDNavigation, XMLPort, xml Element, mode );95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xml Element, mode );97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xml Element, mode );98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xml Element, mode );92 void HUDNavigation::XMLPort ( Element& xmlelement, XMLPort::Mode mode ) 93 { 94 SUPER ( HUDNavigation, XMLPort, xmlelement, mode ); 95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xmlelement, mode ); 97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xmlelement, mode ); 98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlelement, mode ); 99 99 } 100 100 -
code/trunk/src/modules/overlays/hud/HUDNavigation.h
r7163 r7401 51 51 void setConfigValues(); 52 52 53 virtual void XMLPort ( Element& xml Element, XMLPort::Mode mode );53 virtual void XMLPort ( Element& xmlelement, XMLPort::Mode mode ); 54 54 virtual void tick ( float dt ); 55 55 -
code/trunk/src/modules/overlays/hud/HUDRadar.cc
r7368 r7401 82 82 } 83 83 84 void HUDRadar::XMLPort(Element& xml Element, XMLPort::Mode mode)84 void HUDRadar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 85 85 { 86 SUPER(HUDRadar, XMLPort, xml Element, mode);86 SUPER(HUDRadar, XMLPort, xmlelement, mode); 87 87 88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xml Element, mode);89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xml Element, mode);90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xml Element, mode);88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlelement, mode); 89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlelement, mode); 90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlelement, mode); 91 91 } 92 92 -
code/trunk/src/modules/overlays/hud/HUDRadar.h
r7163 r7401 49 49 virtual ~HUDRadar(); 50 50 51 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);51 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 52 52 virtual void changedOwner(); 53 53
Note: See TracChangeset
for help on using the changeset viewer.