[Scummvm-git-logs] scummvm master -> 58d302b6411620e73e01da6cdccdb5a036b43890
sev-
sev at scummvm.org
Wed Sep 14 21:45:25 CEST 2016
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:
58d302b641 FULLPIPE: Added debug mode to scene29
Commit: 58d302b6411620e73e01da6cdccdb5a036b43890
https://github.com/scummvm/scummvm/commit/58d302b6411620e73e01da6cdccdb5a036b43890
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-14T21:44:47+02:00
Commit Message:
FULLPIPE: Added debug mode to scene29
Changed paths:
engines/fullpipe/scenes/scene29.cpp
diff --git a/engines/fullpipe/scenes/scene29.cpp b/engines/fullpipe/scenes/scene29.cpp
index 2e95deb..862b691 100644
--- a/engines/fullpipe/scenes/scene29.cpp
+++ b/engines/fullpipe/scenes/scene29.cpp
@@ -34,6 +34,8 @@
#include "fullpipe/behavior.h"
+#define DEBUG 0
+
namespace Fullpipe {
struct WalkingBearder {
@@ -202,6 +204,10 @@ void sceneHandler29_manBend() {
}
bool sceneHandler29_checkRedBallHit(StaticANIObject *ani, int maxx) {
+#if DEBUG
+ return false;
+#endif
+
if (!g_vars->scene29_arcadeIsOn || g_vars->scene29_manIsHit)
return false;
@@ -222,6 +228,10 @@ bool sceneHandler29_checkRedBallHit(StaticANIObject *ani, int maxx) {
}
bool sceneHandler29_checkGreenBallHit(StaticANIObject *ani, int maxx) {
+#if DEBUG
+ return false;
+#endif
+
if (!g_vars->scene29_arcadeIsOn || g_vars->scene29_manIsHit)
return false;
More information about the Scummvm-git-logs
mailing list