Move sound_openal and sound_openal_internal into new src/client/sound directory

This commit is contained in:
Desour 2023-09-28 16:49:47 +02:00 committed by DS
parent 8fa2ea71ef
commit 606215fae9
8 changed files with 12 additions and 9 deletions

View File

@ -2,8 +2,8 @@ set(sound_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/sound.cpp)
if(USE_SOUND)
set(sound_SRCS ${sound_SRCS}
${CMAKE_CURRENT_SOURCE_DIR}/sound_openal.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sound_openal_internal.cpp)
${CMAKE_CURRENT_SOURCE_DIR}/sound/sound_openal.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sound/sound_openal_internal.cpp)
set(SOUND_INCLUDE_DIRS
${OPENAL_INCLUDE_DIR}
${VORBIS_INCLUDE_DIR}

View File

@ -36,7 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "network/networkexceptions.h"
#if USE_SOUND
#include "sound_openal.h"
#include "sound/sound_openal.h"
#endif
/* mainmenumanager.h

View File

@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client/keys.h"
#include "client/joystick_controller.h"
#include "client/mapblock_mesh.h"
#include "client/sound.h"
#include "clientmap.h"
#include "clouds.h"
#include "config.h"
@ -75,10 +76,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "clientdynamicinfo.h"
#if USE_SOUND
#include "client/sound_openal.h"
#else
#include "client/sound.h"
#include "client/sound/sound_openal.h"
#endif
/*
Text input system
*/

View File

@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include "sound.h"
#include "client/sound.h"
#include <memory>

View File

@ -27,7 +27,7 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
#include "log.h"
#include "porting.h"
#include "sound_openal.h"
#include "../sound.h"
#include "../../sound.h"
#include "threading/thread.h"
#include "util/basic_macros.h"
#include "util/container.h"

View File

@ -31,7 +31,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
#include "guiMainMenu.h"
#include "sound.h"
#include "client/sound_openal.h"
#include "httpfetch.h"
#include "log.h"
#include "client/fontengine.h"
@ -39,6 +38,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlicht_changes/static_text.h"
#include "client/tile.h"
#if USE_SOUND
#include "client/sound/sound_openal.h"
#endif
/******************************************************************************/
void TextDestGuiEngine::gotText(const StringMap &fields)