[Scummvm-git-logs] scummvm branch-2-7 -> 99d86de66f1bedcb0c93870fe6b6f34d4179d124

sev- noreply at scummvm.org
Mon Feb 13 19:39:45 UTC 2023


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:
c3fc23a0e0 SAGA2: Increased number of tasks and stacks 10x
99d86de66f SAGA2: Hid noisy warning


Commit: c3fc23a0e0853792642ae7aa228f403833169e3b
    https://github.com/scummvm/scummvm/commit/c3fc23a0e0853792642ae7aa228f403833169e3b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-13T20:39:25+01:00

Commit Message:
SAGA2: Increased number of tasks and stacks 10x

Changed paths:
    engines/saga2/task.cpp


diff --git a/engines/saga2/task.cpp b/engines/saga2/task.cpp
index eac253a7c35..a83400d59fd 100644
--- a/engines/saga2/task.cpp
+++ b/engines/saga2/task.cpp
@@ -89,7 +89,7 @@ TilePoint computeRepulsionVector(
    TaskStackList class
  * ===================================================================== */
 
-const int       numTaskStacks = 32;
+const int       numTaskStacks = 320;
 
 //  Manages the memory used for the TaskStack's.  There will
 //  only be one global instantiation of this class
@@ -401,7 +401,7 @@ void cleanupTaskStacks() {
    TaskList class
  * ===================================================================== */
 
-const int       numTasks = 64;
+const int numTasks = 640;
 
 //  Manages the memory used for the Task's.  There will only be one
 //  global instantiation of this class


Commit: 99d86de66f1bedcb0c93870fe6b6f34d4179d124
    https://github.com/scummvm/scummvm/commit/99d86de66f1bedcb0c93870fe6b6f34d4179d124
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-13T20:39:36+01:00

Commit Message:
SAGA2: Hid noisy warning

Changed paths:
    engines/saga2/blitters.cpp


diff --git a/engines/saga2/blitters.cpp b/engines/saga2/blitters.cpp
index 1a9d2b0e12a..a297c5bbb42 100644
--- a/engines/saga2/blitters.cpp
+++ b/engines/saga2/blitters.cpp
@@ -122,7 +122,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) {
 		byte trans = stream.readByte();
 
 		if (stream.eos()) {
-			warning("unpackSprite: premature end of data");
+			debug(8, "unpackSprite: premature end of data #1");
 			fail = true;
 			break;
 		}
@@ -144,7 +144,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) {
 		byte fill = stream.readByte();
 
 		if (stream.eos()) {
-			warning("unpackSprite: premature end of data");
+			debug(8, "unpackSprite: premature end of data #2");
 			fail = true;
 			break;
 		}
@@ -156,7 +156,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) {
 			fail = true;
 		}
 		if (stream.read(dst, fill) != fill) {
-			warning("unpackSprite: premature end of data");
+			debug(8, "unpackSprite: premature end of data #3");
 			fail = true;
 			break;
 		}




More information about the Scummvm-git-logs mailing list