[Scummvm-git-logs] scummvm master -> b1b0353dd051adafe0302ae613bb3dba32b64531
sev-
noreply at scummvm.org
Mon Aug 24 23:11:42 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b1b0353dd0 SKY: Add hotspots in ibass
Commit: b1b0353dd051adafe0302ae613bb3dba32b64531
https://github.com/scummvm/scummvm/commit/b1b0353dd051adafe0302ae613bb3dba32b64531
Author: Priyanshu (10b.priyanshu at gmail.com)
Date: 2026-08-25T01:11:37+02:00
Commit Message:
SKY: Add hotspots in ibass
Changed paths:
engines/sky/screen.cpp
diff --git a/engines/sky/screen.cpp b/engines/sky/screen.cpp
index 87baa8911ea..2d334840d09 100644
--- a/engines/sky/screen.cpp
+++ b/engines/sky/screen.cpp
@@ -68,6 +68,13 @@ void Screen::setIcon(int idx, int x, int y) {
}
void Screen::drawIbassIcon() {
+ for (int i = 0; i < NUM_PROXIMITY_ICONS; i ++) {
+ if (_proximityIcon[i]._visible || _proximityIcon[i]._alpha > 0.0f) {
+ Graphics::Surface *currentFrame = _proximityIcon[i]._anim->_frames[_proximityIcon[i]._curFrame];
+ if ((_proximityIcon[i]._x + currentFrame->w) <= _screen32.w)
+ Graphics::alphaBlit((byte *)_screen32.getBasePtr(_proximityIcon[i]._x, _proximityIcon[i]._y), (const byte *)currentFrame->getPixels(), _screen32.pitch, currentFrame->pitch, currentFrame->w, currentFrame->h, _screen32.format, currentFrame->format, 0, (uint8)(_proximityIcon[i]._alpha * 255));
+ }
+ }
for (int i = 0; i < NUM_UI_ICONS; i++) {
if (_uiIcon[i]._visible) {
@@ -241,6 +248,10 @@ Screen::Screen(OSystem *pSystem, Disk *pDisk, SkyCompact *skyCompact) {
initIbassIcon(UI_ICON_LEFT, "exit_left.tex");
initIbassIcon(UI_ICON_RIGHT, "exit_right.tex");
}
+
+ Animation *proximityAnimation = _skyDisk->loadAnim("search.tex", _screen32.format);
+ for (int i = 0; i < NUM_PROXIMITY_ICONS; i++)
+ _proximityIcon[i]._anim = proximityAnimation;
}
Screen::~Screen() {
More information about the Scummvm-git-logs
mailing list