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

Campaign Options IIC - Test Branch #4963

Draft
wants to merge 129 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 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
2c4aa5e
Add font scaling utility method
IllianiCBT Oct 15, 2024
7701ddc
Add font scaling to UI components in campaign options
IllianiCBT Oct 15, 2024
25d0b50
Remove redundant UI scaling code
IllianiCBT Oct 15, 2024
4e7d2ba
Refactor panel layout in CampaignOptionsUtilities.java
IllianiCBT Oct 15, 2024
28d7689
Scale and smooth header panel images
IllianiCBT Oct 15, 2024
0836a8e
Refactor campaignOptions tabs to a higher package level
IllianiCBT Oct 15, 2024
cfbbeda
Refactor scaling logic and button creation
IllianiCBT Oct 15, 2024
70300bd
Set dialogs to always be on top
IllianiCBT Oct 15, 2024
c22eeba
Refactored GeneralTab layout and added utility methods
IllianiCBT Oct 15, 2024
cdded51
Remove unused method createEmptyPanel
IllianiCBT Oct 15, 2024
a7f1c64
Refactor UI element creation to use nested static classes
IllianiCBT Oct 15, 2024
2ddfbd5
Refactor panel and label initialization
IllianiCBT Oct 15, 2024
790dd3d
Refactor icon button action and clean up code
IllianiCBT Oct 16, 2024
e73d72b
Fix border title formatting and UI layout issues
IllianiCBT Oct 16, 2024
403cb16
Update layouts and remove administrators tab
IllianiCBT Oct 16, 2024
81ddd9d
Refactor Awards Tab initialization
IllianiCBT Oct 16, 2024
9e1a678
Refactor medical and personnel tab creation
IllianiCBT Oct 16, 2024
6ee7167
Switch PersonnelTab layout from GroupLayout to GridBagLayout
IllianiCBT Oct 16, 2024
3382dcb
Switch PersonnelTab layouts to GridBagConstraints
IllianiCBT Oct 16, 2024
141c6e7
Remove AdministratorsTab and reorder icons in GeneralTab
IllianiCBT Oct 16, 2024
34f4a20
Add motivational quote to campaign options dialog
IllianiCBT Oct 16, 2024
2c2feee
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 16, 2024
9d89b9e
Add panel for Random Backgrounds in Biography Tab
IllianiCBT Oct 16, 2024
21e282f
Refactor campaign options panel layouts
IllianiCBT Oct 16, 2024
9a56bcb
Remove unnecessary boolean parameters from panel constructors
IllianiCBT Oct 16, 2024
254505e
Refactor layout and scaling logic in campaign options UI
IllianiCBT Oct 16, 2024
db0cbb3
Refactor layout configurations for consistency
IllianiCBT Oct 16, 2024
f4232c1
Refactor layout management in RelationshipsTab.java
IllianiCBT Oct 16, 2024
e2c86d9
Add initialization for Tech Limits and Rank Systems
IllianiCBT Oct 16, 2024
4997f83
Switch TurnoverAndRetentionTab.java layout to GridBagLayout
IllianiCBT Oct 16, 2024
28909e7
Combine Acquisition and Delivery Tabs
IllianiCBT Oct 16, 2024
8c074c2
Switch to GridBagLayout for Campaign Options Tabs
IllianiCBT Oct 16, 2024
0848b5a
Refactor Repair and Maintenance tab layout
IllianiCBT Oct 16, 2024
c900b81
Refactor layout management for campaign options panels
IllianiCBT Oct 16, 2024
02e0218
Refactor RepairAndMaintenanceTab layout
IllianiCBT Oct 16, 2024
7067d9a
Rename maintenance spinner variable
IllianiCBT Oct 16, 2024
bfc34dc
Fix layout issue in RepairAndMaintenanceTab
IllianiCBT Oct 16, 2024
6b27cc4
Switch to GridBagLayout in FinancesTab.java
IllianiCBT Oct 16, 2024
1ac79c0
Switch to GridBagLayout for market options panels
IllianiCBT Oct 16, 2024
14f643c
Standardize GridBagLayout usage
IllianiCBT Oct 17, 2024
93c2ab0
Simplify General Panel Title
IllianiCBT Oct 17, 2024
8a767aa
Rename Unit Development Tab to Advancement
IllianiCBT Oct 17, 2024
3c11d6f
Update comments to include additional skill categories
IllianiCBT Oct 17, 2024
08fe1e3
Rename unit development tab and add AdvancementTab
IllianiCBT Oct 17, 2024
01ae0aa
Remove unused variables from AdvancementTab.java
IllianiCBT Oct 17, 2024
97ccf22
Added XP Cost Multiplier to Advancement Tab
IllianiCBT Oct 17, 2024
d2e644f
Merge branch 'refs/heads/master' into campaignOptionsIIC
IllianiCBT Oct 21, 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.
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 @@ -1328,8 +1328,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,405 changes: 1,399 additions & 6 deletions 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
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package mekhq.campaign.personnel.procreation;

import mekhq.campaign.CampaignOptions;
import mekhq.campaign.campaignOptions.CampaignOptions;
import mekhq.campaign.personnel.Person;
import mekhq.campaign.personnel.enums.RandomProcreationMethod;

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

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

Expand Down
Loading
Loading