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

Support vee construction data #1452

Merged
merged 86 commits into from
Oct 16, 2019
Merged

Support vee construction data #1452

merged 86 commits into from
Oct 16, 2019

Conversation

neoancient
Copy link
Member

These are the MM changes needed for support vehicle construction in MML. It does not yet include support vehicle validation. I want to do that in a separate branch (since this is already such a large set of changes). There's a good chance the unit validation will reveal some things that need to be fixed so I'm posting this as a draft PR at this point.

# Conflicts:
#	gradle/wrapper/gradle-wrapper.properties
Added external power pickup chassis mod.
This results in a little more duplicated code, but not as much as having to have separate classes for ground and air support vees.
Filled in most of the weight calculations. Turrets are still to be done.
Added field for combat seats for combat and support vehicles.
Added method to check compatibility with other chassis mods.
Added base chassis turret weight processing to support vees and VTOLs.
@lgtm-com
Copy link

lgtm-com bot commented Aug 21, 2019

This pull request fixes 3 alerts when merging 883c015 into b06e689 - view on LGTM.com

fixed alerts:

  • 3 for Useless comparison test

@lgtm-com
Copy link

lgtm-com bot commented Aug 22, 2019

This pull request fixes 3 alerts when merging 8ac5886 into b06e689 - view on LGTM.com

fixed alerts:

  • 3 for Useless comparison test

Removed extraSeats field which was based on combat vee crew seating.
Provided satellite availability from later printing of TacOps.
@lgtm-com
Copy link

lgtm-com bot commented Aug 22, 2019

This pull request fixes 3 alerts when merging 8553de9 into b06e689 - view on LGTM.com

fixed alerts:

  • 3 for Useless comparison test

1 similar comment
@lgtm-com
Copy link

lgtm-com bot commented Aug 22, 2019

This pull request fixes 3 alerts when merging 8553de9 into b06e689 - view on LGTM.com

fixed alerts:

  • 3 for Useless comparison test

Copy link
Member

@NickAragua NickAragua left a comment

Choose a reason for hiding this comment

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

Looks good, with the caveat that I'm unlikely to be able to spot any meaningful logic errors or performance issues with a change set this large.

@lgtm-com
Copy link

lgtm-com bot commented Sep 3, 2019

This pull request introduces 1 alert and fixes 3 when merging e2d9dd3 into 0016ef6 - view on LGTM.com

new alerts:

  • 1 for Dereferenced variable may be null

fixed alerts:

  • 3 for Useless comparison test

Added more detailed message for chassis mod validation failure.
# Conflicts:
#	megamek/data/images/units/mechset.txt
#	megamek/src/megamek/client/ui/swing/MechTileset.java
#	megamek/src/megamek/common/loaders/BLKSupportTankFile.java
@lgtm-com
Copy link

lgtm-com bot commented Oct 8, 2019

This pull request introduces 1 alert and fixes 3 when merging 693d1fc into e3e48c1 - view on LGTM.com

new alerts:

  • 1 for Dereferenced variable may be null

fixed alerts:

  • 3 for Useless comparison test

There shouldn't be any cases where there are towed units and game is null, but better safe.
@lgtm-com
Copy link

lgtm-com bot commented Oct 8, 2019

This pull request fixes 3 alerts when merging 576e174 into e3e48c1 - view on LGTM.com

fixed alerts:

  • 3 for Useless comparison test

@neoancient neoancient marked this pull request as ready for review October 13, 2019 21:49
Copy link
Member

@NickAragua NickAragua left a comment

Choose a reason for hiding this comment

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

I believe I reviewed the bulk of this PR previously, and the additional changes made since then didn't raise any red flags. Most likely we'll need to beat up on it by constructing support vehicles.

@neoancient
Copy link
Member Author

The additional changes were fixes discovered in the process of beating up on it to construct SVs.

@neoancient neoancient merged commit 576e174 into master Oct 16, 2019
@neoancient neoancient deleted the support_vee branch October 24, 2019 17:19
HammerGS added a commit that referenced this pull request Mar 13, 2024
+ Fix #5214: Exception when loading saved game
+ Fix #5224: Infantry Firing issue
+ PR #5241: Add test to ensure every unit can load
+ PR #5244: Fixing MML #1452 Allows you to pod mount null signature
system.
IllianiCBT pushed a commit to IllianiCBT/megamek that referenced this pull request Mar 18, 2024
+ Fix MegaMek#5214: Exception when loading saved game
+ Fix MegaMek#5224: Infantry Firing issue
+ PR MegaMek#5241: Add test to ensure every unit can load
+ PR MegaMek#5244: Fixing MML MegaMek#1452 Allows you to pod mount null signature
system.
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