Show JA pushed in briefly when the manager selection is confirmed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a279bfb6df
commit
8780d7b5a5
2 files changed
+9
-1
No files matched your search
@@ -3869,6 +3869,12 @@ int main(int argc, char** argv) {
|
||||
const auto released = held ? flow.hold(e.button.x, e.button.y, 2000)
|
||||
: flow.click(e.button.x, e.button.y, e.button.button == SDL_BUTTON_RIGHT, e.button.clicks >= 2);
|
||||
present_formation_save_feedback();
|
||||
// JA of the manager confirmation is shown pushed in briefly before the
|
||||
// (possibly slow) next step starts, as in the original.
|
||||
if (flow.screen_name() == "manager_accepted") {
|
||||
present_season(flow.render(), "OpenBMH - manager_accepted");
|
||||
SDL_Delay(150);
|
||||
}
|
||||
handle(released);
|
||||
present_desk_record_points();
|
||||
press.reset();
|
||||
|
||||
+3
-1
@@ -392,7 +392,9 @@ Image ManagerScreen::render() const {
|
||||
badge(out, 54, 89, choice_.master_club); portrait(out, 221, 89, choice_.portrait);
|
||||
const auto& prompt = texts_[(::bmh::layout::Manager_SmallText_TextPointer - ::bmh::layout::TextPointerTable) / 4];
|
||||
small_text(out, 73 + 170 / 2 - small_.text_width(prompt) / 2, 140, prompt);
|
||||
button(out, 62, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer - ::bmh::layout::TextPointerTable) / 4], false);
|
||||
// The original shows JA pushed in for a moment after it is clicked.
|
||||
button(out, 62, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer - ::bmh::layout::TextPointerTable) / 4],
|
||||
view_ == ManagerView::accepted);
|
||||
button(out, 175, 166, 75, texts_[(::bmh::layout::GameEnd_Copy_TextPointer2 - ::bmh::layout::TextPointerTable) / 4], false);
|
||||
}
|
||||
return out;
|
||||
|
||||
Reference in new issue
Block a user