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

Frameless sheets #1620

Merged
merged 36 commits into from
Sep 28, 2024
Merged

Frameless sheets #1620

merged 36 commits into from
Sep 28, 2024

Conversation

pavelbraginskiy
Copy link
Collaborator

Depends on #1598. Doesn't use any features from that PR per se, but it touches the same files, and this prevents merge conflicts. If that PR hasn't been merged yet, this commit is the one with all the code changes for this PR.

Adds an option to draw record sheets without frames, as requested by CGL.
Support all the 'Mechs (Bipedal, Quad, Tripod, QuadVee, LAM, and SuperHeavy variants).

Since this feature isn't expected to be useful for our non-CGL users, the ISO paper and TO heat options disable frameless output entirely, and the row shading option produces bad output.

image
image
image
image
image

pavelbraginskiy and others added 30 commits September 21, 2024 13:36
Currently only implemented by the single-turret tank sheet.
More record sheets supported soon.
Copy link

codecov bot commented Sep 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.17%. Comparing base (f3645a6) to head (c1dd60e).
Report is 42 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##             master   #1620      +/-   ##
===========================================
+ Coverage      2.15%   2.17%   +0.02%     
- Complexity      205     209       +4     
===========================================
  Files           266     266              
  Lines         30638   30754     +116     
  Branches       5236    5259      +23     
===========================================
+ Hits            660     669       +9     
- Misses        29825   29928     +103     
- Partials        153     157       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pavelbraginskiy pavelbraginskiy added CGL Request Something specifically requested by CGL. Record Sheets Record Sheets and PDF/Printing issue labels Sep 22, 2024
Copy link
Member

@HammerGS HammerGS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and seems to work

@rjhancock
Copy link
Collaborator

If this has all of the changes in #1598 as well as CGL's request, Id' suggest closing the other and making this one be all of the changes.

@pavelbraginskiy
Copy link
Collaborator Author

If this has all of the changes in #1598 as well as CGL's request, Id' suggest closing the other and making this one be all of the changes.

The other one will close automatically if this one is merged, and merging the other one will update this one to only be the relevant commits. It's decently smart about it.

@HammerGS HammerGS merged commit f0feb13 into MegaMek:master Sep 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CGL Request Something specifically requested by CGL. Record Sheets Record Sheets and PDF/Printing issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants