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

yuv422 noreply at scummvm.org
Sun Mar 9 01:55:46 UTC 2025


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:
ea50e4bdcb DARKSEED: Fix compile for C++11


Commit: ea50e4bdcb744b9b180649ee661c6e7c4b888989
    https://github.com/scummvm/scummvm/commit/ea50e4bdcb744b9b180649ee661c6e7c4b888989
Author: Eric Fry (yuv422 at reversedgames.com)
Date: 2025-03-09T12:54:50+11:00

Commit Message:
DARKSEED: Fix compile for C++11

Changed paths:
    engines/darkseed/room.cpp


diff --git a/engines/darkseed/room.cpp b/engines/darkseed/room.cpp
index b0988e2e951..f0d581aa5f1 100644
--- a/engines/darkseed/room.cpp
+++ b/engines/darkseed/room.cpp
@@ -287,9 +287,32 @@ bool Room::load() {
 void Room::dosDemoFixupRoomObjects() {
 	if (_roomNumber == 45) {
 		// The dos demo is missing the object entries for the life leech victims and the force field
-		_roomObj[8] = {0, 120, 245, 100, 25, 25, 0, 0};
-		_roomObj[9] = {0, 120, 342, 100, 36, 27, 0, 0};
-		_roomObj[10] = {0, 119, 298, 160, 63, 31, 0, 0};
+		_roomObj[8].type = 0;
+		_roomObj[8].objNum = 120;
+		_roomObj[8].xOffset = 245;
+		_roomObj[8].yOffset = 100;
+		_roomObj[8].width = 25;
+		_roomObj[8].height = 25;
+		_roomObj[8].depth = 0;
+		_roomObj[8].spriteNum = 0;
+
+		_roomObj[9].type = 0;
+		_roomObj[9].objNum = 120;
+		_roomObj[9].xOffset = 342;
+		_roomObj[9].yOffset = 100;
+		_roomObj[9].width = 36;
+		_roomObj[9].height = 27;
+		_roomObj[9].depth = 0;
+		_roomObj[9].spriteNum = 0;
+
+		_roomObj[10].type = 0;
+		_roomObj[10].objNum = 119;
+		_roomObj[10].xOffset = 298;
+		_roomObj[10].yOffset = 160;
+		_roomObj[10].width = 63;
+		_roomObj[10].height = 31;
+		_roomObj[10].depth = 0;
+		_roomObj[10].spriteNum = 0;
 	}
 }
 




More information about the Scummvm-git-logs mailing list