Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r4834 r4836  
    4141
    4242/**
    43    \brief creates a new Player
    44    \param isFree if the player is free
     43 * creates a new Player
     44 * @param isFree if the player is free
    4545*/
    4646Player::Player()
     
    6565
    6666/**
    67    \brief destructs the player, deletes alocated memory
     67 * destructs the player, deletes alocated memory
    6868*/
    6969Player::~Player ()
     
    7878
    7979/**
    80    \brief creates a new Player from Xml Data
    81    \param root the xml element containing player data
    82 
    83    \todo add more parameters to load
     80 * creates a new Player from Xml Data
     81 * @param root the xml element containing player data
     82
     83   @todo add more parameters to load
    8484*/
    8585Player::Player(const TiXmlElement* root)
     
    132132
    133133/**
    134    \brief adds a weapon to the weapon list of player
    135    \param weapon to add
     134 * adds a weapon to the weapon list of player
     135 * @param weapon to add
    136136*/
    137137void Player::addWeapon(Weapon* weapon)
     
    142142
    143143/**
    144    \brief removes a weapon from the player
    145    \param weapon to remove
     144 * removes a weapon from the player
     145 * @param weapon to remove
    146146*/
    147147void Player::removeWeapon(Weapon* weapon)
     
    152152
    153153/**
    154    \brief effect that occurs after the player is spawned
     154 * effect that occurs after the player is spawned
    155155*/
    156156void Player::postSpawn ()
     
    161161
    162162/**
    163    \brief the action occuring if the player left the game
     163 * the action occuring if the player left the game
    164164*/
    165165void Player::leftWorld ()
     
    169169
    170170/**
    171    \brief if the player is hit, call this function
    172    \param weapon hit by this weapon
    173    \param loc ??
     171 * if the player is hit, call this function
     172 * @param weapon hit by this weapon
     173 * @param loc ??
    174174*/
    175175void Player::hit (WorldEntity* weapon, Vector* loc)
     
    179179
    180180/**
    181     \brief Collision with another Entity has this effect
    182     \param other the other colider
    183     \param ownhitflags ??
    184     \param otherhitflags ??
     181  * Collision with another Entity has this effect
     182  * @param other the other colider
     183  * @param ownhitflags ??
     184  * @param otherhitflags ??
    185185*/
    186186void Player::collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags)
     
    190190
    191191/**
    192    \brief draws the player after transforming him.
     192 * draws the player after transforming him.
    193193*/
    194194void Player::draw ()
     
    214214
    215215/**
    216    \brief the function called for each passing timeSnap
    217    \param time The timespan passed since last update
     216 * the function called for each passing timeSnap
     217 * @param time The timespan passed since last update
    218218*/
    219219void Player::tick (float time)
     
    234234
    235235/**
    236    \brief action if player moves
    237    \param time the timeslice since the last frame
     236 * action if player moves
     237 * @param time the timeslice since the last frame
    238238*/
    239239void Player::move (float time)
     
    256256    accel = accel + (orthDirection*acceleration);
    257257  if( this->bAscend )
    258   if( this->bDescend) {/* FIXME */} /* \todo up and down player movement */
     258  if( this->bDescend) {/* FIXME */} /* @todo up and down player movement */
    259259
    260260  Vector move = accel * time;
     
    264264
    265265/**
    266    \brief weapon manipulation by the player
     266 * weapon manipulation by the player
    267267*/
    268268void Player::weapon()
     
    281281
    282282/**
    283    \brief The connection to the command node
    284    \param cmd the Command unit from witch to map
     283 * The connection to the command node
     284 * @param cmd the Command unit from witch to map
    285285
    286286   here the commands are mapped to the players movement/weaponary
Note: See TracChangeset for help on using the changeset viewer.