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.h

    r2385 r2435  
    2828
    2929/**
    30     @file QuestEffectBeacon.h
     30    @file
    3131    @brief Definition of the QuestEffectBeacon class.
    3232*/
     
    3939#include "orxonox/objects/worldentities/PositionableEntity.h"
    4040
    41 namespace QuestEffectBeaconStatus
     41namespace orxonox
    4242{
     43    namespace QuestEffectBeaconStatus
     44    {
    4345
    44     //! The status of the beacon, can be either active or inactive.
    45     enum Enum
    46     {
    47         inactive,
    48         active
    49     };
     46        //! The status of the beacon, can be either active or inactive.
     47        enum Enum
     48        {
     49            inactive,
     50            active
     51        };
    5052
    51 }
    52 
    53 namespace orxonox {
     53    }
    5454
    5555    /**
     
    112112   
    113113        private:
    114             static const int INFINITE = -1; //!< Constant to avoid using magic numbers.
     114            static const int INFINITE_TIME = -1; //!< Constant to avoid using magic numbers.
    115115           
    116116            std::list<QuestEffect*> effects_; //!< The list of QuestEffects to be invoked on the executing player.
Note: See TracChangeset for help on using the changeset viewer.