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/overlays/notifications/NotificationQueue.h

    r2385 r2435  
    3838#include <string>
    3939
    40 namespace orxonox {
    41 
     40namespace orxonox
     41{
    4242    /**
    4343    @brief
     
    4848    class _OrxonoxExport NotificationQueue : public OverlayText, public Tickable
    4949    {
    50         public:
    51             NotificationQueue(BaseObject* creator);
    52             virtual ~NotificationQueue();
    53            
    54             static NotificationQueue* queue_s; //TDO Singleton? oder im level.
    55            
    56             virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
    57            
    58             virtual void tick(float dt);
    59            
    60             void update(void);
    61            
    62             int getLength(void) const
     50    public:
     51        NotificationQueue(BaseObject* creator);
     52        virtual ~NotificationQueue();
     53       
     54        static NotificationQueue* queue_s; //TDO Singleton? oder im level.
     55       
     56        virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     57       
     58        virtual void tick(float dt);
     59       
     60        void update(void);
     61       
     62        int getLength(void) const
    6363                { return this->length_; }
    64             int getWidth(void) const
     64        int getWidth(void) const
    6565                { return this->width_; }
    66            
    67             void setQueueText(const std::string & text);
    68             bool setLength(int length);
    69             bool setWidth(int width);
    70            
    71         private:
    72             Ogre::UTFString queueText_;
    73             int length_;
    74             int width_;
     66       
     67        void setQueueText(const std::string & text);
     68        bool setLength(int length);
     69        bool setWidth(int width);
     70       
     71    private:
     72        Ogre::UTFString queueText_;
     73        int length_;
     74        int width_;
    7575   
    7676    };
Note: See TracChangeset for help on using the changeset viewer.