Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2008, 1:42:17 AM (15 years ago)
Author:
rgrieder
Message:
  • updated msvc files
  • Fixed build by including util/Integer.h in NetworkPrereqs.h instead of util/Math.h
  • Fixed issue with a this pointer used in the base class c'tor initialisation
  • Fixed build under windows: INFINITE seems to be a macro, defined in winbase.h. Constant was somewhere in the quest files.
  • Fixed build: Only integral types can have header-file value when declared as static const. Float is not supported by the standard.
  • Fixed a potential bug in Planet.cc: "if (cond) doOne; doTwo" —> missing brances (indentation was correct, so I assume there have to be brances)
  • Corrected lots of indentation problems with tabs/spaces mix.
  • Changed all "@file Blubb.h" to "@file": Doxygen then assumes the actual filename. This gives more flexibility.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/quest/QuestEffectBeacon.cc

    r2385 r2435  
    2828
    2929/**
    30     @file QuestEffectBeacon.cc
     30    @file
    3131    @brief Implementation of the QuestEffectBeacon class.
    3232*/
     
    4545#include "QuestEffect.h"
    4646
    47 namespace orxonox {
    48 
     47namespace orxonox
     48{
    4949    CreateFactory(QuestEffectBeacon);
    5050
     
    5858       
    5959        this->status_ = QuestEffectBeaconStatus::active;
    60         this->times_ = INFINITE;
     60        this->times_ = INFINITE_TIME;
    6161    }
    6262
     
    186186            return false;
    187187        }
    188         if(this->getTimes() == INFINITE) //!< If times is infinity the QuestEffectBeacon can be executed an infinite number fo times.
     188        if(this->getTimes() == INFINITE_TIME) //!< If times is infinity the QuestEffectBeacon can be executed an infinite number fo times.
    189189        {
    190190            return true;
     
    212212    bool QuestEffectBeacon::setTimes(const int & n)
    213213    {
    214         if(n < 0 && n != INFINITE)
     214        if(n < 0 && n != INFINITE_TIME)
    215215        {
    216216            return false;
Note: See TracChangeset for help on using the changeset viewer.