[Scummvm-git-logs] scummvm master -> 05b4caf0cbfd64195bc92506581c49c1a4106983
aquadran
noreply at scummvm.org
Wed Sep 3 10:32:43 UTC 2025
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:
05b4caf0cb WINTERMUTE: Restore more accessibility code
Commit: 05b4caf0cbfd64195bc92506581c49c1a4106983
https://github.com/scummvm/scummvm/commit/05b4caf0cbfd64195bc92506581c49c1a4106983
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-03T12:32:38+02:00
Commit Message:
WINTERMUTE: Restore more accessibility code
Changed paths:
engines/wintermute/ad/ad_game.cpp
diff --git a/engines/wintermute/ad/ad_game.cpp b/engines/wintermute/ad/ad_game.cpp
index 59052eabc9a..dae668a13d9 100644
--- a/engines/wintermute/ad/ad_game.cpp
+++ b/engines/wintermute/ad/ad_game.cpp
@@ -355,6 +355,7 @@ void AdGame::finishSentences() {
}
}
}
+ //Game->m_AccessMgr->Stop();
}
@@ -2110,12 +2111,19 @@ bool AdGame::displayContent(bool doUpdate, bool displayAll) {
if (doUpdate || displayAll) {
+ //m_AccessMgr->DisplayBeforeGUI();
+
// display normal windows
displayWindows(false);
+ //m_AccessMgr->DisplayAfterGUI();
+
setActiveObject(_gameRef->_renderer->getObjectAt(p.x, p.y));
// textual info
+ //if (m_AccessGlobalPaused)
+ // DisplaySentences(false);
+ //else
displaySentences(_state == GAME_FROZEN);
showCursor();
@@ -2348,6 +2356,30 @@ bool AdGame::renderShadowGeometry() {
}
#endif
+//////////////////////////////////////////////////////////////////////////
+/*CBObject *CAdGame::GetNextAccessObject(CBObject *CurrObject) {
+ CBObject *Ret = CBGame::GetNextAccessObject(CurrObject);
+ if (!Ret) {
+ if (m_ResponseBox && m_StateEx == GAME_WAITING_RESPONSE)
+ return m_ResponseBox->GetNextAccessObject(CurrObject);
+ if (m_Scene)
+ return m_Scene->GetNextAccessObject(CurrObject);
+ }
+ return Ret;
+}
+
+//////////////////////////////////////////////////////////////////////////
+CBObject *CAdGame::GetPrevAccessObject(CBObject *CurrObject) {
+ CBObject *Ret = CBGame::GetPrevAccessObject(CurrObject);
+ if (!Ret) {
+ if (m_ResponseBox && m_StateEx == GAME_WAITING_RESPONSE)
+ return m_ResponseBox->GetPrevAccessObject(CurrObject);
+ if (m_Scene)
+ return m_Scene->GetPrevAccessObject(CurrObject);
+ }
+ return Ret;
+}*/
+
//////////////////////////////////////////////////////////////////////////
bool AdGame::validMouse() {
Common::Point32 pos;
More information about the Scummvm-git-logs
mailing list