aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/bg_effects.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-07-20 10:39:24 +0200
committerSimei Yin2017-07-20 19:10:01 +0200
commitcaa51ef49af5f6e92169a2f8095c08325823cb44 (patch)
tree9e2b060bf7d325d84a9b212416b36916ceaad277 /engines/sludge/bg_effects.cpp
parent9752d7bb43f41106147e7a39e0381fae51443c94 (diff)
downloadscummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.gz
scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.bz2
scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.zip
SLUDGE: Change all structure names to Uppercase
Diffstat (limited to 'engines/sludge/bg_effects.cpp')
-rw-r--r--engines/sludge/bg_effects.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp
index 920be44e1c..d0c8068a27 100644
--- a/engines/sludge/bg_effects.cpp
+++ b/engines/sludge/bg_effects.cpp
@@ -150,7 +150,7 @@ void blur_loadSettings(Common::SeekableReadStream *stream) {
}
}
-bool blur_createSettings(int numParams, variableStack *&stack) {
+bool blur_createSettings(int numParams, VariableStack *&stack) {
bool createNullThing = true;
Common::String error = "";
@@ -160,7 +160,7 @@ bool blur_createSettings(int numParams, variableStack *&stack) {
int height = numParams - 2;
int width = 0;
- variableStack *justToCheckSizes = stack;
+ VariableStack *justToCheckSizes = stack;
for (int a = 0; a < height; a++) {
if (justToCheckSizes->thisVar.varType != SVT_STACK) {
error = "Third and subsequent parameters in setBackgroundEffect should be arrays";
@@ -191,7 +191,7 @@ bool blur_createSettings(int numParams, variableStack *&stack) {
if (blur_allocateMemoryForEffect()) {
for (int y = height - 1; y >= 0; y--) {
- variableStack *eachNumber = stack->thisVar.varData.theStack->first;
+ VariableStack *eachNumber = stack->thisVar.varData.theStack->first;
if (error.empty()) {
for (int x = 0; x < width; x++) {
int arraySlot = x + (y * width);