[Scummvm-git-logs] scummvm master -> 9361fd50009de810d229aea6029991d6bcf23bbb

whiterandrek whiterandrek at gmail.com
Thu May 28 21:53:15 UTC 2020


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:
ab224d026f PETKA: fixed processing dialogs when interface isn't InterfaceMain
9361fd5000 PETKA: updated engine status


Commit: ab224d026fcf43d1404a3cb7240d06f07c7a686d
    https://github.com/scummvm/scummvm/commit/ab224d026fcf43d1404a3cb7240d06f07c7a686d
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-05-29T00:51:43+03:00

Commit Message:
PETKA: fixed processing dialogs when interface isn't InterfaceMain

Changed paths:
    engines/petka/interfaces/dialog_interface.cpp


diff --git a/engines/petka/interfaces/dialog_interface.cpp b/engines/petka/interfaces/dialog_interface.cpp
index 69f6c3a1f1..6ebde5e7b4 100644
--- a/engines/petka/interfaces/dialog_interface.cpp
+++ b/engines/petka/interfaces/dialog_interface.cpp
@@ -207,7 +207,7 @@ void DialogInterface::setPhrase(const Common::U32String *text) {
 		textColor = _talker->_dialogColor;
 		outlineColor = g_system->getScreenFormat().RGBToColor(0x7F, 0, 0);
 	}
-	_qsys->_mainInterface->setTextPhrase(*text, textColor, outlineColor);
+	_qsys->_currInterface->setTextPhrase(*text, textColor, outlineColor);
 }
 
 void DialogInterface::onPlayOpcode(int prevTalkerId) {
@@ -244,7 +244,7 @@ void DialogInterface::onMenuOpcode() {
 }
 
 void DialogInterface::onUserMsgOpcode() {
-	_qsys->_mainInterface->setTextPhrase(Common::U32String(""), 0, 0);
+	_qsys->_currInterface->setTextPhrase(Common::U32String(""), 0, 0);
 	removeSound();
 	_talker = nullptr;
 	_state = kPlaying;


Commit: 9361fd50009de810d229aea6029991d6bcf23bbb
    https://github.com/scummvm/scummvm/commit/9361fd50009de810d229aea6029991d6bcf23bbb
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-05-29T00:52:38+03:00

Commit Message:
PETKA: updated engine status

Changed paths:
    engines/petka/petka.h


diff --git a/engines/petka/petka.h b/engines/petka/petka.h
index d36705ed37..54f8b3d1da 100644
--- a/engines/petka/petka.h
+++ b/engines/petka/petka.h
@@ -41,7 +41,7 @@
  *  - Red Comrades Demo
  *  - Red Comrades Save the Galaxy
  *  	- Part 1: can be completed
- *  	- Part 2: not tested
+ *  	- Part 2: unplayable (requires support of scrolling backgrounds)
  *  	- Part 3: not tested
  *  - Red Comrades 2: For the Great Justice
  */




More information about the Scummvm-git-logs mailing list