diff options
author | Eugene Sandulenko | 2013-12-11 14:22:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-11 14:22:21 +0200 |
commit | d951c2aa97ff0126eea81c2fd3428470350c5893 (patch) | |
tree | e81b4bedd5a37739733867e7d0de81efd429a474 /engines/fullpipe | |
parent | 8626ef3d3e854bb1f4e79c3d1413fb9ef7003c51 (diff) | |
download | scummvm-rg350-d951c2aa97ff0126eea81c2fd3428470350c5893.tar.gz scummvm-rg350-d951c2aa97ff0126eea81c2fd3428470350c5893.tar.bz2 scummvm-rg350-d951c2aa97ff0126eea81c2fd3428470350c5893.zip |
FULLPIPE: More renames in scene04
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes.cpp | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 24 |
3 files changed, 14 insertions, 14 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index e4998e78a1..85d9423e52 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -83,7 +83,7 @@ Vars::Vars() { scene04_var02 = 0; scene04_var04 = 0; scene04_walkingKozyawka = 0; - scene04_var06 = 0; + scene04_bottleWeight = 0; scene04_var07 = 0; scene04_var08 = 0; scene04_var09 = 0; diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h index e3edebfc5a..abe01cb5e1 100644 --- a/engines/fullpipe/scenes.h +++ b/engines/fullpipe/scenes.h @@ -115,7 +115,7 @@ public: int scene04_var02; int scene04_var04; - int scene04_var06; + int scene04_bottleWeight; int scene04_var07; int scene04_var08; int scene04_var09; diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index 81b9a2000e..b612c0fc13 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -164,7 +164,7 @@ void scene04_initScene(Scene *sc) { g_vars->scene04_soundPlaying = false; g_vars->scene04_var04 = 0; g_vars->scene04_walkingKozyawka = 0; - g_vars->scene04_var06 = 2; + g_vars->scene04_bottleWeight = 2; g_vars->scene04_dynamicPhaseIndex = 0; g_vars->scene04_kozyawkiAni.clear(); @@ -333,7 +333,7 @@ void sceneHandler04_clickPlank() { void sceneHandler04_dropBottle() { g_vars->scene04_var12 = 1; g_vars->scene04_bottleY = 10; - g_vars->scene04_var06 = 0; + g_vars->scene04_bottleWeight = 0; while (g_vars->scene04_kozyawkiAni.size()) { StaticANIObject *koz = g_vars->scene04_kozyawkiAni.front(); @@ -369,7 +369,7 @@ void sceneHandler04_manFromBottle() { for (Common::List<GameObject *>::iterator it = g_vars->scene04_bottleObjList.begin(); it != g_vars->scene04_bottleObjList.end(); ++it) if (*it == g_fullpipe->_aniMan) { g_vars->scene04_bottleObjList.erase(it); - g_vars->scene04_var06 -= 9; + g_vars->scene04_bottleWeight -= 9; break; } @@ -385,7 +385,7 @@ void sceneHandler04_manFromBottle() { void sceneHandler04_manToBottle() { g_vars->scene04_bottleObjList.push_back(g_fullpipe->_aniMan); g_vars->scene04_var20 = 5; - g_vars->scene04_var06 += 9; + g_vars->scene04_bottleWeight += 9; g_fullpipe->_aniMan2 = g_fullpipe->_aniMan; g_vars->scene04_var10 = 1; } @@ -467,16 +467,16 @@ void sceneHandler04_springWobble() { g_vars->scene04_var20 = 0; } - if (g_vars->scene04_var06 > newdelta) + if (g_vars->scene04_bottleWeight > newdelta) g_vars->scene04_var20++; - if (g_vars->scene04_var06 < newdelta) + if (g_vars->scene04_bottleWeight < newdelta) g_vars->scene04_var20--; - if (oldDynIndex <= g_vars->scene04_var06) { - if (newdelta <= g_vars->scene04_var06) + if (oldDynIndex <= g_vars->scene04_bottleWeight) { + if (newdelta <= g_vars->scene04_bottleWeight) goto LABEL_16; - } else if (newdelta > g_vars->scene04_var06) { + } else if (newdelta > g_vars->scene04_bottleWeight) { goto LABEL_16; } @@ -525,7 +525,7 @@ void sceneHandler04_liftBottle() { g_vars->scene04_var12 = 0; g_vars->scene04_var09 = 0; g_vars->scene04_var19 = 1; - g_vars->scene04_var06 = 2; + g_vars->scene04_bottleWeight = 2; g_vars->scene04_var20 = 10; g_vars->scene04_var02 = 0; @@ -585,7 +585,7 @@ void sceneHandler04_sub9(StaticANIObject *ani) { g_vars->scene04_bottleObjList.push_back(ani); g_vars->scene04_kozyawkiAni.push_back(ani); - g_vars->scene04_var06 += 2; + g_vars->scene04_bottleWeight += 2; g_vars->scene04_walkingKozyawka = 0; g_vars->scene04_var24 = 0; @@ -649,7 +649,7 @@ void sceneHandler04_takeKozyawka() { break; } - g_vars->scene04_var06 -= 2; + g_vars->scene04_bottleWeight -= 2; } } } |