[Scummvm-git-logs] scummvm master -> 4b87b3dc8aae9cb35870cca3035190e95ca85871
sev-
noreply at scummvm.org
Mon Feb 13 19:39:46 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:
ece320d76a SAGA2: Increased number of tasks and stacks 10x
4b87b3dc8a SAGA2: Hid noisy warning
Commit: ece320d76aefb440ebae495f7e78c0676d17c897
https://github.com/scummvm/scummvm/commit/ece320d76aefb440ebae495f7e78c0676d17c897
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-13T20:39:05+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: 4b87b3dc8aae9cb35870cca3035190e95ca85871
https://github.com/scummvm/scummvm/commit/4b87b3dc8aae9cb35870cca3035190e95ca85871
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-13T20:39:05+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