Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2008, 7:36:33 PM (16 years ago)
Author:
nicolasc
Message:

just a test - don't morge this

Location:
code/branches/gcc43/src/orxonox
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gcc43/src/orxonox/GraphicsEngine.h

    r1563 r1634  
    8080            void windowClosed      (Ogre::RenderWindow* rw);
    8181
    82             inline unsigned int getDetailLevelParticle() const
     82            unsigned int getDetailLevelParticle() const
    8383              { return this->detailLevelParticle_; }
    8484
  • code/branches/gcc43/src/orxonox/Orxonox.h

    r1563 r1634  
    6262
    6363      void abortRequest();
    64       //inline audio::AudioManager* getAudioManagerPointer() { return auMan_; };
     64      //audio::AudioManager* getAudioManagerPointer() { return auMan_; };
    6565
    6666      static Orxonox* getSingleton();
    6767      static void destroySingleton();
    6868
    69       static inline void slomo(float factor) { Orxonox::setTimeFactor(factor); }
     69      static void slomo(float factor) { Orxonox::setTimeFactor(factor); }
    7070      static void setTimeFactor(float factor = 1.0);
    71       static inline float getTimeFactor() { return Orxonox::getSingleton()->timefactor_; }
    72       static inline void exit() { Orxonox::getSingleton()->abortRequest(); }
     71      static float getTimeFactor() { return Orxonox::getSingleton()->timefactor_; }
     72      static void exit() { Orxonox::getSingleton()->abortRequest(); }
    7373
    7474   private:
  • code/branches/gcc43/src/orxonox/hud/BarOverlayElement.h

    r1568 r1634  
    5454      void clearColours();
    5555
    56       inline void setRightToLeft(bool r2l)
     56      void setRightToLeft(bool r2l)
    5757        { this->right2Left_ = r2l; }
    58       inline bool getRightToLeft() const
     58      bool getRightToLeft() const
    5959        { return this->right2Left_; }
    60       inline float getValue() const
     60      float getValue() const
    6161        { return this->value_; }
    6262
  • code/branches/gcc43/src/orxonox/hud/HUD.h

    r1567 r1634  
    5555        void setFPS();
    5656
    57         inline std::list<RadarObject*>& getRadarObjects()
     57        std::list<RadarObject*>& getRadarObjects()
    5858            { return this->roSet_; }
    5959
  • code/branches/gcc43/src/orxonox/hud/Navigation.h

    r1568 r1634  
    4949        float getDist2Focus() const;
    5050
    51         inline RadarObject* getFocus() const
     51        RadarObject* getFocus() const
    5252            { return this->focus_; }
    5353        void releaseFocus();
  • code/branches/gcc43/src/orxonox/hud/RadarObject.h

    r1566 r1634  
    4646
    4747        void setMaterial(const ColourValue& colour, const std::string& texturename);
    48         inline void setColour(const ColourValue& colour)
     48        void setColour(const ColourValue& colour)
    4949            { this->setMaterial(colour, this->texturename_); }
    50         inline void setTexture(const std::string& texturename)
     50        void setTexture(const std::string& texturename)
    5151            { this->setMaterial(this->colour_, texturename); }
    52         inline void resetMaterial()
     52        void resetMaterial()
    5353            { this->setMaterial(this->colour_, this->texturename_); }
    5454
     
    5656        Vector3 getOrientedVelocity() const;
    5757
    58         inline WorldEntity* getObject() const
     58        WorldEntity* getObject() const
    5959            { return this->object_; }
    60         inline Ogre::PanelOverlayElement* getPanel() const
     60        Ogre::PanelOverlayElement* getPanel() const
    6161            { return this->panel_; }
    6262
  • code/branches/gcc43/src/orxonox/objects/Camera.h

    r1505 r1634  
    4646
    4747        void setPositionNode(Ogre::SceneNode* node);
    48         inline Ogre::SceneNode* getCameraNode() { return this->positionNode_; }
     48        Ogre::SceneNode* getCameraNode() { return this->positionNode_; }
    4949        // maybe also BaseObject
    5050        void setTargetNode(Ogre::SceneNode* obj);
     
    5454        void tick(float dt);
    5555        void update();
    56         inline bool hasFocus() { return this->bHasFocus_; }
     56        bool hasFocus() { return this->bHasFocus_; }
    5757
    5858      private:
  • code/branches/gcc43/src/orxonox/objects/CameraHandler.h

    r1505 r1634  
    5252
    5353    public:
    54       inline static CameraHandler* getInstance() { if (!CameraHandler::singletonRef) CameraHandler::singletonRef = new CameraHandler(); return CameraHandler::singletonRef; }
    55       inline ~CameraHandler() { CameraHandler::singletonRef = NULL; }
    56       inline Camera* getActiveCamera() { return this->focusList_.back(); }
     54      static CameraHandler* getInstance() { if (!CameraHandler::singletonRef) CameraHandler::singletonRef = new CameraHandler(); return CameraHandler::singletonRef; }
     55      ~CameraHandler() { CameraHandler::singletonRef = NULL; }
     56      Camera* getActiveCamera() { return this->focusList_.back(); }
    5757      /*void registerCamera(Camera* newCam);
    5858      void changeActiveCamera(Camera* setCam);*/
  • code/branches/gcc43/src/orxonox/objects/ParticleSpawner.h

    r1563 r1634  
    4343            ParticleSpawner(const std::string& templateName, LODParticle::LOD detaillevel, float lifetime, float delay = 0, const Vector3& direction = Vector3::ZERO);
    4444            virtual ~ParticleSpawner();
    45             inline ParticleInterface* getParticleInterface() const
     45            ParticleInterface* getParticleInterface() const
    4646                { return this->particle_; }
    4747
  • code/branches/gcc43/src/orxonox/objects/SpaceShip.h

    r1558 r1634  
    6666            void getFocus();
    6767
    68             inline float getMaxSpeed() const
     68            float getMaxSpeed() const
    6969                { return this->maxSpeed_; }
    70             inline float getMaxSideAndBackSpeed() const
     70            float getMaxSideAndBackSpeed() const
    7171                { return this->maxSideAndBackSpeed_; }
    72             inline float getMaxRotation() const
     72            float getMaxRotation() const
    7373                { return this->maxRotation_; }
    74             inline float getTransAcc() const
     74            float getTransAcc() const
    7575                { return this->translationAcceleration_; }
    76             inline float getRotAcc() const
     76            float getRotAcc() const
    7777                { return this->rotationAcceleration_; }
    78             inline float getTransDamp() const
     78            float getTransDamp() const
    7979                { return this->translationDamping_; }
    80             inline float getRotDamp() const
     80            float getRotDamp() const
    8181                { return this->rotationDamping_; }
    8282
     
    9898            void doFire();
    9999
    100             inline const Vector3& getDir() const
     100            const Vector3& getDir() const
    101101                { return this->currentDir_; }
    102             inline const Vector3& getInitialDir() const
     102            const Vector3& getInitialDir() const
    103103                { return this->initialDir_; }
    104             inline const Vector3& getOrth() const
     104            const Vector3& getOrth() const
    105105                { return this->currentOrth_; }
    106             inline const Vector3& getInitialOrth() const
     106            const Vector3& getInitialOrth() const
    107107                { return this->initialOrth_; }
    108108
  • code/branches/gcc43/src/orxonox/objects/WorldEntity.h

    r1535 r1634  
    5353            virtual void loadParams(TiXmlElement* xmlElem);
    5454            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    55             virtual inline bool create(){ return Synchronisable::create(); }
     55            virtual bool create(){ return Synchronisable::create(); }
    5656
    5757            void attachWorldEntity(WorldEntity* entity);
    5858            const WorldEntity* getAttachedWorldEntity(unsigned int index) const;
    5959
    60             inline Ogre::SceneNode* getNode()
     60            Ogre::SceneNode* getNode()
    6161                { return this->node_; }
    6262
    63             inline void setNode(Ogre::SceneNode* node)
     63            void setNode(Ogre::SceneNode* node)
    6464                { this->node_ = node; }
    6565
    66             inline void setPosition(const Vector3& pos)
     66            void setPosition(const Vector3& pos)
    6767                { this->node_->setPosition(pos); }
    68             inline void setPositionLoader1(const Vector3& pos)
     68            void setPositionLoader1(const Vector3& pos)
    6969                { this->node_->setPosition(pos); }
    70             inline void setPositionLoader2(Real x, Real y, Real z)
     70            void setPositionLoader2(Real x, Real y, Real z)
    7171                { this->node_->setPosition(x, y, z); }
    72             inline void setPosition(Real x, Real y, Real z)
     72            void setPosition(Real x, Real y, Real z)
    7373                { this->node_->setPosition(x, y, z); }
    74             inline const Vector3& getPosition() const
     74            const Vector3& getPosition() const
    7575                { return this->node_->getPosition(); }
    7676
    77             inline void translate(const Vector3 &d, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
     77            void translate(const Vector3 &d, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
    7878                { this->node_->translate(d, relativeTo); }
    79             inline void translate(Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
     79            void translate(Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
    8080                { this->node_->translate(x, y, z, relativeTo); }
    81             inline void translate(const Matrix3 &axes, const Vector3 &move, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
     81            void translate(const Matrix3 &axes, const Vector3 &move, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
    8282                { this->node_->translate(axes, move, relativeTo); }
    83             inline void translate(const Matrix3 &axes, Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
     83            void translate(const Matrix3 &axes, Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_PARENT)
    8484                { this->node_->translate(axes, x, y, z, relativeTo); }
    8585
    86             inline void yaw(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
     86            void yaw(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
    8787                { this->node_->yaw(angle, relativeTo); }
    88             inline void pitch(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
     88            void pitch(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
    8989                { this->node_->pitch(angle, relativeTo); }
    90             inline void roll(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
     90            void roll(const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
    9191                { this->node_->roll(angle, relativeTo); }
    9292            void setYawPitchRoll(const Degree& yaw, const Degree& pitch, const Degree& roll);
    9393
    94             inline void setYaw(const Degree &angle)
     94            void setYaw(const Degree &angle)
    9595                { this->node_->yaw(angle, Ogre::Node::TS_LOCAL); }
    96             inline void setPitch(const Degree &angle)
     96            void setPitch(const Degree &angle)
    9797                { this->node_->pitch(angle, Ogre::Node::TS_LOCAL); }
    98             inline void setRoll(const Degree &angle)
     98            void setRoll(const Degree &angle)
    9999                { this->node_->roll(angle, Ogre::Node::TS_LOCAL); }
    100100
    101             inline const Ogre::Quaternion& getOrientation()
     101            const Ogre::Quaternion& getOrientation()
    102102              { return this->node_->getOrientation(); }
    103             inline void setOrientation(const Ogre::Quaternion& quat)
     103            void setOrientation(const Ogre::Quaternion& quat)
    104104              { this->node_->setOrientation(quat); }
    105             inline void rotate(const Vector3 &axis, const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
     105            void rotate(const Vector3 &axis, const Radian &angle, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL)
    106106              { this->node_->rotate(axis, angle, relativeTo); }
    107             inline void setDirectionLoader(Real x, Real y, Real z)
     107            void setDirectionLoader(Real x, Real y, Real z)
    108108              { this->setDirection(x, y, z); }
    109             inline void setDirection(Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
     109            void setDirection(Real x, Real y, Real z, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
    110110              { this->node_->setDirection(x, y, z, relativeTo, localDirectionVector); }
    111             inline void setDirection(const Vector3 &vec, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
     111            void setDirection(const Vector3 &vec, Ogre::Node::TransformSpace relativeTo=Ogre::Node::TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
    112112              { this->node_->setDirection(vec, relativeTo, localDirectionVector); }
    113             inline void lookAt(const Vector3 &targetPoint, Ogre::Node::TransformSpace relativeTo, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
     113            void lookAt(const Vector3 &targetPoint, Ogre::Node::TransformSpace relativeTo, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
    114114              { this->node_->lookAt(targetPoint, relativeTo, localDirectionVector); }
    115115
    116             inline void setScale(const Vector3 &scale)
     116            void setScale(const Vector3 &scale)
    117117              { this->node_->setScale(scale); }
    118             inline void setScale(Real x, Real y, Real z)
     118            void setScale(Real x, Real y, Real z)
    119119              { this->node_->setScale(x, y, z); }
    120             inline void setScale(Real scale)
     120            void setScale(Real scale)
    121121              { this->node_->setScale(scale, scale, scale); }
    122             inline void setTotalScale(Real scale)
     122            void setTotalScale(Real scale)
    123123              { this->node_->setScale(scale, scale, scale); }
    124             inline const Vector3& getScale(void) const
     124            const Vector3& getScale(void) const
    125125              { return this->node_->getScale(); }
    126             inline void scale(const Vector3 &scale)
     126            void scale(const Vector3 &scale)
    127127              { this->node_->scale(scale); }
    128             inline void scale(Real x, Real y, Real z)
     128            void scale(Real x, Real y, Real z)
    129129              { this->node_->scale(x, y, z); }
    130             inline void scale(Real scale)
     130            void scale(Real scale)
    131131              { this->node_->scale(scale, scale, scale); }
    132132
    133             inline void attachObject(Ogre::MovableObject *obj)
     133            void attachObject(Ogre::MovableObject *obj)
    134134              { this->node_->attachObject(obj); }
    135             inline void attachObject(Mesh &mesh)
     135            void attachObject(Mesh &mesh)
    136136              { this->node_->attachObject(mesh.getEntity()); }
    137             inline void detachObject(Ogre::MovableObject *obj)
     137            void detachObject(Ogre::MovableObject *obj)
    138138              { this->node_->detachObject(obj); }
    139             inline void detachAllObjects()
     139            void detachAllObjects()
    140140              { this->node_->detachAllObjects(); }
    141141
    142             inline void setVelocity(const Vector3& velocity)
     142            void setVelocity(const Vector3& velocity)
    143143                { this->velocity_ = velocity; }
    144             inline void setVelocity(Real x, Real y, Real z)
     144            void setVelocity(Real x, Real y, Real z)
    145145                { this->velocity_.x = x; this->velocity_.y = y; this->velocity_.z = z; }
    146             inline const Vector3& getVelocity() const
     146            const Vector3& getVelocity() const
    147147                { return this->velocity_; }
    148148
    149             inline void setAcceleration(const Vector3& acceleration)
     149            void setAcceleration(const Vector3& acceleration)
    150150                { this->acceleration_ = acceleration; }
    151             inline void setAcceleration(Real x, Real y, Real z)
     151            void setAcceleration(Real x, Real y, Real z)
    152152                { this->acceleration_.x = x; this->acceleration_.y = y; this->acceleration_.z = z; }
    153             inline const Vector3& getAcceleration() const
     153            const Vector3& getAcceleration() const
    154154                { return this->acceleration_; }
    155155
    156             inline void setRotationAxisLoader(const Vector3& axis)
     156            void setRotationAxisLoader(const Vector3& axis)
    157157                { this->rotationAxis_ = axis; rotationAxis_.normalise(); }
    158             inline void setRotationAxis(const Vector3& axis)
     158            void setRotationAxis(const Vector3& axis)
    159159                { this->rotationAxis_ = axis; rotationAxis_.normalise(); }
    160             inline void setRotationAxis(Real x, Real y, Real z)
     160            void setRotationAxis(Real x, Real y, Real z)
    161161                { this->rotationAxis_.x = x; this->rotationAxis_.y = y; this->rotationAxis_.z = z; rotationAxis_.normalise(); }
    162             inline const Vector3& getRotationAxis() const
     162            const Vector3& getRotationAxis() const
    163163                { return this->rotationAxis_; }
    164164
    165 //            inline void setRotationRate(const Radian& angle)
     165//            void setRotationRate(const Radian& angle)
    166166//                { this->rotationRate_ = angle; }
    167             inline void setRotationRate(const Degree& angle)
     167            void setRotationRate(const Degree& angle)
    168168                { this->rotationRate_ = angle; this->setStatic(angle == Degree(0)); }
    169             inline const Radian& getRotationRate() const
     169            const Radian& getRotationRate() const
    170170                { return this->rotationRate_; }
    171171
    172             inline void setMomentum(const Radian& angle)
     172            void setMomentum(const Radian& angle)
    173173                { this->momentum_ = angle; }
    174             inline void setMomentum(const Degree& angle)
     174            void setMomentum(const Degree& angle)
    175175                { this->momentum_ = angle; }
    176             inline const Radian& getMomentum() const
     176            const Radian& getMomentum() const
    177177                { return this->momentum_; }
    178178
    179             inline void setStatic(bool bStatic)
     179            void setStatic(bool bStatic)
    180180                { this->bStatic_ = bStatic; }
    181             inline bool isStatic()
     181            bool isStatic()
    182182                { return this->bStatic_; }
    183183
  • code/branches/gcc43/src/orxonox/objects/weapon/AmmunitionDump.h

    r1505 r1634  
    6060
    6161  protected:
    62     inline bool create() { return Synchronisable::create(); }
     62    bool create() { return Synchronisable::create(); }
    6363    void registerAllVariables();
    6464
  • code/branches/gcc43/src/orxonox/objects/weapon/BaseWeapon.h

    r1505 r1634  
    7272    void setAmmoDump(AmmunitionDump*);
    7373
    74     inline virtual void loadParams(TiXmlElement* xmlElem) { Model::loadParams(xmlElem); };
     74    virtual void loadParams(TiXmlElement* xmlElem) { Model::loadParams(xmlElem); };
    7575
    7676    virtual void tick(float dt);
  • code/branches/gcc43/src/orxonox/objects/weapon/Bullet.h

    r1505 r1634  
    4646    virtual void tick(float dt) { }
    4747
    48     inline virtual void loadParams(TiXmlElement* xmlElem) { Model::loadParams(xmlElem); };
     48    virtual void loadParams(TiXmlElement* xmlElem) { Model::loadParams(xmlElem); };
    4949 };
    5050}
  • code/branches/gcc43/src/orxonox/objects/weapon/BulletManager.h

    r1505 r1634  
    5757    virtual void tick(float dt);
    5858
    59     inline virtual void loadParams(TiXmlElement* xmlElem) { BaseObject::loadParams(xmlElem); };
     59    virtual void loadParams(TiXmlElement* xmlElem) { BaseObject::loadParams(xmlElem); };
    6060
    6161  protected:
    62     inline bool create() { return Synchronisable::create(); }
     62    bool create() { return Synchronisable::create(); }
    6363    void registerAllVariables();
    6464
  • code/branches/gcc43/src/orxonox/tools/BillboardSet.h

    r1558 r1634  
    4646            void setBillboardSet(const std::string& file, const ColourValue& colour = ColourValue(1.0, 1.0, 1.0), int count = 1, const Vector3& position = Vector3::ZERO);
    4747
    48             inline Ogre::BillboardSet* getBillboardSet()
     48            Ogre::BillboardSet* getBillboardSet()
    4949                { return this->billboardSet_; }
    5050
    51             inline const std::string& getName() const
     51            const std::string& getName() const
    5252                { return this->billboardSet_->getName(); }
    5353
    54             inline void setVisible(bool visible)
     54            void setVisible(bool visible)
    5555                { this->billboardSet_->setVisible(visible); }
    56             inline bool getVisible() const
     56            bool getVisible() const
    5757                { return this->billboardSet_->getVisible(); }
    5858
  • code/branches/gcc43/src/orxonox/tools/Light.h

    r1505 r1634  
    4747            void setLight(Ogre::Light::LightTypes type = Ogre::Light::LT_POINT, const ColourValue& diffuse = ColourValue(1.0, 1.0, 1.0), const ColourValue& specular = ColourValue(1.0, 1.0, 1.0));
    4848
    49             inline Ogre::Light* getLight()
     49            Ogre::Light* getLight()
    5050                { return this->light_; }
    5151
    52             inline const std::string& getName() const
     52            const std::string& getName() const
    5353                { return this->light_->getName(); }
    5454
  • code/branches/gcc43/src/orxonox/tools/Mesh.h

    r1558 r1634  
    4545            void setMesh(const std::string& file);
    4646
    47             inline Ogre::Entity* getEntity()
     47            Ogre::Entity* getEntity()
    4848                { return this->entity_; }
    4949
    50             inline const std::string& getName() const
     50            const std::string& getName() const
    5151                { return this->entity_->getName(); }
    5252
    53             inline void setVisible(bool visible)
     53            void setVisible(bool visible)
    5454                { this->entity_->setVisible(visible); }
    55             inline bool getVisible() const
     55            bool getVisible() const
    5656                { return this->entity_->getVisible(); }
    5757
  • code/branches/gcc43/src/orxonox/tools/ParticleInterface.h

    r1563 r1634  
    5151      ~ParticleInterface();
    5252
    53       inline Ogre::ParticleSystem* getParticleSystem() const
     53      Ogre::ParticleSystem* getParticleSystem() const
    5454        { return this->particleSystem_; }
    5555
     
    7777      void detailLevelChanged(unsigned int newlevel);
    7878
    79       inline void storeThisAsCurrentParticleInterface()
     79      void storeThisAsCurrentParticleInterface()
    8080        { ParticleInterface::currentParticleInterface_s = this; }
    81       inline static ParticleInterface* getCurrentParticleInterface()
     81      static ParticleInterface* getCurrentParticleInterface()
    8282        { return ParticleInterface::currentParticleInterface_s; }
    8383
  • code/branches/gcc43/src/orxonox/tools/Timer.h

    r1552 r1634  
    8181
    8282            /** @brief Starts the Timer: Function-call after 'interval' seconds. */
    83             inline void startTimer()
     83            void startTimer()
    8484                { this->bActive_ = true; this->time_ = this->interval_; }
    8585            /** @brief Stops the Timer. */
    86             inline void stopTimer()
     86            void stopTimer()
    8787                { this->bActive_ = false; this->time_ = this->interval_; }
    8888            /** @brief Pauses the Timer - it will continue with the actual state if you unpause it. */
    89             inline void pauseTimer()
     89            void pauseTimer()
    9090                { this->bActive_ = false; }
    9191            /** @brief Unpauses the Timer - continues with the given state. */
    92             inline void unpauseTimer()
     92            void unpauseTimer()
    9393                { this->bActive_ = true; }
    9494            /** @brief Returns true if the Timer is active (= not stoped, not paused). @return True = Time is active */
    95             inline bool isActive() const
     95            bool isActive() const
    9696                { return this->bActive_; }
    9797            /** @brief Gives the Timer some extra time. @param time The amount of extra time in seconds */
    98             inline void addTime(float time)
     98            void addTime(float time)
    9999                { this->time_ += time; }
    100100            /** @brief Decreases the remaining time of the Timer. @param time The amount of time to remove */
    101             inline void removeTime(float time)
     101            void removeTime(float time)
    102102                { this->time_ -= time; }
    103103            /** @brief Sets the interval of the Timer. @param interval The interval */
    104             inline void setInterval(float interval)
     104            void setInterval(float interval)
    105105                { this->interval_ = interval; }
    106106            /** @brief Sets bLoop to a given value. @param bLoop True = loop */
    107             inline void setLoop(bool bLoop)
     107            void setLoop(bool bLoop)
    108108                { this->bLoop_ = bLoop; }
    109109
Note: See TracChangeset for help on using the changeset viewer.