[ scummvm-Patches-1406628 ] SAGA: Minimize #include dependencies

SourceForge.net noreply at sourceforge.net
Sun Jan 15 15:23:19 CET 2006


Patches item #1406628, was opened at 2006-01-15 16:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1406628&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Filippos (thebluegr)
Assigned to: Nobody/Anonymous (nobody)
Summary: SAGA: Minimize #include dependencies

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1406628&group_id=37116




More information about the Scummvm-tracker mailing list