diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-03-24 15:45:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 15:45:25 +0100 |
commit | 4fd97158762b4cdd4c73a6e29960e371d9de56e7 (patch) | |
tree | c768a82d972f2d7d80d20c0eccab0494b24d3538 /src/gui | |
parent | bcd22fc34cf70c3fe246f500633aa42e388fabc4 (diff) | |
download | minetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.tar.gz minetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.tar.bz2 minetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.zip |
Cleanup sound manager class (#7158)
* Cleanup sound manager client
* Use some const refs
* Use auto on iterators
* Drop unused parameters
* Move sound_openal.* to client folder
* Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiEngine.cpp | 2 | ||||
-rw-r--r-- | src/gui/guiEngine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/guiEngine.cpp b/src/gui/guiEngine.cpp index 00c3f85bc..7654bf7b3 100644 --- a/src/gui/guiEngine.cpp +++ b/src/gui/guiEngine.cpp @@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "settings.h" #include "guiMainMenu.h" #include "sound.h" -#include "sound_openal.h" +#include "client/sound_openal.h" #include "clouds.h" #include "httpfetch.h" #include "log.h" diff --git a/src/gui/guiEngine.h b/src/gui/guiEngine.h index 817d76014..409ba94c4 100644 --- a/src/gui/guiEngine.h +++ b/src/gui/guiEngine.h @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes.h" #include "modalMenu.h" #include "guiFormSpecMenu.h" -#include "sound.h" +#include "client/sound.h" #include "client/tile.h" #include "util/enriched_string.h" |