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

IO Tech #79

Merged
merged 93 commits into from Sep 16, 2017
Merged

IO Tech #79

merged 93 commits into from Sep 16, 2017

Conversation

neoancient
Copy link
Member

Removes almost all tech level and availability year data out of the ui and uses the tech progression data in MM instead, through the ITechnology and ITechManager interfaces.

Almost complete rewrite of the various structure tabs to consolidate redundant code and standardize. This is not strictly required by the transition to the new tech progression system, but the tech level and intro year data is so intertwined in the structure tabs that it was easier to do it all at once. With the exception of status and armor allocation views, which do not interact directly with tech data, each panel was refactored into a separate class which uses callbacks to send change information to the structure tab. In many cases multiple unit types can use the same panel -- the basic info panel is universal; the armor panel is the same for mechs, combat vehicles, and aerospace units, mechs and aerospace fighters use the same heat sink panel, and all units except conventional infantry use the same movement panel. Rather than convert back and forth between Strings and indices for the combo boxes, I've added some custom combo boxes that support parameters such as Engine and EquipmentType and have support for prepending "IS" or "Clan" to entries as necessary when using a mixed tech base.

neoancient and others added 30 commits February 25, 2017 20:54
availability dates and ratings to correspond to the IO master tech
advancement table.
Updating MML to stay working with MM
Updating MML to ensure works with latest MM jar
Conflicts:
	MegaMek.jar
	src/megameklab/com/MegaMekLab.java
	src/megameklab/com/util/UnitUtil.java
New MM jar.
neoancient and others added 27 commits August 29, 2017 11:06
Finished conventional fighter as an option.
armor allocation view needs patchwork support.
Moved field guns into weapon panel and refactored infantry weapons into
a separate class to simplify interaction with specialization secondary
weapon restrictions.
primitive aero armor now comes at the end of the list.
movement, and and enhancements and added tech progression.
Show only the distinct manipulator name in the manipulators combo box.
longer part of the equipment name. And it's causing a
StringIndexOutOfBoundsException.
mech mechanical jump jets as a JJ size because I failed to consider the
fact that they require a size to be set and can't just be added as
equipment.
trying to determine critical slots in summary view on structure tab.
unit. Increasing the number of troopers causes an
IndexOutOfRangeException unless location arrays are resized.
@neoancient neoancient merged commit 9ede598 into master Sep 16, 2017
@neoancient neoancient deleted the IOTech branch September 16, 2017 17:18
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