[Scummvm-git-logs] scummvm master -> f4ea45482b05ff372e6e4c28617341eb34be1a37

Strangerke noreply at scummvm.org
Wed Dec 25 23:17:28 UTC 2024


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:
f4ea45482b M4: RIDDLE: Room 710: Implement daemon


Commit: f4ea45482b05ff372e6e4c28617341eb34be1a37
    https://github.com/scummvm/scummvm/commit/f4ea45482b05ff372e6e4c28617341eb34be1a37
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-12-26T00:17:20+01:00

Commit Message:
M4: RIDDLE: Room 710: Implement daemon

Changed paths:
    engines/m4/riddle/rooms/section7/room710.cpp


diff --git a/engines/m4/riddle/rooms/section7/room710.cpp b/engines/m4/riddle/rooms/section7/room710.cpp
index c6aeb26cf2b..1c31d463a62 100644
--- a/engines/m4/riddle/rooms/section7/room710.cpp
+++ b/engines/m4/riddle/rooms/section7/room710.cpp
@@ -139,7 +139,41 @@ void Room710::parser() {
 }
 
 void Room710::daemon() {
-	// TODO Not Implemented yet
+	switch (_G(kernel).trigger) {
+	case 30:
+		digi_play("710_s02", 2, 200, -1, -1);
+		sendWSMessage_10000(1, _ripContraptionMach, _710Rpld2Series, 82, 63, 31, _710Rpld2Series, 63, 63, 0);
+
+		break;
+
+	case 31:
+		digi_play("710_s02", 2, 200, -1, -1);
+		sendWSMessage_10000(1, _ripContraptionMach, _710Rpld2Series, 62, 43, 32, _710Rpld2Series, 43, 43, 0);
+
+		break;
+
+	case 32:
+		digi_play("710_s02", 2, 200, -1, -1);
+		sendWSMessage_10000(1, _ripContraptionMach, _710Rpld2Series, 42, 28, 33, _710Rpld2Series, 28, 28, 0);
+
+		break;
+
+	case 33:
+		sendWSMessage_10000(1, _ripContraptionMach, _710Rpld2Series, 27, 1, 34, _710Rpld2Series, 1, 1, 0);
+		break;
+
+	case 34:
+		terminateMachine(_ripContraptionMach);
+		ws_unhide_walker(_G(my_walker));
+		player_set_commands_allowed(true);
+		_ripContraptionMach = TriggerMachineByHash(1, 1, 0, 0, 0, 0, 0, -53, 100, 1024, false, triggerMachineByHashCallback, "rip contraption machine");
+
+		break;
+
+	default:
+		break;
+	}
+
 }
 
 } // namespace Rooms




More information about the Scummvm-git-logs mailing list