Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3150


Ignore:
Timestamp:
Jun 12, 2009, 10:58:40 AM (15 years ago)
Author:
rgrieder
Message:

Build fixes (X11 defines the None macro…)

Location:
code/branches/pch/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/CommandLine.cc

    r2759 r3150  
    3030
    3131#include <boost/filesystem.hpp>
     32
     33#include "util/Exception.h"
    3234#include "util/String.h"
    3335#include "util/SubString.h"
  • code/branches/pch/src/core/input/InputManager.cc

    r3148 r3150  
    4141#include <ois/OISInputManager.h>
    4242
    43 // HACK
    44 #ifdef ORXONOX_PLATFORM_LINUX
    45 #  include <ois/linux/LinuxMouse.h>
    46 #endif
    47 
    4843#include "util/Exception.h"
    4944#include "util/Debug.h"
    50 #include "core/ConsoleCommand.h"
    5145#include "core/Clock.h"
    5246#include "core/CoreIncludes.h"
    5347#include "core/ConfigValueIncludes.h"
     48#include "core/ConsoleCommand.h"
    5449#include "core/CommandLine.h"
    5550
     
    6055#include "ExtendedInputState.h"
    6156#include "JoyStickDeviceNumberListener.h"
     57
     58// HACK (include this as last, X11 seems to define some macros...)
     59#ifdef ORXONOX_PLATFORM_LINUX
     60#  include <ois/linux/LinuxMouse.h>
     61#endif
    6262
    6363namespace orxonox
  • code/branches/pch/src/core/input/InputState.h

    r3148 r3150  
    9191        InputState()
    9292            : bHandlersChanged_(false)
     93            , executorOnEnter_(0)
     94            , executorOnLeave_(0)
    9395            , priority_(0)
    9496            , bAlwaysGetsInput_(false)
    9597            , bTransparent_(false)
    96             , executorOnEnter_(0)
    97             , executorOnLeave_(0)
    9898        { }
    9999        virtual ~InputState() { }
  • code/branches/pch/src/network/Host.h

    r3084 r3150  
    3636namespace orxonox {
    3737
    38   const int CLIENTID_SERVER = 0;
     38  const unsigned int CLIENTID_SERVER = 0;
    3939  const unsigned int NETWORK_FREQUENCY = 30;
    4040  const float NETWORK_PERIOD = 1.0f/NETWORK_FREQUENCY;
  • code/branches/pch/src/orxonox/overlays/OverlayText.cc

    r3144 r3150  
    4343    CreateFactory(OverlayText);
    4444
    45     BOOST_STATIC_ASSERT(Ogre::TextAreaOverlayElement::Left   == OverlayText::Left);
    46     BOOST_STATIC_ASSERT(Ogre::TextAreaOverlayElement::Center == OverlayText::Center);
    47     BOOST_STATIC_ASSERT(Ogre::TextAreaOverlayElement::Right  == OverlayText::Right);
     45    BOOST_STATIC_ASSERT((int)Ogre::TextAreaOverlayElement::Left   == (int)OverlayText::Left);
     46    BOOST_STATIC_ASSERT((int)Ogre::TextAreaOverlayElement::Center == (int)OverlayText::Center);
     47    BOOST_STATIC_ASSERT((int)Ogre::TextAreaOverlayElement::Right  == (int)OverlayText::Right);
    4848
    4949    OverlayText::OverlayText(BaseObject* creator)
  • code/branches/pch/src/util/Clipboard.cc

    r3146 r3150  
    129129        @return The text
    130130    */
    131     const std::string& fromClipboard()
     131    std::string fromClipboard()
    132132    {
    133133        return clipboard;
Note: See TracChangeset for help on using the changeset viewer.