aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-08-12 00:53:35 +0000
committerTravis Howell2009-08-12 00:53:35 +0000
commitf186d9c86094e5be5c0e168e72487b3fb8d2deac (patch)
tree761d2f0ac91a7b76e3a00d2b888ffdd3e20a60ee /engines/agos
parentc95d36c186fb1d286a15c1c9ccc5fd581ef948b6 (diff)
downloadscummvm-rg350-f186d9c86094e5be5c0e168e72487b3fb8d2deac.tar.gz
scummvm-rg350-f186d9c86094e5be5c0e168e72487b3fb8d2deac.tar.bz2
scummvm-rg350-f186d9c86094e5be5c0e168e72487b3fb8d2deac.zip
Fix building with specific games disabled in MSVC.
svn-id: r43294
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/animation.cpp4
-rw-r--r--engines/agos/animation.h4
-rw-r--r--engines/agos/feeble.cpp6
-rw-r--r--engines/agos/oracle.cpp4
-rw-r--r--engines/agos/pn.cpp2
-rw-r--r--engines/agos/script_ff.cpp4
-rw-r--r--engines/agos/script_pn.cpp2
-rw-r--r--engines/agos/script_pp.cpp4
-rw-r--r--engines/agos/vga_ff.cpp4
-rw-r--r--engines/agos/vga_pn.cpp2
10 files changed, 33 insertions, 3 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index 2e7eb9cb5e..dd52f42abc 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -25,6 +25,8 @@
+#ifdef ENABLE_AGOS2
+
#include "common/endian.h"
#include "common/events.h"
#include "common/file.h"
@@ -542,3 +544,5 @@ MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name) {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/animation.h b/engines/agos/animation.h
index 3ce6aa9ab2..f0a975f1d4 100644
--- a/engines/agos/animation.h
+++ b/engines/agos/animation.h
@@ -23,6 +23,8 @@
*
*/
+#ifdef ENABLE_AGOS2
+
#ifndef AGOS_ANIMATION_H
#define AGOS_ANIMATION_H
@@ -112,3 +114,5 @@ MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name);
} // End of namespace AGOS
#endif
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/feeble.cpp b/engines/agos/feeble.cpp
index 89b6f6da27..7dbeacd62f 100644
--- a/engines/agos/feeble.cpp
+++ b/engines/agos/feeble.cpp
@@ -23,6 +23,10 @@
*
*/
+
+
+#ifdef ENABLE_AGOS2
+
#include "common/config-manager.h"
#include "agos/intern.h"
@@ -383,3 +387,5 @@ void AGOSEngine_FeebleDemo::waitForSpace() {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/oracle.cpp b/engines/agos/oracle.cpp
index e7192ea2ec..b0ecc679c0 100644
--- a/engines/agos/oracle.cpp
+++ b/engines/agos/oracle.cpp
@@ -25,6 +25,8 @@
+#ifdef ENABLE_AGOS2
+
#include "common/savefile.h"
#include "common/system.h"
@@ -520,3 +522,5 @@ void AGOSEngine_Feeble::windowBackSpace(WindowBlock *window) {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/pn.cpp b/engines/agos/pn.cpp
index e8135f56cd..6a8dba47f1 100644
--- a/engines/agos/pn.cpp
+++ b/engines/agos/pn.cpp
@@ -298,4 +298,4 @@ void AGOSEngine_PN::setqptrs() {
} // End of namespace AGOS
-#endif
+#endif // ENABLE_PN
diff --git a/engines/agos/script_ff.cpp b/engines/agos/script_ff.cpp
index f20086b268..c1cc8ca9a0 100644
--- a/engines/agos/script_ff.cpp
+++ b/engines/agos/script_ff.cpp
@@ -25,6 +25,8 @@
+#ifdef ENABLE_AGOS2
+
#include "common/system.h"
#include "agos/animation.h"
@@ -675,3 +677,5 @@ void AGOSEngine_Feeble::off_b3NotZero() {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index 2885781a9f..9dba3d305d 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -1120,4 +1120,4 @@ void AGOSEngine_PN::popstack(int type) {
} // End of namespace AGOS
-#endif
+#endif // ENABLE_PN
diff --git a/engines/agos/script_pp.cpp b/engines/agos/script_pp.cpp
index 7c83165274..3fbfd43afd 100644
--- a/engines/agos/script_pp.cpp
+++ b/engines/agos/script_pp.cpp
@@ -25,6 +25,8 @@
+#ifdef ENABLE_AGOS2
+
#include "common/system.h"
#include "agos/agos.h"
@@ -457,3 +459,5 @@ void AGOSEngine_PuzzlePack::opp_restartClock() {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/vga_ff.cpp b/engines/agos/vga_ff.cpp
index 694aa3ba28..a92be159e7 100644
--- a/engines/agos/vga_ff.cpp
+++ b/engines/agos/vga_ff.cpp
@@ -25,6 +25,8 @@
+#ifdef ENABLE_AGOS2
+
#include "agos/agos.h"
#include "agos/intern.h"
@@ -486,3 +488,5 @@ void AGOSEngine_PuzzlePack::startAnOverlayAnim() {
}
} // End of namespace AGOS
+
+#endif // ENABLE_AGOS2
diff --git a/engines/agos/vga_pn.cpp b/engines/agos/vga_pn.cpp
index 54326e277c..27152ef2dd 100644
--- a/engines/agos/vga_pn.cpp
+++ b/engines/agos/vga_pn.cpp
@@ -220,4 +220,4 @@ void AGOSEngine_PN::clearVideoWindow(uint16 num, uint16 color) {
} // End of namespace AGOS
-#endif
+#endif // ENABLE_PN