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

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

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

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

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

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

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