Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#8505 closed patch

SAGA: Minimize #include dependencies

Reported by: bluegr Owned by: sev-
Priority: normal Component: Engine: SAGA
Version: Keywords:
Cc: Game:


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.

Attachments (1)

saga.patch (2.4 KB ) - added by bluegr 18 years ago.
SAGA dependencies patch

Download all attachments as: .zip

Change History (4)

by bluegr, 18 years ago

Attachment: saga.patch added

SAGA dependencies patch

comment:1 by sev-, 18 years ago

Thanks a lot. Commited as is.

comment:2 by sev-, 18 years ago

Owner: set to sev-
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Engine: SAGA
Note: See TracTickets for help on using tickets.