Repository navigation
Fix helicopter intro rendering on wide aspect ratio window tile settings - #135
Merged
Merged
Conversation
Adjust the helicopter intro to render at the original 320-pixel frame when the gameplay surface is wider due to --columns or higher resolutions. The change caps the Amiga scanline loop to the authored width, converts fixed 352-pixel offsets to the current surface width in the PC blits, and restores the gameplay window immediately after the intro so the presentation is not stretched or left oversized.
Contributor
Author
Member
|
Thanks! I remember seeing this years ago and never bothered to fix it because no-one ever really used the extra columns mode :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adjust the helicopter intro to render at the original 320-pixel frame when the gameplay surface is wider due to non default --columns setting. The change caps the Amiga scanline loop to the authored width, converts fixed 352-pixel offsets to the current surface width in the PC blits, and restores the gameplay window immediately after the intro so the gameplay presentation is at the requested tile column/row setting.
Example of corruption of intro screen on current production release version 5EB4136 (Dec 16 2025) with columns=28, rows=16:

(I notice this repo has basically zero inline comments... feel free to remove these if that's policy.)