[Scummvm-git-logs] scummvm master -> d6314b13103a419aba541065a38b29730d321957
mgerhardy
martin.gerhardy at gmail.com
Thu Aug 19 12:36:33 UTC 2021
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:
d6314b1310 TWINE: resize the vehicle model in high-res mode
Commit: d6314b13103a419aba541065a38b29730d321957
https://github.com/scummvm/scummvm/commit/d6314b13103a419aba541065a38b29730d321957
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-08-19T14:36:16+02:00
Commit Message:
TWINE: resize the vehicle model in high-res mode
Changed paths:
engines/twine/holomap.cpp
diff --git a/engines/twine/holomap.cpp b/engines/twine/holomap.cpp
index 28eef897e9..ec1fca32a8 100644
--- a/engines/twine/holomap.cpp
+++ b/engines/twine/holomap.cpp
@@ -313,7 +313,7 @@ void Holomap::renderHolomapVehicle(uint &frameNumber, ActorMoveStruct &move, Ani
}
const Common::Rect rect(0, _engine->height() - 280, 200, _engine->height() - 1);
_engine->_renderer->setCameraPosition(rect.width() / 2, _engine->height() - 80, 128, 900, 900);
- _engine->_renderer->setCameraAngle(0, 0, 0, 60, 128, 0, 30000);
+ _engine->_renderer->setCameraAngle(0, 0, 0, 60, 128, 0, distance(30000));
_engine->_renderer->setLightVector(-60, 128, 0);
// background of the vehicle
_engine->_interface->drawFilledRect(rect, COLOR_BLACK);
More information about the Scummvm-git-logs
mailing list