aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge
diff options
context:
space:
mode:
authorD G Turner2018-07-29 09:40:32 +0100
committerD G Turner2018-07-29 09:40:32 +0100
commitd1d521c61cd9860b416f0fd456865a7b82270ba4 (patch)
tree4c9f38026fa73a70adb988e88ef54e1bbad5dc91 /engines/sludge
parent9ed69d42ba4b3d34f6eb1f9664fc9a1492723fe4 (diff)
downloadscummvm-rg350-d1d521c61cd9860b416f0fd456865a7b82270ba4.tar.gz
scummvm-rg350-d1d521c61cd9860b416f0fd456865a7b82270ba4.tar.bz2
scummvm-rg350-d1d521c61cd9860b416f0fd456865a7b82270ba4.zip
SLUDGE: Fix Unused Function Compiler Warnings.
Diffstat (limited to 'engines/sludge')
-rw-r--r--engines/sludge/bg_effects.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp
index 3f40fc81e1..9f7c2bd6e6 100644
--- a/engines/sludge/bg_effects.cpp
+++ b/engines/sludge/bg_effects.cpp
@@ -244,6 +244,10 @@ bool blur_createSettings(int numParams, VariableStack *&stack) {
return !createNullThing;
}
+// FIXME - Disabled until blurScreen() is internally implemented where these are used...
+// although these may be replaced by common/util.h, CLIP() function to replace clampi
+// and various methods of Graphics::Surface.
+#if 0
static inline int clampi(int i, int min, int max) {
return (i >= max) ? max : ((i <= min) ? min : i);
}
@@ -264,6 +268,7 @@ static inline void blur_createSourceLine(byte *createLine, byte *fromLine, int o
createLine[miniX * 4 + 2] = fromLine[width * 4 - 2];
}
}
+#endif
bool blurScreen() {
#if 0