[Scummvm-git-logs] scummvm master -> d1d521c61cd9860b416f0fd456865a7b82270ba4
digitall
dgturner at iee.org
Sun Jul 29 10:32:24 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d1d521c61c SLUDGE: Fix Unused Function Compiler Warnings.
Commit: d1d521c61cd9860b416f0fd456865a7b82270ba4
https://github.com/scummvm/scummvm/commit/d1d521c61cd9860b416f0fd456865a7b82270ba4
Author: D G Turner (digitall at scummvm.org)
Date: 2018-07-29T09:40:32+01:00
Commit Message:
SLUDGE: Fix Unused Function Compiler Warnings.
Changed paths:
engines/sludge/bg_effects.cpp
diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp
index 3f40fc8..9f7c2bd 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
More information about the Scummvm-git-logs
mailing list