[Scummvm-cvs-logs] scummvm master -> c665e99eda471b690161e086fe9433a143d2e3a8

sev- sev at scummvm.org
Tue Nov 26 00:45:31 CET 2013


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:
c665e99eda FULLPIPE: Implement sceneHandler04_checkBigBallClick()


Commit: c665e99eda471b690161e086fe9433a143d2e3a8
    https://github.com/scummvm/scummvm/commit/c665e99eda471b690161e086fe9433a143d2e3a8
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-11-25T15:44:52-08:00

Commit Message:
FULLPIPE: Implement sceneHandler04_checkBigBallClick()

Changed paths:
    engines/fullpipe/constants.h
    engines/fullpipe/scenes/scene04.cpp



diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index edc956d..2e15423 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -25,6 +25,7 @@
 
 namespace Fullpipe {
 
+#define ANI_BIGBALL 4923
 #define ANI_BOOT_1 4231
 #define ANI_BUTTON 598
 #define ANI_CLOCK 588
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp
index d658be5..dab2131 100644
--- a/engines/fullpipe/scenes/scene04.cpp
+++ b/engines/fullpipe/scenes/scene04.cpp
@@ -216,6 +216,16 @@ void sceneHandlers_sub01(ExCommand *ex) {
 	warning("sceneHandlers_sub01()");
 }
 
+void sceneHandler04_checkBigBallClick() {
+	StaticANIObject *ball = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_BIGBALL, -1);
+
+	if (ball)
+		for (uint i = 0; i < ball->_movements.size(); i++)
+			((Movement *)ball->_movements[i])->_counterMax = 73;
+
+	g_vars->scene04_var13 = 1;
+}
+
 void sceneHandler04_clickBottle() {
 	if (!g_vars->scene04_var02)
 		g_vars->scene04_var20 += 5;






More information about the Scummvm-git-logs mailing list