Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 12:34:00 AM (14 years ago)
Author:
landauf
Message:

merged doc branch back to trunk

Location:
code/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/overlays/hud/HUDBar.cc

    r7368 r7401  
    5555    }
    5656
    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);
     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);
    6363    }
    6464
     
    104104    }
    105105
    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);
     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);
    115115    }
    116116
  • code/trunk/src/modules/overlays/hud/HUDBar.h

    r5781 r7401  
    5050        virtual ~BarColour() { }
    5151
    52         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     52        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5353
    5454        void setColour(const ColourValue& colour) { this->colour_ = colour; }
     
    7070        virtual ~HUDBar();
    7171
    72         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     72        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    7373
    7474        void clearColours();
  • code/trunk/src/modules/overlays/hud/HUDHealthBar.h

    r6417 r7401  
    4545            virtual ~HUDHealthBar();
    4646
    47             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     47            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4848            virtual void tick(float dt);
    4949            virtual void changedOwner();
  • code/trunk/src/modules/overlays/hud/HUDNavigation.cc

    r7368 r7401  
    9090}
    9191
    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 );
     92void 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 );
    9999}
    100100
  • code/trunk/src/modules/overlays/hud/HUDNavigation.h

    r7163 r7401  
    5151    void setConfigValues();
    5252
    53     virtual void XMLPort ( Element& xmlElement, XMLPort::Mode mode );
     53    virtual void XMLPort ( Element& xmlelement, XMLPort::Mode mode );
    5454    virtual void tick ( float dt );
    5555
  • code/trunk/src/modules/overlays/hud/HUDRadar.cc

    r7368 r7401  
    8282    }
    8383
    84     void HUDRadar::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     84    void HUDRadar::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    8585    {
    86         SUPER(HUDRadar, XMLPort, xmlElement, mode);
     86        SUPER(HUDRadar, XMLPort, xmlelement, mode);
    8787
    88         XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlElement, mode);
    89         XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlElement, mode);
    90         XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlElement, 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);
    9191    }
    9292
  • code/trunk/src/modules/overlays/hud/HUDRadar.h

    r7163 r7401  
    4949        virtual ~HUDRadar();
    5050
    51         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     51        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5252        virtual void changedOwner();
    5353
Note: See TracChangeset for help on using the changeset viewer.