SAGA: Minimize #include dependencies
|Reported by:||bluegr||Owned by:||sev-|
Just a small patch, with a big help from sev (thanks!)
This will remove a lot of unneeded #includes from the SAGA engine, as currently a single change is OSystem leads to recompilation of every file in saga/ directory. This patch is based on the latest CVS of the SAGA engine
This patch file will remove the following includes:
actor.h : #include "common/file.h" interface.h : #include "common/file.h" music.h : #include "sound/mixer.h" rscfile.h : #include "backends/fs/fs.h" saga.h : #include "common/stdafx.h" #include "common/scummsys.h" #include "base/gameDetector.h" #include "common/rect.h"
The SAGA engine compiles and works fine under Windows, although I'm not sure if any functionality is broken in other platforms.
Ticket imported from: #1406628. Ticket imported from: patches/610.