Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 8:37:29 PM (14 years ago)
Author:
landauf
Message:

fixed lots of Doxygen warnings

Note: Doxygen prints a warning if only a part of the parameters of a function are documented.

Added documentation for missing parameters (as good as I could), removed documentation of obsolete parameters and fixed names of renamed parameters.
Some parameters are tagged with "FIXME", please replace this with an appropriate documentation if you know what it does.

Location:
code/branches/doc/src/modules/overlays/hud
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/modules/overlays/hud/HUDBar.cc

    r6677 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDBar.h

    r5781 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDHealthBar.h

    r6417 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDNavigation.cc

    r7163 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDNavigation.h

    r7163 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDRadar.cc

    r7184 r7297  
    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/branches/doc/src/modules/overlays/hud/HUDRadar.h

    r7163 r7297  
    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.