Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battle Panel Multi Resolution #46

Merged
merged 2 commits into from
Aug 20, 2023

Conversation

andrzejfalkowski
Copy link
Contributor

@andrzejfalkowski andrzejfalkowski commented Aug 19, 2023

Battle panel in different variants for each main vertical resolution and 720 widescreen.

If there's not enough space to display all mercs due to increased limits compared to vanilla, mercs will be displayed page by page, scrollable with Page Up/Page Down (similar to the team assignments panel).

Related fixes:

  • some UI elements like sort buttons wouldn't be rendered during animated prebattle interface transition if prebattle dialogue was skipped
  • in 720 widescreen it was possible to pick up inventory items behind prebattle interface
  • in 720 widescreen autoresolve overlay wasn't rendered on the entire screen

Comparison:

640x480
battle_panel_640_old
battle_panel_640_new

1280x720 Widescreen
battle_panel_720_old
battle_panel_720_new

1024x768
battle_panel_768_old
battle_panel_768_new

720 Widescreen - Auto-resolve fix
auto_battle_720_old
auto_battle_720_new

Transition fix
transition_640_old
transition_640_new

Corresponding source PR:
1dot13/source#203

@Asdow Asdow merged commit 89fef39 into 1dot13:master Aug 20, 2023
@andrzejfalkowski andrzejfalkowski deleted the battle-panel-multi-res branch August 20, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants