Merge branch 'openmw-47' of https://gitlab.com/OpenMW/openmw into release-0.47.0

Conflicts:
	CI/before_install.osx.sh
	apps/openmw/mwmechanics/aipackage.cpp
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.


# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch release-0.47.0
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	modified:   CHANGELOG.md
#	modified:   CI/before_install.osx.sh
#	modified:   apps/launcher/advancedpage.cpp
#	modified:   apps/openmw/mwclass/door.cpp
#	modified:   apps/openmw/mwmechanics/aipackage.cpp
#	modified:   apps/openmw/mwmechanics/pathfinding.cpp
#	modified:   apps/openmw/mwmechanics/pathfinding.hpp
#	modified:   apps/openmw/mwsound/ffmpeg_decoder.cpp
#	modified:   apps/openmw/mwworld/worldimp.cpp
#	modified:   components/settings/settings.cpp
#	modified:   components/settings/settings.hpp
#	modified:   docs/source/reference/modding/index.rst
#	new file:   docs/source/reference/modding/openmw-game-template.rst
#	modified:   extern/osg-ffmpeg-videoplayer/audiodecoder.cpp
#	modified:   extern/osg-ffmpeg-videoplayer/videostate.cpp
#	modified:   files/ui/advancedpage.ui
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#   (commit or discard the untracked or modified content in submodules)
#
#	modified:   extern/shiny (modified content)
#
