[Scummvm-git-logs] scummvm master -> 41ca5d24956efa3fd151954ba6f89572272df03b

sev- sev at scummvm.org
Sun Mar 11 19:53:46 CET 2018


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
16c7aef1d4 BLADERUNNER: Added Crazylegs actor
41ca5d2495 BLADERUNNER: Finished Steele actor


Commit: 16c7aef1d47dce7e2c3b18c28937c131dbc1a2b6
    https://github.com/scummvm/scummvm/commit/16c7aef1d47dce7e2c3b18c28937c131dbc1a2b6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-03-11T19:28:31+01:00

Commit Message:
BLADERUNNER: Added Crazylegs actor

Changed paths:
  A engines/bladerunner/script/ai/crazylegs.cpp
    engines/bladerunner/module.mk
    engines/bladerunner/script/ai_script.cpp
    engines/bladerunner/script/ai_script.h


diff --git a/engines/bladerunner/module.mk b/engines/bladerunner/module.mk
index 59d6764..9305922 100644
--- a/engines/bladerunner/module.mk
+++ b/engines/bladerunner/module.mk
@@ -52,6 +52,7 @@ MODULE_OBJS = \
 	script/ai_script.o \
 	script/ai/baker.o \
 	script/ai/bryant.o \
+	script/ai/crazylegs.o \
 	script/ai/desk_clerk.o \
 	script/ai/fish_dealer.o \
 	script/ai/gaff.o \
diff --git a/engines/bladerunner/script/ai/crazylegs.cpp b/engines/bladerunner/script/ai/crazylegs.cpp
new file mode 100644
index 0000000..f7141b5
--- /dev/null
+++ b/engines/bladerunner/script/ai/crazylegs.cpp
@@ -0,0 +1,480 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "bladerunner/script/ai_script.h"
+
+namespace BladeRunner {
+
+AIScriptCrazylegs::AIScriptCrazylegs(BladeRunnerEngine *vm) : AIScriptBase(vm) {
+	_flag = false;
+}
+
+void AIScriptCrazylegs::Initialize() {
+	_animationFrame = 0;
+	_animationState = 0;
+	_animationStateNext = 0;
+	_animationNext = 0;
+
+	_flag = false;
+
+	World_Waypoint_Set(360, 41, -103.0f, 40.63f, -53.0f);
+	Actor_Put_In_Set(kActorCrazylegs, kSetHF05);
+	Actor_Set_At_XYZ(kActorCrazylegs, -33.0f, 40.63f, 16.0f, 845);
+}
+
+bool AIScriptCrazylegs::Update() {
+	if (Actor_Query_Goal_Number(kActorCrazylegs) == 10)
+		Actor_Set_Goal_Number(kActorCrazylegs, 11);
+
+	return false;
+}
+
+void AIScriptCrazylegs::TimerExpired(int timer) {
+	//return false;
+}
+
+void AIScriptCrazylegs::CompletedMovementTrack() {
+	//return false;
+}
+
+void AIScriptCrazylegs::ReceivedClue(int clueId, int fromActorId) {
+	//return false;
+}
+
+void AIScriptCrazylegs::ClickedByPlayer() {
+	//return false;
+}
+
+void AIScriptCrazylegs::EnteredScene(int sceneId) {
+	// return false;
+}
+
+void AIScriptCrazylegs::OtherAgentEnteredThisScene(int otherActorId) {
+	// return false;
+}
+
+void AIScriptCrazylegs::OtherAgentExitedThisScene(int otherActorId) {
+	// return false;
+}
+
+void AIScriptCrazylegs::OtherAgentEnteredCombatMode(int otherActorId, int combatMode) {
+	if (Actor_Query_Goal_Number(kActorCrazylegs) != 2 && !otherActorId) {
+		if (combatMode && Global_Variable_Query(kVariableChapter) < 5) {
+			Actor_Face_Actor(kActorCrazylegs, kActorMcCoy, 1);
+			Actor_Face_Actor(kActorMcCoy, kActorCrazylegs, 1);
+			Actor_Says(kActorCrazylegs, 430, 3);
+			Actor_Says_With_Pause(kActorCrazylegs, 440, 0.0, 3);
+			Actor_Says(kActorMcCoy, 1870, -1);
+			Actor_Says(kActorCrazylegs, 450, 3);
+			Actor_Set_Goal_Number(kActorCrazylegs, 210);
+		} else if (Actor_Query_Goal_Number(kActorCrazylegs) == 210) {
+			Actor_Face_Actor(kActorCrazylegs, kActorMcCoy, 1);
+			Actor_Says(kActorCrazylegs, 460, 3);
+			Actor_Says(kActorCrazylegs, 470, 3);
+			Actor_Set_Goal_Number(kActorCrazylegs, 2);
+		}
+	}
+}
+
+void AIScriptCrazylegs::ShotAtAndMissed() {
+	if (Actor_Query_Goal_Number(kActorCrazylegs) == 2)
+		return;
+
+	Actor_Set_Goal_Number(kActorCrazylegs, 2);
+}
+
+bool AIScriptCrazylegs::ShotAtAndHit() {
+	Actor_Set_Goal_Number(kActorCrazylegs, 1);
+	Actor_Says(kActorMcCoy, 1875, 4);
+	return false;
+}
+
+void AIScriptCrazylegs::Retired(int byActorId) {
+	// return false;
+}
+
+int AIScriptCrazylegs::GetFriendlinessModifierIfGetsClue(int otherActorId, int clueId) {
+	return 0;
+}
+
+bool AIScriptCrazylegs::GoalChanged(int currentGoalNumber, int newGoalNumber) {
+	if (newGoalNumber > 2)
+		return false;
+
+	if (newGoalNumber) {
+		if (newGoalNumber != 1) {
+			AI_Movement_Track_Flush(kActorCrazylegs);
+			AI_Movement_Track_Append(kActorCrazylegs, 360, 0);
+			AI_Movement_Track_Append(kActorCrazylegs, 40, 0);
+			AI_Movement_Track_Repeat(kActorCrazylegs);
+			return true;
+		}
+		AI_Movement_Track_Flush(kActorCrazylegs);
+		Actor_Set_Targetable(kActorCrazylegs, 0);
+	}
+
+	return true;
+}
+
+bool AIScriptCrazylegs::UpdateAnimation(int *animation, int *frame) {
+	switch (_animationState) {
+	case 0:
+		*animation = 454;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(454))
+			_animationFrame = 0;
+		break;
+
+	case 1:
+		*animation = 455;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(455))
+			_animationFrame = 0;
+		break;
+
+	case 2:
+		*animation = 456;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(456))
+			_animationFrame = 0;
+		break;
+
+	case 3:
+		*animation = 457;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(457)) {
+			*animation = 454;
+			_animationFrame = 0;
+			_animationState = 0;
+		}
+		break;
+
+	case 4:
+		*animation = 452;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(452))
+			_animationFrame = 0;
+		break;
+
+	case 5:
+		*animation = 453;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(453))
+			_animationFrame = 0;
+		break;
+
+	case 6:
+		if (!_animationFrame && _flag) {
+			*animation = 454;
+			_animationState = 0;
+			_flag = 0;
+		} else {
+			*animation = 458;
+			_animationFrame++;
+			if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(458))
+				_animationFrame = 0;
+		}
+		break;
+
+	case 7:
+		*animation = 459;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(459)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 8:
+		*animation = 460;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(460)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 9:
+		*animation = 461;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(461)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 10:
+		*animation = 462;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(462)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 11:
+		*animation = 463;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(463)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 12:
+		*animation = 464;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(464)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 13:
+		*animation = 465;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(465)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 14:
+		*animation = 466;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(466)) {
+			_animationFrame = 0;
+			_animationState = 6;
+			*animation = 458;
+		}
+		break;
+
+	case 15:
+		if (!_animationFrame && _flag) {
+			Actor_Change_Animation_Mode(kActorCrazylegs, 43);
+			_animationState = 2;
+			_flag = 0;
+			*animation = 456;
+		} else {
+			*animation = 456;
+			_animationFrame++;
+			if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(456))
+				_animationFrame = 0;
+		}
+		break;
+
+	case 16:
+		*animation = 467;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(467)) {
+			_animationFrame = 0;
+			_animationState = 1;
+			*animation = 455;
+		}
+		break;
+
+	case 17:
+		*animation = 468;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(468)) {
+			*animation = 454;
+			_animationFrame = 0;
+			_animationState = 0;
+		}
+		break;
+
+	case 18:
+		*animation = 469;
+		_animationFrame--;
+		if (_animationFrame <= Slice_Animation_Query_Number_Of_Frames(469)) { // matches original
+			_animationFrame = 0;
+			_animationState = 2;
+			*animation = 454;
+		}
+		break;
+
+	case 19:
+		*animation = 469;
+		_animationFrame++;
+		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(469)) {
+			*animation = 454;
+			_animationFrame = 0;
+			_animationState = 0;
+			if (Actor_Query_Goal_Number(kActorCrazylegs) == 10) {
+				Actor_Set_Goal_Number(kActorCrazylegs, 11);
+			}
+		}
+		break;
+
+	default:
+		break;
+	}
+	*frame = _animationFrame;
+
+	return true;
+}
+
+bool AIScriptCrazylegs::ChangeAnimationMode(int mode) {
+	switch (mode) {
+	case 0:
+		switch (_animationState) {
+		case 0:
+		case 3:
+			return true;
+		case 1:
+			_animationState = 17;
+			_animationFrame = 0;
+			break;
+		case 2:
+			_animationState = 19;
+			_animationFrame = 0;
+			break;
+		case 4:
+		case 5:
+			_animationState = 0;
+			_animationFrame = 0;
+			break;
+		case 6:
+		case 7:
+		case 8:
+		case 9:
+		case 10:
+		case 11:
+		case 12:
+		case 13:
+		case 14:
+		case 15:
+			_flag = true;
+			break;
+		}
+		break;
+	case 1:
+		_animationState = 4;
+		_animationFrame = 0;
+		break;
+	case 2:
+	case 4:
+	case 5:
+	case 6:
+	case 7:
+	case 8:
+	case 9:
+	case 10:
+	case 11:
+	case 20:
+	case 21:
+	case 22:
+		return true;
+	case 3:
+		if (_animationState == 2) {
+			_animationState = 15;
+		} else {
+			_animationState = 6;
+		}
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 12:
+		_animationState = 7;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 13:
+		_animationState = 8;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 14:
+		_animationState = 9;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 15:
+		_animationState = 10;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 16:
+		_animationState = 11;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 17:
+		_animationState = 12;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 18:
+		_animationState = 13;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 19:
+		_animationState = 14;
+		_animationFrame = 0;
+		_flag = false;
+		break;
+	case 23:
+		_animationState = 3;
+		_animationFrame = 0;
+		break;
+	default:
+		if (mode == 43 && _animationState != 2) {
+			_animationState = 18;
+			_animationFrame = Slice_Animation_Query_Number_Of_Frames(469) - 1;
+		}
+		break;
+	}
+
+	return true;
+}
+
+void AIScriptCrazylegs::QueryAnimationState(int *animationState, int *animationFrame, int *animationStateNext, int *animationNext) {
+	*animationState     = _animationState;
+	*animationFrame     = _animationFrame;
+	*animationStateNext = _animationStateNext;
+	*animationNext      = _animationNext;
+}
+
+void AIScriptCrazylegs::SetAnimationState(int animationState, int animationFrame, int animationStateNext, int animationNext) {
+	_animationState     = animationState;
+	_animationFrame     = animationFrame;
+	_animationStateNext = animationStateNext;
+	_animationNext      = animationNext;
+}
+
+bool AIScriptCrazylegs::ReachedMovementTrackWaypoint(int waypointId) {
+	return true;
+}
+
+void AIScriptCrazylegs::FledCombat() {
+	// return false;
+}
+
+} // End of namespace BladeRunner
diff --git a/engines/bladerunner/script/ai_script.cpp b/engines/bladerunner/script/ai_script.cpp
index b364bce..e2e9e2a 100644
--- a/engines/bladerunner/script/ai_script.cpp
+++ b/engines/bladerunner/script/ai_script.cpp
@@ -43,6 +43,7 @@ AIScripts::AIScripts(BladeRunnerEngine *vm, int actorCount) {
 	_AIScripts[kActorSteele] = new AIScriptSteele(_vm);                   //  1
 	_AIScripts[kActorGordo] = new AIScriptGordo(_vm);                     //  2
 	_AIScripts[kActorGuzza] = new AIScriptGuzza(_vm);                     //  4
+	_AIScripts[kActorCrazylegs] = new AIScriptCrazylegs(_vm);             //  9
 	_AIScripts[kActorGrigorian] = new AIScriptGrigorian(_vm);             // 11
 	_AIScripts[kActorTransient] = new AIScriptTransient(_vm);             // 12
 	_AIScripts[kActorLance] = new AIScriptLance(_vm);                     // 13
diff --git a/engines/bladerunner/script/ai_script.h b/engines/bladerunner/script/ai_script.h
index 6329c17..b15fc90 100644
--- a/engines/bladerunner/script/ai_script.h
+++ b/engines/bladerunner/script/ai_script.h
@@ -151,6 +151,10 @@ DECLARE_SCRIPT(Guzza)
 	bool _flag;
 END_SCRIPT
 
+DECLARE_SCRIPT(Crazylegs)
+	bool _flag;
+END_SCRIPT
+
 DECLARE_SCRIPT(Grigorian)
 	int var_45CA10;
 	int var_45CA14;


Commit: 41ca5d24956efa3fd151954ba6f89572272df03b
    https://github.com/scummvm/scummvm/commit/41ca5d24956efa3fd151954ba6f89572272df03b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-03-11T19:52:33+01:00

Commit Message:
BLADERUNNER: Finished Steele actor

Changed paths:
    engines/bladerunner/script/ai/steele.cpp


diff --git a/engines/bladerunner/script/ai/steele.cpp b/engines/bladerunner/script/ai/steele.cpp
index 5576e78..e51a14a 100644
--- a/engines/bladerunner/script/ai/steele.cpp
+++ b/engines/bladerunner/script/ai/steele.cpp
@@ -1764,7 +1764,276 @@ bool AIScriptSteele::UpdateAnimation(int *animation, int *frame) {
 }
 
 bool AIScriptSteele::ChangeAnimationMode(int mode) {
-	warning("Steele: ChangeAnimationMode: TODO");
+	switch (mode) {
+	case 0:
+		if (Game_Flag_Query(603)) {
+			_var1 = 3;
+		} else {
+			_var1 = 0;
+		}
+		switch (_animationState) {
+		case 0:
+		case 24:
+		case 34:
+		case 35:
+		case 41:
+			return true;
+		case 4:
+			_animationState = 23;
+			_animationFrame = 0;
+			break;
+		case 14:
+		case 15:
+		case 16:
+		case 17:
+		case 18:
+		case 19:
+			_flag = 1;
+			break;
+		case 20:
+		case 21:
+		case 22:
+		case 37:
+			_flag = 1;
+			_animationState = 23;
+			_animationFrame = 0;
+			break;
+		case 23:
+		case 26:
+			_animationState = 24;
+			_animationFrame = 0;
+			break;
+		default:
+			_animationFrame = 0;
+			if (Game_Flag_Query(482) == 1) {
+				_animationState = 41;
+				_var1 = 1;
+			} else {
+				_animationState = 0;
+			}
+			break;
+		}
+		break;
+	case 1:
+		if ((_animationState != 4 && _animationState != 23 && _animationState != 25 && _animationState != 26)
+				|| _animationState > 26) {
+			if (Actor_Query_Goal_Number(kActorSteele) != 100 && Actor_Query_Goal_Number(kActorSteele) != 121) {
+				_animationState = 2;
+				_animationFrame = 0;
+			} else {
+				_animationState = 4;
+				_animationFrame = 0;
+			}
+		} else {
+			_animationState = 4;
+			_animationFrame = 0;
+		}
+		break;
+	case 2:
+		if (Actor_Query_Goal_Number(kActorSteele) != 100
+				&& Actor_Query_Goal_Number(kActorSteele) != 121
+				&& _animationState != 23) {
+			_animationState = 3;
+			_animationFrame = 0;
+		} else {
+			_animationState = 5;
+			_animationFrame = 0;
+		}
+		break;
+	case 3:
+		if (_animationState != 35) {
+			if (Game_Flag_Query(603)) {
+				_animationState = 37;
+				_animationFrame = 0;
+				_flag = 0;
+			} else {
+				if (_animationState) {
+					_animationState = 14;
+					_animationFrame = 0;
+				} else {
+					_animationState = 1;
+					_animationFrame = 0;
+					_animationStateNext = 14;
+					_animationNext = 77;
+				}
+				_flag = 0;
+			}
+		}
+		break;
+	case 4:
+		if (_animationState) {
+			if (_animationState > 25 || (_animationState != 23 && _animationState != 25)) {
+				_animationState = 23;
+				_animationFrame = 0;
+			}
+		} else {
+			_animationState = 25;
+			_animationFrame = 0;
+		}
+		break;
+	case 6:
+		if (Game_Flag_Query(603)) {
+			_animationState = 39;
+		} else {
+			_animationState = 26;
+		}
+		_animationFrame = 0;
+		break;
+	case 7:
+		_animationState = 4;
+		_animationFrame = 0;
+		break;
+	case 8:
+		_animationState = 5;
+		_animationFrame = 0;
+		break;
+	case 12:
+		if (_animationState) {
+			_animationState = 15;
+			_animationFrame = 0;
+		} else {
+			_animationState = 1;
+			_animationFrame = 0;
+			_animationStateNext = 15;
+			_animationNext = 78;
+		}
+		_flag = 0;
+		break;
+	case 13:
+		if (_animationState) {
+			_animationState = 16;
+			_animationFrame = 0;
+		} else {
+			_animationState = 1;
+			_animationFrame = 0;
+			_animationStateNext = 16;
+			_animationNext = 79;
+		}
+		_flag = 0;
+		break;
+	case 14:
+		if (_animationState) {
+			_animationState = 17;
+			_animationFrame = 0;
+		} else {
+			_animationState = 1;
+			_animationFrame = 0;
+			_animationStateNext = 17;
+			_animationNext = 80;
+		}
+		_flag = 0;
+		break;
+	case 15:
+		if (_animationState) {
+			_animationState = 18;
+			_animationFrame = 0;
+		} else {
+			_animationState = 1;
+			_animationFrame = 0;
+			_animationStateNext = 18;
+			_animationNext = 81;
+		}
+		_flag = 0;
+		break;
+	case 16:
+		if (_animationState) {
+			_animationState = 19;
+			_animationFrame = 0;
+		} else {
+			_animationState = 1;
+			_animationFrame = 0;
+			_animationStateNext = 19;
+			_animationNext = 81;
+		}
+		_flag = 0;
+		break;
+	case 21:
+		if (_animationState > 28) {
+			if (Random_Query(0, 1)) {
+				_animationState = 31;
+			} else {
+				_animationState = 32;
+			}
+		} else if (Random_Query(0, 1)) {
+			_animationState = 29;
+		} else {
+			_animationState = 30;
+		}
+		_animationFrame = 0;
+		break;
+	case 22:
+		if (Random_Query(0, 1)) {
+			_animationState = 29;
+		} else {
+			_animationState = 30;
+		}
+		_animationFrame = 0;
+		break;
+	case 43:
+		Game_Flag_Set(482);
+		_animationState = 41;
+		_animationFrame = 0;
+		_var2 = 0;
+		_var1 = 1;
+		break;
+	case 44:
+		_animationState = 6;
+		_animationFrame = 0;
+		break;
+	case 45:
+		_animationState = 7;
+		_animationFrame = 0;
+		break;
+	case 46:
+		_animationState = 8;
+		_animationFrame = 0;
+		break;
+	case 47:
+		_animationState = 9;
+		_animationFrame = 0;
+		break;
+	case 48:
+		if (_animationState != 33 && _animationState != 34) {
+			if (_animationState > 26 || (_animationState != 23 && _animationState != 25 && _animationState != 26)) {
+				_animationState = 34;
+				_animationFrame = 0;
+			} else {
+				_animationState = 33;
+				_animationFrame = 0;
+			}
+		}
+		break;
+	case 49:
+		if (_animationState != 33) {
+			_animationState = 33;
+			_animationFrame = 0;
+		}
+		break;
+	case 51:
+		_animationState = 35;
+		_animationFrame = 0;
+		break;
+	case 58:
+		_animationState = 20;
+		_animationFrame = 0;
+		_flag = 0;
+		break;
+	case 59:
+		_animationState = 21;
+		_animationFrame = 0;
+		_flag = 0;
+		break;
+	case 60:
+		_animationState = 22;
+		_animationFrame = 0;
+		_flag = 0;
+		break;
+	case 86:
+		_animationState = 10;
+		_animationFrame = 0;
+		break;
+	}
+
 	return true;
 }
 





More information about the Scummvm-git-logs mailing list