Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2008, 3:33:03 PM (16 years ago)
Author:
landauf
Message:
  • added a backlight to all SpaceShips, leaving a trail behind (configurable)
  • changed some lines in SpaceShipAI, AI seems to be more fair now…
  • fixed a bug in Math.cc algorithms to calculate radar positions and AI movement (division by zero and acos of 1.000001)
  • added destroy() and destroydelay to ParticleSpawner, so the smoketrail of a destroyed enemy stays visible for some seconds
  • added 2 lines to Orxonox.cc to make the length of the backlight-trail independend of the gamespeed

########################
# !!! MEDIA UPDATE !!! #
########################

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/BaseObject.h

    r1558 r1608  
    6666
    6767            /** @brief Sets the state of the objects activity. @param bActive True = active */
    68             inline void setActivity(bool bActive) { this->bActive_ = bActive; this->changedActivity(); }
     68            inline void setActive(bool bActive) { this->bActive_ = bActive; this->changedActivity(); }
    6969            /** @brief Returns the state of the objects activity. @return The state of the activity */
    7070            inline bool isActive() const { return this->bActive_; }
     
    7373
    7474            /** @brief Sets the state of the objects visibility. @param bVisible True = visible */
    75             inline void setVisibility(bool bVisible) { this->bVisible_ = bVisible; this->changedVisibility(); }
     75            inline void setVisible(bool bVisible) { this->bVisible_ = bVisible; this->changedVisibility(); }
    7676            /** @brief Returns the state of the objects visibility. @return The state of the visibility */
    7777            inline bool isVisible() const { return this->bVisible_; }
Note: See TracChangeset for help on using the changeset viewer.