Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2009, 10:06:57 PM (16 years ago)
Author:
rgrieder
Message:

Reduced header file dependencies in the sound classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/sound/SoundBase.cc

    r3108 r3133  
    2626 *
    2727 */
     28
     29#include "SoundBase.h"
     30
    2831#include <vector>
    2932#include <AL/alut.h>
    3033#include <vorbis/vorbisfile.h>
    31 
     34#include <boost/static_assert.hpp>
     35
     36#include "util/Math.h"
     37#include "core/Core.h"
    3238#include "orxonox/objects/worldentities/WorldEntity.h"
    33 #include "util/Math.h"
    34 #include "SoundBase.h"
    3539#include "SoundManager.h"
    36 #include "core/Core.h"
     40
     41// Make sure we correctly avoid including al.h in the header
     42BOOST_STATIC_ASSERT(sizeof(uint32_t) == sizeof(ALuint));
     43BOOST_STATIC_ASSERT(sizeof(int32_t)  == sizeof(ALint));
    3744
    3845namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.