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

Large craft rs #491

Merged
merged 38 commits into from
Feb 25, 2020
Merged

Large craft rs #491

merged 38 commits into from
Feb 25, 2020

Conversation

neoancient
Copy link
Member

@neoancient neoancient commented Feb 23, 2020

This is the second half of the aerospace record sheet overhaul. Some notes about changes:

Breaks up the older PrintCapitalShip, which previously was a subclass of PrintEntity, into PrintDropship, which subclasses PrintAero, and PrintCapitalShip, which subclasses PrintDropship. PrintDropship has the code that is common to all large craft, particulary involving sorting out the various blocks of text in the inventory panel and making sure the font is scaled appropriately to fit everything. PrintCapitalShip is responsible for drawing the armor and internals blocks, which are done in 10x10 grids rather than circular pips.

Removed some code that is not used, including merging identical fore and aft weapon bays into a single line, and allowing for the possibility of vertical alignment of JS/WS/SS internal pip blocks.

Moved non-weapon equipment from a table that is designed to display weapons to a block of text at the bottom of the inventory panel.

Fixed a problem that causes jumpship aft armor on top of the ship outline.

Samples:
Leopard__3056__etc-job_1283.pdf

Also distinguish between fore and aft for spheroid, or forward and rear for wings.
Made adjustments in armor block placement.
Added a gap between blocks.
Also distinguish between fore and aft for spheroid, or forward and rear for wings.
Made adjustments in armor block placement.
Added a gap between blocks.
@neoancient neoancient merged commit 8b96160 into master Feb 25, 2020
@neoancient neoancient deleted the large_craft_rs branch February 25, 2020 03:00
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.

None yet

2 participants