mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
- added leak_dumper header all over the place (not yet functional in linux)
- Bugfix for particle cleanup
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
//This file is part of Glest Shared Library (www.glest.org)
|
||||
//Copyright (C) 2005 Matthias Braun <matze@braunis.de>
|
||||
|
||||
//You can redistribute this code and/or modify it under
|
||||
//the terms of the GNU General Public License as published by the Free Software
|
||||
//Foundation; either version 2 of the License, or (at your option) any later
|
||||
//version.
|
||||
|
||||
#ifndef _SHARED_SOUND_SOUNDFACTORYSDL_H_
|
||||
#define _SHARED_SOUND_SOUNDFACTORYSDL_H_
|
||||
|
||||
#include "sound_factory.h"
|
||||
#include "sound_player_openal.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
namespace Shared{ namespace Sound{ namespace OpenAL{
|
||||
|
||||
// ===============================
|
||||
// class SoundFactoryOpenAL
|
||||
// ===============================
|
||||
|
||||
class SoundFactoryOpenAL : public SoundFactory{
|
||||
public:
|
||||
virtual SoundPlayer* newSoundPlayer() {return new SoundPlayerOpenAL();}
|
||||
};
|
||||
|
||||
}}}//end namespace
|
||||
|
||||
#endif
|
@@ -11,12 +11,11 @@
|
||||
#include "sound_player.h"
|
||||
#include "platform_util.h"
|
||||
#include "platform_common.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <AL/alc.h>
|
||||
#include <AL/al.h>
|
||||
|
||||
#include <vector>
|
||||
#include "leak_dumper.h"
|
||||
|
||||
using std::vector;
|
||||
using namespace Shared::PlatformCommon;
|
||||
|
Reference in New Issue
Block a user