[Scummvm-git-logs] scummvm master -> f4356effdd9080d1469a771377acfbabc850cff1
sev-
noreply at scummvm.org
Fri Sep 5 16:42:34 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:
f4356effdd DIRECTOR: DT: Fix showing main channels
Commit: f4356effdd9080d1469a771377acfbabc850cff1
https://github.com/scummvm/scummvm/commit/f4356effdd9080d1469a771377acfbabc850cff1
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-09-05T18:42:05+02:00
Commit Message:
DIRECTOR: DT: Fix showing main channels
Evntually we would beed to implement continuation there as well
Changed paths:
engines/director/debugger/dt-score.cpp
diff --git a/engines/director/debugger/dt-score.cpp b/engines/director/debugger/dt-score.cpp
index 313a71b53ce..11c7cc04f58 100644
--- a/engines/director/debugger/dt-score.cpp
+++ b/engines/director/debugger/dt-score.cpp
@@ -218,19 +218,21 @@ static void displayScoreChannel(int ch, int mode, int modeSel) {
ImGui::PushID((ch + 10 - mode) * 10000 + f);
// If the frame is not the start, then don't render any text
- if (rf != startCont || !(sprite._castId.member || sprite.isQDShape())) {
- if (rf == endCont && sprite._castId.member && mode == _state->_scoreMode) {
- ImGui::PushFont(ImGui::GetIO().FontDefault);
- ImGui::TextUnformatted("\uf819");
- ImGui::PopFont();
- } else {
- if (sprite._castId.member) {
- ImGui::Selectable("â");
+ if (mode == kModeMember) {
+ if (rf != startCont || !(sprite._castId.member || sprite.isQDShape())) {
+ if (rf == endCont && sprite._castId.member && mode == _state->_scoreMode) {
+ ImGui::PushFont(ImGui::GetIO().FontDefault);
+ ImGui::TextUnformatted("\uf819");
+ ImGui::PopFont();
} else {
- ImGui::Selectable(" ");
+ if (sprite._castId.member) {
+ ImGui::Selectable("â");
+ } else {
+ ImGui::Selectable(" ");
+ }
}
+ mode1 = -1; // Skip cell data rendering
}
- mode1 = -1; // Skip cell data rendering
}
switch (mode1) {
More information about the Scummvm-git-logs
mailing list