[Scummvm-git-logs] scummvm master -> 8ff4249ba47b4f53d9f04d8401304ed4be9fd1a5
mgerhardy
noreply at scummvm.org
Mon Apr 14 21:33:36 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
2631a736b8 TWINE: reduced listTri array size now that the holomap code is split into v1 and v2
8ff4249ba4 TWINE: fixed comment
Commit: 2631a736b8cefb8aeb3c9066418dbd1a214839c7
https://github.com/scummvm/scummvm/commit/2631a736b8cefb8aeb3c9066418dbd1a214839c7
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2025-04-14T22:29:55+01:00
Commit Message:
TWINE: reduced listTri array size now that the holomap code is split into v1 and v2
Changed paths:
engines/twine/holomap_v1.cpp
diff --git a/engines/twine/holomap_v1.cpp b/engines/twine/holomap_v1.cpp
index 84ab8b9def6..5fb0126bed6 100644
--- a/engines/twine/holomap_v1.cpp
+++ b/engines/twine/holomap_v1.cpp
@@ -473,7 +473,7 @@ int32 HolomapV1::searchPrevArrow(int32 num) const {
void HolomapV1::drawListPos(int calpha, int cbeta, int cgamma, bool pos) {
int nbobjets = 0;
- DrawListStruct listTri[MAX_HOLO_POS_2];
+ DrawListStruct listTri[MAX_HOLO_POS];
const int numCube = _engine->_scene->_numCube;
const int maxHoloPos = _engine->numHoloPos();
for (int n = 0; n < maxHoloPos; ++n) {
Commit: 8ff4249ba47b4f53d9f04d8401304ed4be9fd1a5
https://github.com/scummvm/scummvm/commit/8ff4249ba47b4f53d9f04d8401304ed4be9fd1a5
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2025-04-14T22:29:55+01:00
Commit Message:
TWINE: fixed comment
Changed paths:
engines/twine/holomap.h
engines/twine/holomap_v1.h
engines/twine/holomap_v2.h
diff --git a/engines/twine/holomap.h b/engines/twine/holomap.h
index ba82f579475..8a028f98f4d 100644
--- a/engines/twine/holomap.h
+++ b/engines/twine/holomap.h
@@ -39,7 +39,7 @@ struct AnimTimerDataStruct;
/**
* The Holomap shows the hero position. The arrows (@c RESSHQR_HOLOARROWMDL) represent important places in your quest - they automatically disappear once that part of
- * the quest is done (@c clearHolomapPosition()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
+ * the quest is done (@c clrHoloPos()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
* text for the visible arrows.
*/
class Holomap {
diff --git a/engines/twine/holomap_v1.h b/engines/twine/holomap_v1.h
index e003c6e59f8..9085bd4ef12 100644
--- a/engines/twine/holomap_v1.h
+++ b/engines/twine/holomap_v1.h
@@ -33,7 +33,7 @@ namespace TwinE {
/**
* The Holomap shows the hero position. The arrows (@c RESSHQR_HOLOARROWMDL) represent important places in your quest - they automatically disappear once that part of
- * the quest is done (@c clearHolomapPosition()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
+ * the quest is done (@c clrHoloPos()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
* text for the visible arrows.
*/
class HolomapV1 : public Holomap {
diff --git a/engines/twine/holomap_v2.h b/engines/twine/holomap_v2.h
index d35d1056fd1..7984c6f990c 100644
--- a/engines/twine/holomap_v2.h
+++ b/engines/twine/holomap_v2.h
@@ -31,7 +31,7 @@ namespace TwinE {
/**
* The Holomap shows the hero position. The arrows (@c RESSHQR_HOLOARROWMDL) represent important places in your quest - they automatically disappear once that part of
- * the quest is done (@c clearHolomapPosition()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
+ * the quest is done (@c clrHoloPos()). You can rotate the holoamp by pressing ctrl+cursor keys - but only using the cursor keys, you can scroll through the
* text for the visible arrows.
*/
class HolomapV2 : public Holomap {
More information about the Scummvm-git-logs
mailing list