aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-02 16:20:35 +0000
committerEugene Sandulenko2004-08-02 16:20:35 +0000
commit166b05aed4c6431c6c4b19a87c94646498ed1e99 (patch)
tree5eacae0d409d4ce40db87a76508480eb8c23e7bf /saga
parent79e2af87877095b317ad47cf2f42cf10a38fd6aa (diff)
downloadscummvm-rg350-166b05aed4c6431c6c4b19a87c94646498ed1e99.tar.gz
scummvm-rg350-166b05aed4c6431c6c4b19a87c94646498ed1e99.tar.bz2
scummvm-rg350-166b05aed4c6431c6c4b19a87c94646498ed1e99.zip
Fix #include paths.
svn-id: r14443
Diffstat (limited to 'saga')
-rw-r--r--saga/actionmap.cpp10
-rw-r--r--saga/actor.cpp34
-rw-r--r--saga/actor.h9
-rw-r--r--saga/actordata.cpp4
-rw-r--r--saga/animation.cpp16
-rw-r--r--saga/console.cpp16
-rw-r--r--saga/cvar.cpp10
-rw-r--r--saga/events.cpp36
-rw-r--r--saga/expr.cpp6
-rw-r--r--saga/font.cpp12
-rw-r--r--saga/game.cpp14
-rw-r--r--saga/ihnm_introproc.cpp30
-rw-r--r--saga/image.cpp6
-rw-r--r--saga/interface.cpp32
-rw-r--r--saga/isomap.cpp8
-rw-r--r--saga/ite_introproc.cpp36
-rw-r--r--saga/music.cpp8
-rw-r--r--saga/music.h4
-rw-r--r--saga/objectmap.cpp12
-rw-r--r--saga/palanim.cpp12
-rw-r--r--saga/render.cpp34
-rw-r--r--saga/rscfile.cpp6
-rw-r--r--saga/rscfile_mod.h2
-rw-r--r--saga/saga.cpp54
-rw-r--r--saga/scene.cpp46
-rw-r--r--saga/scene_mod.h2
-rw-r--r--saga/script.cpp28
-rw-r--r--saga/script.h8
-rw-r--r--saga/sdata.cpp12
-rw-r--r--saga/sdebug.cpp16
-rw-r--r--saga/sfuncs.cpp18
-rw-r--r--saga/sfuncs.h2
-rw-r--r--saga/sndres.cpp10
-rw-r--r--saga/sndres.h6
-rw-r--r--saga/sound.cpp6
-rw-r--r--saga/sound.h4
-rw-r--r--saga/sprite.cpp18
-rw-r--r--saga/sstack.cpp12
-rw-r--r--saga/sstack.h2
-rw-r--r--saga/sthread.cpp25
-rw-r--r--saga/sthread.h2
-rw-r--r--saga/text.cpp12
-rw-r--r--saga/transitions.cpp2
-rw-r--r--saga/ys_dl_list.cpp4
44 files changed, 320 insertions, 326 deletions
diff --git a/saga/actionmap.cpp b/saga/actionmap.cpp
index 9aa2759f92..38611133fa 100644
--- a/saga/actionmap.cpp
+++ b/saga/actionmap.cpp
@@ -22,13 +22,13 @@
*/
/* Action map module */
-#include "saga.h"
+#include "saga/saga.h"
-#include "cvar_mod.h"
-#include "gfx.h"
-#include "console_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/gfx.h"
+#include "saga/console_mod.h"
-#include "actionmap.h"
+#include "saga/actionmap.h"
namespace Saga {
diff --git a/saga/actor.cpp b/saga/actor.cpp
index bd3df6008b..2d094ad8b2 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -21,23 +21,23 @@
*
*/
-#include "saga.h"
-#include "yslib.h"
-#include "gfx.h"
-
-#include "game_mod.h"
-#include "cvar_mod.h"
-#include "console_mod.h"
-#include "rscfile_mod.h"
-#include "script_mod.h"
-#include "sndres.h"
-#include "sprite_mod.h"
-#include "font_mod.h"
-#include "text_mod.h"
-#include "sound.h"
-
-#include "actor.h"
-#include "actordata.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
+#include "saga/gfx.h"
+
+#include "saga/game_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/console_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/script_mod.h"
+#include "saga/sndres.h"
+#include "saga/sprite_mod.h"
+#include "saga/font_mod.h"
+#include "saga/text_mod.h"
+#include "saga/sound.h"
+
+#include "saga/actor.h"
+#include "saga/actordata.h"
namespace Saga {
diff --git a/saga/actor.h b/saga/actor.h
index a9dc6f7d6c..7b76eb14aa 100644
--- a/saga/actor.h
+++ b/saga/actor.h
@@ -26,8 +26,8 @@
#ifndef SAGA_ACTOR_H__
#define SAGA_ACTOR_H__
-#include "yslib.h"
-#include "sprite_mod.h"
+#include "saga/yslib.h"
+#include "saga/sprite_mod.h"
namespace Saga {
@@ -184,11 +184,6 @@ struct R_ACTIONTIMES {
int time;
};
-struct R_ACTOR_MODULE {
- int init;
- const char *err_str;
-};
-
class Actor {
public:
int reg();
diff --git a/saga/actordata.cpp b/saga/actordata.cpp
index 3aedc30397..0fdd1fb5ef 100644
--- a/saga/actordata.cpp
+++ b/saga/actordata.cpp
@@ -22,8 +22,8 @@
*/
// Actor data table
-#include "saga.h"
-#include "actordata.h"
+#include "saga/saga.h"
+#include "saga/actordata.h"
namespace Saga {
diff --git a/saga/animation.cpp b/saga/animation.cpp
index c1e2673850..dbae4dc4d9 100644
--- a/saga/animation.cpp
+++ b/saga/animation.cpp
@@ -22,16 +22,16 @@
*/
// Background animation management module
-#include "saga.h"
-#include "gfx.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
-#include "cvar_mod.h"
-#include "console_mod.h"
-#include "game_mod.h"
-#include "events_mod.h"
-#include "render.h"
+#include "saga/cvar_mod.h"
+#include "saga/console_mod.h"
+#include "saga/game_mod.h"
+#include "saga/events_mod.h"
+#include "saga/render.h"
-#include "animation.h"
+#include "saga/animation.h"
namespace Saga {
diff --git a/saga/console.cpp b/saga/console.cpp
index 488d50aa63..088233bb71 100644
--- a/saga/console.cpp
+++ b/saga/console.cpp
@@ -23,14 +23,14 @@
// Console module
-#include "saga.h"
-#include "gfx.h"
-#include "font_mod.h"
-#include "cvar_mod.h"
-#include "events_mod.h"
-
-#include "console_mod.h"
-#include "console.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
+#include "saga/font_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/events_mod.h"
+
+#include "saga/console_mod.h"
+#include "saga/console.h"
namespace Saga {
diff --git a/saga/cvar.cpp b/saga/cvar.cpp
index a943c5eecc..345f9e773d 100644
--- a/saga/cvar.cpp
+++ b/saga/cvar.cpp
@@ -22,13 +22,13 @@
*/
// Configuration Variable Module
-#include "saga.h"
-#include "gfx.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
-#include "console_mod.h"
+#include "saga/console_mod.h"
-#include "cvar_mod.h"
-#include "cvar.h"
+#include "saga/cvar_mod.h"
+#include "saga/cvar.h"
namespace Saga {
diff --git a/saga/events.cpp b/saga/events.cpp
index d9fae5e385..ad01f7c1cd 100644
--- a/saga/events.cpp
+++ b/saga/events.cpp
@@ -24,24 +24,24 @@
// Event management module
-#include "saga.h"
-#include "gfx.h"
-
-#include "yslib.h"
-
-#include "animation.h"
-#include "console_mod.h"
-#include "scene_mod.h"
-#include "interface_mod.h"
-#include "text_mod.h"
-#include "palanim_mod.h"
-#include "render.h"
-#include "game_mod.h"
-#include "sndres.h"
-#include "music.h"
-
-#include "events_mod.h"
-#include "events.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
+
+#include "saga/yslib.h"
+
+#include "saga/animation.h"
+#include "saga/console_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/interface_mod.h"
+#include "saga/text_mod.h"
+#include "saga/palanim_mod.h"
+#include "saga/render.h"
+#include "saga/game_mod.h"
+#include "saga/sndres.h"
+#include "saga/music.h"
+
+#include "saga/events_mod.h"
+#include "saga/events.h"
namespace Saga {
diff --git a/saga/expr.cpp b/saga/expr.cpp
index 47cf21982e..3ecfc38e16 100644
--- a/saga/expr.cpp
+++ b/saga/expr.cpp
@@ -25,9 +25,9 @@
// EXPR_ParseArgs() lifted wholesale from SDL win32 initialization code by Sam Lantinga
-#include "saga.h"
-#include "cvar_mod.h"
-#include "expr.h"
+#include "saga/saga.h"
+#include "saga/cvar_mod.h"
+#include "saga/expr.h"
namespace Saga {
diff --git a/saga/font.cpp b/saga/font.cpp
index fdbe54f068..b17b57614b 100644
--- a/saga/font.cpp
+++ b/saga/font.cpp
@@ -22,14 +22,14 @@
*/
// Font management and font drawing module
-#include "saga.h"
-#include "gfx.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
-#include "rscfile_mod.h"
-#include "game_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
-#include "font_mod.h"
-#include "font.h"
+#include "saga/font_mod.h"
+#include "saga/font.h"
namespace Saga {
diff --git a/saga/game.cpp b/saga/game.cpp
index ec4ab31463..064727468f 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -23,19 +23,19 @@
// Game detection, general game parameters
-#include "saga.h"
+#include "saga/saga.h"
#include "common/file.h"
#include "base/gameDetector.h"
#include "base/plugins.h"
#include "backends/fs/fs.h"
-#include "rscfile_mod.h"
-#include "cvar_mod.h"
-#include "ite_introproc_mod.h"
-#include "interface_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/ite_introproc_mod.h"
+#include "saga/interface_mod.h"
-#include "game_mod.h"
-#include "game.h"
+#include "saga/game_mod.h"
+#include "saga/game.h"
namespace Saga {
diff --git a/saga/ihnm_introproc.cpp b/saga/ihnm_introproc.cpp
index c1518e6876..748ca56edd 100644
--- a/saga/ihnm_introproc.cpp
+++ b/saga/ihnm_introproc.cpp
@@ -23,21 +23,21 @@
// "I Have No Mouth" Intro sequence scene procedures
-#include "saga.h"
-#include "yslib.h"
-#include "gfx.h"
-
-#include "animation.h"
-#include "cvar_mod.h"
-#include "events_mod.h"
-#include "font_mod.h"
-#include "rscfile_mod.h"
-#include "scene_mod.h"
-#include "text_mod.h"
-#include "palanim_mod.h"
-
-#include "scene.h"
-#include "ihnm_introproc.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
+#include "saga/gfx.h"
+
+#include "saga/animation.h"
+#include "saga/cvar_mod.h"
+#include "saga/events_mod.h"
+#include "saga/font_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/text_mod.h"
+#include "saga/palanim_mod.h"
+
+#include "saga/scene.h"
+#include "saga/ihnm_introproc.h"
namespace Saga {
diff --git a/saga/image.cpp b/saga/image.cpp
index a3978c43d4..602545e235 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -22,11 +22,11 @@
*/
// SAGA Image resource management routines
-#include "saga.h"
+#include "saga/saga.h"
-#include "game_mod.h"
+#include "saga/game_mod.h"
-#include "image.h"
+#include "saga/image.h"
namespace Saga {
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 9704dbd688..d15485f5d1 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -22,22 +22,22 @@
*/
// Game interface module
-#include "saga.h"
-
-#include "gfx.h"
-#include "game_mod.h"
-#include "cvar_mod.h"
-#include "actor.h"
-#include "console_mod.h"
-#include "font_mod.h"
-#include "objectmap.h"
-#include "rscfile_mod.h"
-#include "script_mod.h"
-#include "sprite_mod.h"
-
-#include "interface_mod.h"
-#include "interface.h"
-#include "sdata.h"
+#include "saga/saga.h"
+
+#include "saga/gfx.h"
+#include "saga/game_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/actor.h"
+#include "saga/console_mod.h"
+#include "saga/font_mod.h"
+#include "saga/objectmap.h"
+#include "saga/rscfile_mod.h"
+#include "saga/script_mod.h"
+#include "saga/sprite_mod.h"
+
+#include "saga/interface_mod.h"
+#include "saga/interface.h"
+#include "saga/sdata.h"
namespace Saga {
diff --git a/saga/isomap.cpp b/saga/isomap.cpp
index d5f29acb3e..6cc3dc6a79 100644
--- a/saga/isomap.cpp
+++ b/saga/isomap.cpp
@@ -22,12 +22,12 @@
*/
// Isometric level module
-#include "saga.h"
+#include "saga/saga.h"
-#include "game_mod.h"
-#include "gfx.h"
+#include "saga/game_mod.h"
+#include "saga/gfx.h"
-#include "isomap.h"
+#include "saga/isomap.h"
namespace Saga {
diff --git a/saga/ite_introproc.cpp b/saga/ite_introproc.cpp
index b6783bbe38..cd6aa8389c 100644
--- a/saga/ite_introproc.cpp
+++ b/saga/ite_introproc.cpp
@@ -24,24 +24,24 @@
// Intro sequence scene procedures
-#include "saga.h"
-#include "gfx.h"
-#include "yslib.h"
-
-#include "animation.h"
-#include "cvar_mod.h"
-#include "events_mod.h"
-#include "font_mod.h"
-#include "game_mod.h"
-#include "rscfile_mod.h"
-#include "scene_mod.h"
-#include "sndres.h"
-#include "text_mod.h"
-#include "palanim_mod.h"
-#include "music.h"
-
-#include "scene.h"
-#include "ite_introproc.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
+#include "saga/yslib.h"
+
+#include "saga/animation.h"
+#include "saga/cvar_mod.h"
+#include "saga/events_mod.h"
+#include "saga/font_mod.h"
+#include "saga/game_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/sndres.h"
+#include "saga/text_mod.h"
+#include "saga/palanim_mod.h"
+#include "saga/music.h"
+
+#include "saga/scene.h"
+#include "saga/ite_introproc.h"
namespace Saga {
diff --git a/saga/music.cpp b/saga/music.cpp
index 81cf82a227..1906543057 100644
--- a/saga/music.cpp
+++ b/saga/music.cpp
@@ -20,11 +20,11 @@
* $Header$
*
*/
-#include "saga.h"
+#include "saga/saga.h"
-#include "music.h"
-#include "rscfile_mod.h"
-#include "game_mod.h"
+#include "saga/music.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
#include "sound/mididrv.h"
#include "sound/midiparser.h"
#include "common/config-manager.h"
diff --git a/saga/music.h b/saga/music.h
index bfaaa2d366..ca7ad2b783 100644
--- a/saga/music.h
+++ b/saga/music.h
@@ -26,8 +26,8 @@
#ifndef SAGA_MUSIC_H_
#define SAGA_MUSIC_H_
-#include "rscfile_mod.h"
-#include "game_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
#include "sound/mixer.h"
#include "sound/mididrv.h"
#include "sound/midiparser.h"
diff --git a/saga/objectmap.cpp b/saga/objectmap.cpp
index 2ecfea522b..accd9fde9f 100644
--- a/saga/objectmap.cpp
+++ b/saga/objectmap.cpp
@@ -26,13 +26,13 @@
// Polygon Hit Test code ( HitTestPoly() ) adapted from code (C) Eric Haines
// appearing in Graphics Gems IV, "Point in Polygon Strategies."
// p. 24-46, code: p. 34-45
-#include "saga.h"
+#include "saga/saga.h"
-#include "gfx.h"
-#include "cvar_mod.h"
-#include "console_mod.h"
-#include "font_mod.h"
-#include "objectmap.h"
+#include "saga/gfx.h"
+#include "saga/cvar_mod.h"
+#include "saga/console_mod.h"
+#include "saga/font_mod.h"
+#include "saga/objectmap.h"
namespace Saga {
diff --git a/saga/palanim.cpp b/saga/palanim.cpp
index 2dfa96b78c..1f2747b5d6 100644
--- a/saga/palanim.cpp
+++ b/saga/palanim.cpp
@@ -22,14 +22,14 @@
*/
// Palette animation module
-#include "saga.h"
-#include "gfx.h"
+#include "saga/saga.h"
+#include "saga/gfx.h"
-#include "events_mod.h"
-#include "game_mod.h"
+#include "saga/events_mod.h"
+#include "saga/game_mod.h"
-#include "palanim_mod.h"
-#include "palanim.h"
+#include "saga/palanim_mod.h"
+#include "saga/palanim.h"
namespace Saga {
diff --git a/saga/render.cpp b/saga/render.cpp
index 2b8788da90..829431ff3b 100644
--- a/saga/render.cpp
+++ b/saga/render.cpp
@@ -22,23 +22,23 @@
*/
// Main rendering loop
-#include "saga.h"
-
-#include "gfx.h"
-#include "actor.h"
-#include "console_mod.h"
-#include "cvar_mod.h"
-#include "font_mod.h"
-#include "game_mod.h"
-#include "interface_mod.h"
-#include "scene_mod.h"
-#include "sprite_mod.h"
-#include "text_mod.h"
-
-#include "actionmap.h"
-#include "objectmap.h"
-
-#include "render.h"
+#include "saga/saga.h"
+
+#include "saga/gfx.h"
+#include "saga/actor.h"
+#include "saga/console_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/font_mod.h"
+#include "saga/game_mod.h"
+#include "saga/interface_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/sprite_mod.h"
+#include "saga/text_mod.h"
+
+#include "saga/actionmap.h"
+#include "saga/objectmap.h"
+
+#include "saga/render.h"
#include <common/timer.h>
namespace Saga {
diff --git a/saga/rscfile.cpp b/saga/rscfile.cpp
index f38aa9d321..594232da99 100644
--- a/saga/rscfile.cpp
+++ b/saga/rscfile.cpp
@@ -22,10 +22,10 @@
*/
// RSC Resource file management module
-#include "saga.h"
+#include "saga/saga.h"
-#include "rscfile_mod.h"
-#include "rscfile.h"
+#include "saga/rscfile_mod.h"
+#include "saga/rscfile.h"
namespace Saga {
diff --git a/saga/rscfile_mod.h b/saga/rscfile_mod.h
index f3cb2de485..c841f9f8c2 100644
--- a/saga/rscfile_mod.h
+++ b/saga/rscfile_mod.h
@@ -26,7 +26,7 @@
#ifndef SAGA_RSCFILE_MOD_H__
#define SAGA_RSCFILE_MOD_H__
-#include "resnames.h"
+#include "saga/resnames.h"
namespace Saga {
diff --git a/saga/saga.cpp b/saga/saga.cpp
index 91d64f3148..8b4c723882 100644
--- a/saga/saga.cpp
+++ b/saga/saga.cpp
@@ -30,33 +30,33 @@
#include "common/file.h"
#include "common/config-manager.h"
-#include "saga.h"
-
-#include "gfx.h"
-#include "rscfile_mod.h"
-#include "render.h"
-#include "actor.h"
-#include "animation.h"
-#include "console_mod.h"
-#include "cvar_mod.h"
-#include "events_mod.h"
-#include "actionmap.h"
-#include "font_mod.h"
-#include "game_mod.h"
-#include "game.h"
-#include "interface_mod.h"
-#include "isomap.h"
-#include "script.h"
-#include "script_mod.h"
-#include "scene_mod.h"
-#include "sdata.h"
-#include "sndres.h"
-#include "sprite_mod.h"
-#include "text_mod.h"
-#include "objectmap.h"
-#include "sound.h"
-#include "music.h"
-#include "game_mod.h"
+#include "saga/saga.h"
+
+#include "saga/gfx.h"
+#include "saga/rscfile_mod.h"
+#include "saga/render.h"
+#include "saga/actor.h"
+#include "saga/animation.h"
+#include "saga/console_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/events_mod.h"
+#include "saga/actionmap.h"
+#include "saga/font_mod.h"
+#include "saga/game_mod.h"
+#include "saga/game.h"
+#include "saga/interface_mod.h"
+#include "saga/isomap.h"
+#include "saga/script.h"
+#include "saga/script_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/sdata.h"
+#include "saga/sndres.h"
+#include "saga/sprite_mod.h"
+#include "saga/text_mod.h"
+#include "saga/objectmap.h"
+#include "saga/sound.h"
+#include "saga/music.h"
+#include "saga/game_mod.h"
GameList Engine_SAGA_gameList() {
return Saga::GAME_GameList();
diff --git a/saga/scene.cpp b/saga/scene.cpp
index ec67b2cedd..4ec3d0ed5c 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -22,29 +22,29 @@
*/
// Scene management module
-#include "saga.h"
-#include "yslib.h"
-
-#include "gfx.h"
-#include "game_mod.h"
-#include "animation.h"
-#include "console_mod.h"
-#include "cvar_mod.h"
-#include "events_mod.h"
-#include "actionmap.h"
-#include "isomap.h"
-#include "script_mod.h"
-#include "objectmap.h"
-#include "palanim_mod.h"
-#include "render.h"
-#include "rscfile_mod.h"
-#include "script.h"
-#include "text_mod.h"
-#include "sound.h"
-#include "music.h"
-
-#include "scene_mod.h"
-#include "scene.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
+
+#include "saga/gfx.h"
+#include "saga/game_mod.h"
+#include "saga/animation.h"
+#include "saga/console_mod.h"
+#include "saga/cvar_mod.h"
+#include "saga/events_mod.h"
+#include "saga/actionmap.h"
+#include "saga/isomap.h"
+#include "saga/script_mod.h"
+#include "saga/objectmap.h"
+#include "saga/palanim_mod.h"
+#include "saga/render.h"
+#include "saga/rscfile_mod.h"
+#include "saga/script.h"
+#include "saga/text_mod.h"
+#include "saga/sound.h"
+#include "saga/music.h"
+
+#include "saga/scene_mod.h"
+#include "saga/scene.h"
namespace Saga {
diff --git a/saga/scene_mod.h b/saga/scene_mod.h
index 84430c8679..0428e9d8be 100644
--- a/saga/scene_mod.h
+++ b/saga/scene_mod.h
@@ -26,7 +26,7 @@
#ifndef SAGA_SCENE_MOD_H__
#define SAGA_SCENE_MOD_H__
-#include "text_mod.h"
+#include "saga/text_mod.h"
namespace Saga {
diff --git a/saga/script.cpp b/saga/script.cpp
index 541f306b7b..88d78b4b89 100644
--- a/saga/script.cpp
+++ b/saga/script.cpp
@@ -22,20 +22,20 @@
*/
// Scripting module: Script resource handling functions
-#include "saga.h"
-#include "yslib.h"
-
-#include "gfx.h"
-#include "rscfile_mod.h"
-#include "game_mod.h"
-#include "text_mod.h"
-#include "console_mod.h"
-#include "cvar_mod.h"
-
-#include "script_mod.h"
-#include "script.h"
-#include "sstack.h"
-#include "sthread.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
+
+#include "saga/gfx.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
+#include "saga/text_mod.h"
+#include "saga/console_mod.h"
+#include "saga/cvar_mod.h"
+
+#include "saga/script_mod.h"
+#include "saga/script.h"
+#include "saga/sstack.h"
+#include "saga/sthread.h"
namespace Saga {
diff --git a/saga/script.h b/saga/script.h
index 5df5f79587..4478547d56 100644
--- a/saga/script.h
+++ b/saga/script.h
@@ -26,10 +26,10 @@
#ifndef SAGA_SCRIPT_H
#define SAGA_SCRIPT_H
-#include "sstack.h"
-#include "sdata.h"
-#include "text_mod.h"
-#include "yslib.h"
+#include "saga/sstack.h"
+#include "saga/sdata.h"
+#include "saga/text_mod.h"
+#include "saga/yslib.h"
namespace Saga {
diff --git a/saga/sdata.cpp b/saga/sdata.cpp
index 0e791d7063..76e746de5f 100644
--- a/saga/sdata.cpp
+++ b/saga/sdata.cpp
@@ -21,13 +21,13 @@
*
*/
// Type SDataWord_T must be unpadded
-#include "saga.h"
+#include "saga/saga.h"
-#include "gfx.h"
-#include "text_mod.h"
-#include "script_mod.h"
-#include "script.h"
-#include "sdata.h"
+#include "saga/gfx.h"
+#include "saga/text_mod.h"
+#include "saga/script_mod.h"
+#include "saga/script.h"
+#include "saga/sdata.h"
namespace Saga {
diff --git a/saga/sdebug.cpp b/saga/sdebug.cpp
index bbbe21ddf9..bfc9a14322 100644
--- a/saga/sdebug.cpp
+++ b/saga/sdebug.cpp
@@ -22,16 +22,16 @@
*/
// Scripting module simple thread debugging support
-#include "saga.h"
+#include "saga/saga.h"
-#include "gfx.h"
-#include "console_mod.h"
-#include "text_mod.h"
-#include "scene_mod.h"
-#include "font_mod.h"
+#include "saga/gfx.h"
+#include "saga/console_mod.h"
+#include "saga/text_mod.h"
+#include "saga/scene_mod.h"
+#include "saga/font_mod.h"
-#include "script.h"
-#include "sthread.h"
+#include "saga/script.h"
+#include "saga/sthread.h"
namespace Saga {
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index d4246ee41c..4f26c74dfa 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -23,17 +23,17 @@
// Scripting module script function component
-#include "saga.h"
+#include "saga/saga.h"
-#include "gfx.h"
-#include "actor.h"
-#include "animation.h"
-#include "console_mod.h"
-#include "interface_mod.h"
-#include "text_mod.h"
+#include "saga/gfx.h"
+#include "saga/actor.h"
+#include "saga/animation.h"
+#include "saga/console_mod.h"
+#include "saga/interface_mod.h"
+#include "saga/text_mod.h"
-#include "script.h"
-#include "sfuncs.h"
+#include "saga/script.h"
+#include "saga/sfuncs.h"
namespace Saga {
diff --git a/saga/sfuncs.h b/saga/sfuncs.h
index ffa36f2221..bd9d75d319 100644
--- a/saga/sfuncs.h
+++ b/saga/sfuncs.h
@@ -26,7 +26,7 @@
#ifndef SAGA_SFUNCS_H
#define SAGA_SFUNCS_H
-#include "sthread.h"
+#include "saga/sthread.h"
namespace Saga {
diff --git a/saga/sndres.cpp b/saga/sndres.cpp
index d964ec738d..5fef6afd23 100644
--- a/saga/sndres.cpp
+++ b/saga/sndres.cpp
@@ -23,13 +23,13 @@
// Sound resource management class
-#include "saga.h"
+#include "saga/saga.h"
-#include "game_mod.h"
-#include "rscfile_mod.h"
+#include "saga/game_mod.h"
+#include "saga/rscfile_mod.h"
-#include "sndres.h"
-#include "sound.h"
+#include "saga/sndres.h"
+#include "saga/sound.h"
#include "common/file.h"
diff --git a/saga/sndres.h b/saga/sndres.h
index 23b144b632..49956c4fd3 100644
--- a/saga/sndres.h
+++ b/saga/sndres.h
@@ -26,9 +26,9 @@
#ifndef SAGA_SNDRES_H_
#define SAGA_SNDRES_H_
-#include "rscfile_mod.h"
-#include "game_mod.h"
-#include "sound.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
+#include "saga/sound.h"
namespace Saga {
diff --git a/saga/sound.cpp b/saga/sound.cpp
index ff94263487..8fb38b1f19 100644
--- a/saga/sound.cpp
+++ b/saga/sound.cpp
@@ -20,10 +20,10 @@
* $Header$
*
*/
-#include "saga.h"
+#include "saga/saga.h"
-#include "sound.h"
-#include "game_mod.h"
+#include "saga/sound.h"
+#include "saga/game_mod.h"
#include "sound/mixer.h"
diff --git a/saga/sound.h b/saga/sound.h
index 9f35a94e50..819f82a152 100644
--- a/saga/sound.h
+++ b/saga/sound.h
@@ -26,8 +26,8 @@
#ifndef SAGA_SOUND_H_
#define SAGA_SOUND_H_
-#include "rscfile_mod.h"
-#include "game_mod.h"
+#include "saga/rscfile_mod.h"
+#include "saga/game_mod.h"
#include "sound/mixer.h"
namespace Saga {
diff --git a/saga/sprite.cpp b/saga/sprite.cpp
index de18fed493..ddb44d958f 100644
--- a/saga/sprite.cpp
+++ b/saga/sprite.cpp
@@ -22,18 +22,18 @@
*/
// Sprite management module
-#include "saga.h"
+#include "saga/saga.h"
-#include "game_mod.h"
-#include "gfx.h"
-#include "scene_mod.h"
-#include "rscfile_mod.h"
+#include "saga/game_mod.h"
+#include "saga/gfx.h"
+#include "saga/scene_mod.h"
+#include "saga/rscfile_mod.h"
-#include "text_mod.h"
-#include "font_mod.h"
+#include "saga/text_mod.h"
+#include "saga/font_mod.h"
-#include "sprite_mod.h"
-#include "sprite.h"
+#include "saga/sprite_mod.h"
+#include "saga/sprite.h"
namespace Saga {
diff --git a/saga/sstack.cpp b/saga/sstack.cpp
index aa8c04474b..4bba740473 100644
--- a/saga/sstack.cpp
+++ b/saga/sstack.cpp
@@ -23,14 +23,14 @@
// Scripting engine stack component
-#include "saga.h"
+#include "saga/saga.h"
-#include "gfx.h"
-#include "console_mod.h"
-#include "text_mod.h"
+#include "saga/gfx.h"
+#include "saga/console_mod.h"
+#include "saga/text_mod.h"
-#include "script.h"
-#include "sstack.h"
+#include "saga/script.h"
+#include "saga/sstack.h"
namespace Saga {
diff --git a/saga/sstack.h b/saga/sstack.h
index f5b1c3181b..f73888ac01 100644
--- a/saga/sstack.h
+++ b/saga/sstack.h
@@ -26,7 +26,7 @@
#ifndef SAGA_SSTACK_H
#define SAGA_SSTACK_H
-#include "script_mod.h"
+#include "saga/script_mod.h"
namespace Saga {
diff --git a/saga/sthread.cpp b/saga/sthread.cpp
index 001bde2b1b..5837b88e6f 100644
--- a/saga/sthread.cpp
+++ b/saga/sthread.cpp
@@ -22,22 +22,21 @@
*/
// Scripting module thread management component
-#include "saga.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
-#include "yslib.h"
+#include "saga/gfx.h"
+#include "saga/actor.h"
+#include "saga/console_mod.h"
+#include "saga/text_mod.h"
-#include "gfx.h"
-#include "actor.h"
-#include "console_mod.h"
-#include "text_mod.h"
+#include "saga/script.h"
+#include "saga/script_mod.h"
-#include "script.h"
-#include "script_mod.h"
-
-#include "sdata.h"
-#include "sstack.h"
-#include "sthread.h"
-#include "sfuncs.h"
+#include "saga/sdata.h"
+#include "saga/sstack.h"
+#include "saga/sthread.h"
+#include "saga/sfuncs.h"
namespace Saga {
diff --git a/saga/sthread.h b/saga/sthread.h
index 80306503c1..c3ef69b120 100644
--- a/saga/sthread.h
+++ b/saga/sthread.h
@@ -26,7 +26,7 @@
#ifndef SAGA_STHREAD_H__
#define SAGA_STHREAD_H__
-#include "sstack.h"
+#include "saga/sstack.h"
namespace Saga {
diff --git a/saga/text.cpp b/saga/text.cpp
index 7131463d3f..456b8ca0b9 100644
--- a/saga/text.cpp
+++ b/saga/text.cpp
@@ -23,14 +23,14 @@
// Text / dialogue display management module
-#include "saga.h"
-#include "yslib.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
-#include "gfx.h"
-#include "font_mod.h"
+#include "saga/gfx.h"
+#include "saga/font_mod.h"
-#include "text_mod.h"
-#include "text.h"
+#include "saga/text_mod.h"
+#include "saga/text.h"
namespace Saga {
diff --git a/saga/transitions.cpp b/saga/transitions.cpp
index 23b9d07460..93daa18282 100644
--- a/saga/transitions.cpp
+++ b/saga/transitions.cpp
@@ -22,7 +22,7 @@
*/
//Background transition routines
-#include "saga.h"
+#include "saga/saga.h"
namespace Saga {
diff --git a/saga/ys_dl_list.cpp b/saga/ys_dl_list.cpp
index 1df5fdb376..db7adfe4ce 100644
--- a/saga/ys_dl_list.cpp
+++ b/saga/ys_dl_list.cpp
@@ -20,8 +20,8 @@
* $Header$
*
*/
-#include "saga.h"
-#include "yslib.h"
+#include "saga/saga.h"
+#include "saga/yslib.h"
namespace Saga {