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

(Not for merge) Campaign options iic GBC and sizing #5050

Draft
wants to merge 87 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
3103db6
Added New Campaign Preset Selection Dialog
IllianiCBT Sep 29, 2024
14bef77
Remove unused logger and format comments.
IllianiCBT Sep 29, 2024
6934999
Restructure CampaignOptions package
IllianiCBT Sep 29, 2024
3532c96
Add new empty classes for campaign options panes
IllianiCBT Sep 29, 2024
fdc6335
Rename controller and add GeneralTab class
IllianiCBT Sep 30, 2024
6da4a24
Rename campaign option classes and delete empty class
IllianiCBT Sep 30, 2024
bcd4f2d
Add Repair and Maintenance tab with detailed options
IllianiCBT Oct 1, 2024
71396a0
Refactor CampaignOptionsDialog for new Controller
IllianiCBT Oct 1, 2024
269bd3d
Refactored CampaignOptionsDialogController removal
IllianiCBT Oct 1, 2024
aa0a915
Refactor: Remove inheritance from AbstractMHQTabbedPane
IllianiCBT Oct 1, 2024
86b8f51
Rename CampaignOptionsPane to supports subpackage structure
IllianiCBT Oct 1, 2024
a95b7f3
Add Supplies and Acquisition Tab to Campaign Options
IllianiCBT Oct 2, 2024
aa3d586
Merge branch 'MegaMek:master' into campaignOptionsIIC
IllianiCBT Oct 2, 2024
b56cafd
Merge branch 'MegaMek:master' into campaignOptionsIIC
IllianiCBT Oct 2, 2024
95f6c04
Simplify checkbox and spinner creation methods
IllianiCBT Oct 2, 2024
b2220be
Remove hardcoded panel width parameters
IllianiCBT Oct 2, 2024
839f706
Add new tabs for various campaign options categories
IllianiCBT Oct 3, 2024
3c08d2c
Remove TODO comments for parent tab creation methods
IllianiCBT Oct 3, 2024
89f8df0
Refactor tab creation for better alignment and UI enhancements
IllianiCBT Oct 3, 2024
4a5c720
Refactored comments for code clarity
IllianiCBT Oct 3, 2024
e30aee3
Refactor and reorganize campaign options tabs
IllianiCBT Oct 3, 2024
e5af951
Add TechLimitsTab to campaign options
IllianiCBT Oct 7, 2024
0347435
Add new tech limit options to TechLimitsTab
IllianiCBT Oct 7, 2024
c0b5242
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 7, 2024
7aa9fcf
Refactor imports for CampaignPreset
IllianiCBT Oct 7, 2024
3138157
Refactored CampaignOptionsDialog to disable option interactions
IllianiCBT Oct 7, 2024
0f3497b
Refactor campaign options GUI: delete unused class, rename and expand…
IllianiCBT Oct 7, 2024
3ce82e9
Add tabs for Administrators and Awards in PersonnelTab
IllianiCBT Oct 7, 2024
a869a76
Add Personnel and Prisoner/Dependent Management Features
IllianiCBT Oct 8, 2024
77d885a
Implement comprehensive Personnel Tab features
IllianiCBT Oct 8, 2024
ae1d244
Prioritize General Options Tab in Campaign Options
IllianiCBT Oct 8, 2024
a097681
Add base salaries configuration to PersonnelTab
IllianiCBT Oct 8, 2024
4bb8702
Corrected PersonnelTab comments
IllianiCBT Oct 8, 2024
99c55a9
Fix UI layout and header component references
IllianiCBT Oct 9, 2024
2b88619
Refactored campaign options UI quotes for better readability.
IllianiCBT Oct 9, 2024
2bac6e8
Add Life Paths tab and enhance personnel tab in Campaign Options
IllianiCBT Oct 9, 2024
138e311
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 10, 2024
0814741
Add Marriage Tab to Life Paths Configuration
IllianiCBT Oct 10, 2024
d2f7b2c
Add divorce options tab in campaign settings
IllianiCBT Oct 10, 2024
c61476f
Add procreation tab with divorce options
IllianiCBT Oct 10, 2024
e2c660b
Add Procreation Tab to Campaign Options
IllianiCBT Oct 10, 2024
c7533e7
Add Death Tab to Campaign Options
IllianiCBT Oct 10, 2024
42d188a
Rename and expand TurnoverAndRetention class
IllianiCBT Oct 11, 2024
56155f9
Remove HTML formatting from text strings
IllianiCBT Oct 11, 2024
e2b28a2
Add new Education tab to campaign options
IllianiCBT Oct 11, 2024
0272552
Add entrance exam modifier label to LifePathsTab
IllianiCBT Oct 11, 2024
97bcd5b
Add RelationshipsTab for campaign options
IllianiCBT Oct 11, 2024
e40404c
Remove unused NameAndPortraitGeneration.java file
IllianiCBT Oct 11, 2024
47ad105
Make methods private in various campaign options tabs
IllianiCBT Oct 11, 2024
8c2d687
Add "Name and Portrait Generation" tab
IllianiCBT Oct 11, 2024
fc8353d
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 11, 2024
ca95042
Add Rank System tab and adjust panel dimensions to 750px
IllianiCBT Oct 11, 2024
1093707
Add Javadoc for createRankTab method
IllianiCBT Oct 11, 2024
e071ed0
Refactor tab initialization methods
IllianiCBT Oct 11, 2024
27ab0b2
Rename biographyTab.java to BiographyTab.java
IllianiCBT Oct 11, 2024
d0a393e
Refactor and simplify campaign options UI components
IllianiCBT Oct 11, 2024
df16e38
Remove unnecessary comments and simplify JScrollPane usage
IllianiCBT Oct 11, 2024
def629d
Fix component alignment in SuppliesAndAcquisitionTab
IllianiCBT Oct 11, 2024
8ad9b9e
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 11, 2024
8af5dec
Refactored font size initialization and added error handling
IllianiCBT Oct 11, 2024
4872979
Refactor tab and class names for consistency
IllianiCBT Oct 11, 2024
fc98d5b
Merge EquipmentTab into EquipmentAndSuppliesTab
IllianiCBT Oct 11, 2024
806a40f
Rename Logistics Parent Tab
IllianiCBT Oct 11, 2024
248dcda
Delete unused classes and change initialize methods to private
IllianiCBT Oct 12, 2024
d02cf4d
Add new financial options to FinancesTab
IllianiCBT Oct 12, 2024
bb1acf9
Add price multipliers tab to finances options
IllianiCBT Oct 12, 2024
4b222d8
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 12, 2024
478f0fc
Add Javadoc comments for methods in `FinancesTab.java`
IllianiCBT Oct 12, 2024
01a7bac
Add MarketsTab functionality
IllianiCBT Oct 12, 2024
30f38f3
Refactor checkbox and spinner creation methods
IllianiCBT Oct 12, 2024
f6a9290
Add Javadoc comments and implement Unit Market in GUI
IllianiCBT Oct 12, 2024
848ecdd
Add Unit Market Tab in Campaign Options
IllianiCBT Oct 12, 2024
9c268b3
Update history.txt
HammerGS Oct 13, 2024
21ea3b7
Merge remote-tracking branch 'origin/campaignOptionsIIC' into campaig…
IllianiCBT Oct 14, 2024
0d8c8f6
Add contract market tab in campaign options
IllianiCBT Oct 14, 2024
1586bb3
Add checkbox for limiting mercenary size
IllianiCBT Oct 14, 2024
b9a199e
Update history.txt
HammerGS Oct 14, 2024
7afcb14
Add RulesetsTab.java for campaign options
IllianiCBT Oct 14, 2024
5bffeee
Merge remote-tracking branch 'origin/campaignOptionsIIC' into campaig…
IllianiCBT Oct 14, 2024
709bd08
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 14, 2024
be3d92f
Refactored UI components to use scaleForGUI for size adjustments
IllianiCBT Oct 15, 2024
3b31e4c
Remove maximum size constraints from GUI components
IllianiCBT Oct 15, 2024
25fb7b3
avoid some sizing issues, gridbag
SJuliez Oct 15, 2024
75af3cf
Merge branch 'master' into campaignOptionsIIC-sizing--issues
SJuliez Oct 15, 2024
ba0a34c
misc, remove sizes
SJuliez Oct 15, 2024
a9532c1
remove gridx lines, add COptionLabel, override camo button to have pr…
SJuliez Oct 15, 2024
2e0ca30
better ctor
SJuliez Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added MekHQ/data/images/misc/MekHQ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion MekHQ/docs/history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ MEKHQ VERSION HISTORY:
+ PR #4931: Reworked AtB Bonus Rolls, Fixed Bug in Bulk Hire
+ PR #4981: Implemented Campaign Options IIC Preset Picker #4981
+ PR #4984: Refactored Daily Personnel Processing Logic.
+ PR #4989: Adaptation to MM #6068 Replace Manual GUI scaling with FlatLaf Scaling
+ PR #4989 #4990: Adaptation to MM #6068 Replace Manual GUI scaling with FlatLaf Scaling
+ PR #5022: Better Current Location / Travel Status
+ PR #4946: Adds Recent Promotion Modifier to Turnover System
+ Fix #5010: Makes StratCon Scenario Generation Respect Non-Combat Flag in TO&E
+ Fix #4986: Camops Paid Recrutiment Removal
+ PR #5029: Better visual distinction for GM mode / overtime toggles
+ PR #5002: Correct issues with fixed map generation #5002
+ PR #4992: Add Customization Option to Refit Dialog
+ PR #5030: Replaced autoAwards Award Ceremony Placeholder Image
Expand All @@ -104,6 +109,11 @@ MEKHQ VERSION HISTORY:
+ PR #5034: New row highlights for Personnel Table: Gone, Absent, Fatigued
+ FIX #5028: Random Camo Allocation Fixes
+ PR #5036: Corrected Scenario Modifiers for HouseOfficer units
+ PR #5040: Clarify map dimensions in scenario displays
+ PR #5042: Multiple FG3 Improvements
+ PR #5043: New names cleanup and potential bugfixes
+ PR #5046: Prevent StratCon from Pulling in Player DropShips, when Option is Disabled
+ PR #5044: Add Check for StratCon Usage in getAtBBattleChance Method

0.50.0 (2024-09-01 2000 UTC) (THIS MARKS THE START OF JAVA 17 AS THE MINIMUM REQUIRED)
+ PR #4332: CI Updates for windows build and normalizing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -982,9 +982,9 @@ chkAeroRecruitsHaveUnits.toolTipText=Aerospace pilot recruits can have fighters,

## Button Panel
btnOkay.text=Confirm
btnSavePreset.text=Confirm and Save as Preset
btnSavePreset.text=Save Preset
btnSavePreset.toolTipText=Confirm the changes in the dialog and save it as a Campaign Preset.
btnLoadPreset.text=Load a Preset
btnLoadPreset.text=Load Preset
btnLoadPreset.toolTipText=Load a Campaign Preset and apply it to the current dialog. If it is during startup, it will apply all values outside of starting planet, contract count, and game options. Otherwise, it will only apply continuous preset values outside of game options.
##end Button Panel

Expand Down
2 changes: 0 additions & 2 deletions MekHQ/resources/mekhq/resources/GUI.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1323,8 +1323,6 @@ btnLoadStoryArc.text=Load a Story Arc
#### RankSystemsPane Class
### Rank System
rankSystemPanel.title=Rank System
txtInstructionsRanks.title=Customizing Ranks
txtInstructionsRanks.text=You can use the table here to assign ranks for your campaign. You can use one of the preset rank systems from the pull-down menu, or you can design your own by creating a custom rank system. \nYou can save a single rank system as part of the campaign, with any additional custom rank systems to be saved in the user data file instead. Any additional campaign rank systems will be deleted. \nYou can also assign custom multipliers for salary. These multipliers don't need to take into account the officer multiplier which is addressed elsewhere. \n\nWARNING: \n1) This dialog doesn't warn about the deletion of any campaign custom rank systems that aren't the selected rank system for the campaign at this time. \n2) All personnel ranks will be revalidated when this is changed, to migrate them to the proper setup for their new rank system. \n3) This dialog does not validate the data at this time, so be careful with circular logic and ensure you have a valid E0 rank (one MUST be a name like "None" or "Grunt", with "None" specifically handled in code to show as a blank string when the rank name is displayed).
lblRankSystem.text=Rank System
lblRankSystem.toolTipText=This is the standard rank system used in this campaign.
comboRankSystemType.toolTipText=This is the type of rank system selected, which is where the information about the rank system is stored.
Expand Down
1,355 changes: 1,354 additions & 1 deletion MekHQ/resources/mekhq/resources/NEWCampaignOptionsDialog.properties

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/Utilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import megamek.common.options.OptionsConstants;
import megamek.logging.MMLogger;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.finances.Money;
import mekhq.campaign.mission.IPlayerSettings;
import mekhq.campaign.personnel.Person;
Expand Down
1 change: 1 addition & 0 deletions MekHQ/src/mekhq/campaign/Campaign.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import mekhq.Utilities;
import mekhq.campaign.Quartermaster.PartAcquisitionResult;
import mekhq.campaign.againstTheBot.AtBConfiguration;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.*;
import mekhq.campaign.finances.*;
import mekhq.campaign.finances.enums.TransactionType;
Expand Down
1 change: 1 addition & 0 deletions MekHQ/src/mekhq/campaign/Quartermaster.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import megamek.common.annotations.Nullable;
import megamek.common.weapons.infantry.InfantryWeapon;
import mekhq.MekHQ;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.PartArrivedEvent;
import mekhq.campaign.event.PartChangedEvent;
import mekhq.campaign.finances.Money;
Expand Down
10 changes: 5 additions & 5 deletions MekHQ/src/mekhq/campaign/RandomSkillPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
*/
package mekhq.campaign;

import java.io.PrintWriter;

import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

import megamek.Version;
import megamek.logging.MMLogger;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.PersonnelRole;
import mekhq.utilities.MHQXMLUtility;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

import java.io.PrintWriter;

/**
* @author Jay Lawson
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with MekHQ. If not, see <http://www.gnu.org/licenses/>.
*/
package mekhq.campaign;
package mekhq.campaign.campaignOptions;

import megamek.Version;
import megamek.codeUtilities.MathUtility;
Expand All @@ -27,6 +27,7 @@
import megamek.logging.MMLogger;
import mekhq.MekHQ;
import mekhq.Utilities;
import mekhq.campaign.RandomOriginOptions;
import mekhq.campaign.enums.PlanetaryAcquisitionFactionLimit;
import mekhq.campaign.finances.Money;
import mekhq.campaign.finances.enums.FinancialYearDuration;
Expand Down Expand Up @@ -4274,18 +4275,22 @@ public void setUseStratCon(final boolean useStratCon) {
this.useStratCon = useStratCon;
}

@Deprecated
public boolean isUseAero() {
return useAero;
return true;
}

@Deprecated
public void setUseAero(final boolean useAero) {
this.useAero = useAero;
}

@Deprecated
public boolean isUseVehicles() {
return useVehicles;
return true;
}

@Deprecated
public void setUseVehicles(final boolean useVehicles) {
this.useVehicles = useVehicles;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import megamek.utilities.xml.MMXMLUtility;
import mekhq.MHQConstants;
import mekhq.MekHQ;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.OptionsChangedEvent;
import mekhq.campaign.personnel.PersonnelOptions;
import mekhq.campaign.personnel.SkillType;
Expand Down
6 changes: 3 additions & 3 deletions MekHQ/src/mekhq/campaign/event/OptionsChangedEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
*/
package mekhq.campaign.event;

import java.util.Objects;

import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;

import java.util.Objects;

/**
* An event thrown after the campaign options were changed. The event handlers aren't supposed
Expand Down
6 changes: 3 additions & 3 deletions MekHQ/src/mekhq/campaign/finances/Accountant.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
*/
package mekhq.campaign.finances;

import java.util.UUID;

import megamek.common.Entity;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.Hangar;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.parts.Part;
import mekhq.campaign.personnel.Person;
import mekhq.campaign.personnel.enums.PersonnelRole;
import mekhq.campaign.unit.Unit;

import java.util.UUID;

/**
* Provides accounting for a Campaign.
*/
Expand Down
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/finances/FinancialReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import megamek.common.*;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.mission.Contract;

import java.util.stream.Collectors;
Expand Down
5 changes: 3 additions & 2 deletions MekHQ/src/mekhq/campaign/io/CampaignXmlParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@
import mekhq.Utilities;
import mekhq.campaign.*;
import mekhq.campaign.againstTheBot.AtBConfiguration;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.finances.Finances;
import mekhq.campaign.force.Force;
import mekhq.campaign.force.Lance;
import mekhq.campaign.icons.UnitIcon;
import mekhq.campaign.market.contractMarket.AbstractContractMarket;
import mekhq.campaign.market.contractMarket.AtbMonthlyContractMarket;
import mekhq.campaign.market.PersonnelMarket;
import mekhq.campaign.market.ShoppingList;
import mekhq.campaign.market.contractMarket.AbstractContractMarket;
import mekhq.campaign.market.contractMarket.AtbMonthlyContractMarket;
import mekhq.campaign.mission.AtBContract;
import mekhq.campaign.mission.Mission;
import mekhq.campaign.mission.Scenario;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
import mekhq.MHQConstants;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.againstTheBot.AtBConfiguration;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.force.Force;
import mekhq.campaign.mission.AtBDynamicScenario.BenchedEntityData;
import mekhq.campaign.mission.ScenarioForceTemplate.ForceAlignment;
Expand Down
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/personnel/Award.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import mekhq.MekHQ;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.utilities.MHQXMLUtility;

import java.io.PrintWriter;
Expand Down
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/personnel/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
import mekhq.MekHQ;
import mekhq.Utilities;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.ExtraData;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.PersonChangedEvent;
import mekhq.campaign.event.PersonStatusChangedEvent;
import mekhq.campaign.finances.Money;
Expand Down
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/campaign/personnel/SpecialAbility.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
import megamek.common.weapons.infantry.InfantryWeapon;
import megamek.logging.MMLogger;
import mekhq.Utilities;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.PersonnelRole;
import mekhq.utilities.MHQXMLUtility;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import mekhq.MHQConstants;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.Person;
import mekhq.campaign.personnel.enums.AgeGroup;
import mekhq.campaign.personnel.enums.PersonnelStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import megamek.common.Compute;
import megamek.common.enums.Gender;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDeathMethod;
import mekhq.campaign.personnel.enums.TenYearAgeRange;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.death;

import megamek.common.enums.Gender;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDeathMethod;

public class DisabledRandomDeath extends AbstractDeath {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import megamek.common.Compute;
import megamek.common.enums.Gender;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDeathMethod;

public class ExponentialRandomDeath extends AbstractDeath {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import megamek.common.Compute;
import megamek.common.enums.Gender;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDeathMethod;

public class PercentageRandomDeath extends AbstractDeath {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import megamek.common.annotations.Nullable;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.PersonChangedEvent;
import mekhq.campaign.log.PersonalLogger;
import mekhq.campaign.personnel.Person;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package mekhq.campaign.personnel.divorce;

import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDivorceMethod;

public class DisabledRandomDivorce extends AbstractDivorce {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.divorce;

import megamek.common.Compute;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomDivorceMethod;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import megamek.logging.MMLogger;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.PersonChangedEvent;
import mekhq.campaign.finances.Money;
import mekhq.campaign.finances.enums.TransactionType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.enums;

import mekhq.MekHQ;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.death.*;

import java.util.ResourceBundle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.enums;

import mekhq.MekHQ;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.divorce.AbstractDivorce;
import mekhq.campaign.personnel.divorce.DisabledRandomDivorce;
import mekhq.campaign.personnel.divorce.RandomDivorce;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.enums;

import mekhq.MekHQ;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.marriage.AbstractMarriage;
import mekhq.campaign.personnel.marriage.DisabledRandomMarriage;
import mekhq.campaign.personnel.marriage.RandomMarriage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.enums;

import mekhq.MekHQ;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.procreation.AbstractProcreation;
import mekhq.campaign.personnel.procreation.DisabledRandomProcreation;
import mekhq.campaign.personnel.procreation.RandomProcreation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import megamek.common.enums.Gender;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.event.PersonChangedEvent;
import mekhq.campaign.log.PersonalLogger;
import mekhq.campaign.personnel.Person;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package mekhq.campaign.personnel.marriage;

import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomMarriageMethod;

public class DisabledRandomMarriage extends AbstractMarriage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package mekhq.campaign.personnel.marriage;

import megamek.common.Compute;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.enums.RandomMarriageMethod;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
import mekhq.MHQConstants;
import mekhq.MekHQ;
import mekhq.campaign.Campaign;
import mekhq.campaign.CampaignOptions;
import mekhq.campaign.ExtraData.IntKey;
import mekhq.campaign.ExtraData.StringKey;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.log.MedicalLogger;
import mekhq.campaign.log.PersonalLogger;
import mekhq.campaign.personnel.Person;
Expand Down
Loading