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

Commits on Oct 1, 2024

  1. Added New Campaign Preset Selection Dialog

    Introduced a new dialog for selecting campaign presets within the campaign options. Updated `CampaignPreset` to include a `getTitle()` method and added resource strings for dialog configuration.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3103db6 View commit details
    Browse the repository at this point in the history
  2. Remove unused logger and format comments.

    Eliminated the unused logger variable in SelectPresetDialog.java to reduce clutter. Additionally, formatted comments in CampaignPreset.java to improve readability and follow documentation standards.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    14bef77 View commit details
    Browse the repository at this point in the history
  3. Restructure CampaignOptions package

    Moved CampaignOptions and related classes to a new package structure under mekhq.campaign.campaignOptions. This improves code organization and clarity. Updated all references to reflect the new package structure.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6934999 View commit details
    Browse the repository at this point in the history
  4. Add new empty classes for campaign options panes

    Created 20 new empty classes under the campaignOptions and campaignOptions.panes packages. These classes will serve as placeholders for future implementation of various campaign option functionalities.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3532c96 View commit details
    Browse the repository at this point in the history
  5. Rename controller and add GeneralTab class

    Renamed `campaignOptionsDialogController.java` to `CampaignOptionsDialogController.java` and implemented `CampaignOptionsDialogController` with added functionalities. Included new `GeneralTab` class for campaign's general settings and updated resources for localization.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    fdc6335 View commit details
    Browse the repository at this point in the history
  6. Rename campaign option classes and delete empty class

    Changed the package name of all campaign option classes from 'panes' to 'tabs' for consistency. Removed the empty `RepairAndMaintenance` class. Updated the `CampaignOptionsDialogController` to reflect these changes.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6da4a24 View commit details
    Browse the repository at this point in the history
  7. Add Repair and Maintenance tab with detailed options

    Enhanced campaign options dialog by adding a Repair and Maintenance tab. Implemented detailed options for repair and maintenance settings, including various checkboxes and spinners.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    bcd4f2d View commit details
    Browse the repository at this point in the history
  8. Refactor CampaignOptionsDialog for new Controller

    Replaced CampaignOptionsPane with CampaignOptionsDialogController to streamline campaign options management. Commented out methods related to the old pane's options handling to avoid conflicts. Added Javadoc comments to GeneralTab to improve code documentation.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    71396a0 View commit details
    Browse the repository at this point in the history
  9. Refactored CampaignOptionsDialogController removal

    Removed CampaignOptionsDialogController and replaced its functionality with CampaignOptionsPane and CampaignOptionsUtilities. This change aimed at modularizing the code, improving maintainability and readability. Updated relevant imports and class usages accordingly.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    269bd3d View commit details
    Browse the repository at this point in the history
  10. Refactor: Remove inheritance from AbstractMHQTabbedPane

    Removed the inheritance from AbstractMHQTabbedPane in RepairAndMaintenanceTab and GeneralTab. Adjusted constructors and methods to accommodate this change and updated utility imports to reflect the new package structure.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    aa0a915 View commit details
    Browse the repository at this point in the history
  11. Rename CampaignOptionsPane to supports subpackage structure

    Moved CampaignOptionsPane to the "tabs" subpackage for better organization. Updated the import statements in relevant classes to reflect the new package path.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    86b8f51 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Add Supplies and Acquisition Tab to Campaign Options

    Reorganized properties and labels in various tabs. Introduced a new Supplies and Acquisition tab with Acquisition, Delivery, and Planetary Acquisition sub-tabs while maintaining existing functionality for Repair and Maintenance.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a95b7f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa3d586 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b56cafd View commit details
    Browse the repository at this point in the history
  4. Simplify checkbox and spinner creation methods

    Replaced the createLabeledSpinner method with distinct createSpinner and createLabel methods to simplify spinner creation. This change reduced redundancy by removing the need for label creation in spinner methods and updated relevant sections across multiple files. Additionally, the getDimensionWidthForComboBox and getDimensionWidthForButton helper methods were removed to streamline the codebase.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    95f6c04 View commit details
    Browse the repository at this point in the history
  5. Remove hardcoded panel width parameters

    Removed explicit maximum width parameters in the createParentPanel method. Adjusted width handling to dynamically ensure a minimum width of 500 for the parent panels. Simplified the import statements by consolidating them. Deleted an unused utility method related to panel size calculation.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b2220be View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Add new tabs for various campaign options categories

    Added new tabs for Combat Readiness, Human Resources, Unit Development, Logistics and Maintenance, and Strategic Operations to the Campaign Options Pane. Updated the resource file with corresponding titles for the new tabs. These changes enhance the structure and organization of the campaign options interface.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    839f706 View commit details
    Browse the repository at this point in the history
  2. Remove TODO comments for parent tab creation methods

    The TODO comments for creating various parent tabs in different sections were removed. This cleanup helps to reduce clutter and improves the readability of the code. It also indicates that the initial implementation for these tabs is complete.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    3c08d2c View commit details
    Browse the repository at this point in the history
  3. Refactor tab creation for better alignment and UI enhancements

    Refactored the creation of campaign option tabs to use wrapper panels for better alignment and added decorative borders with contextual quotes. Also, centralized tab creation into a utility method for improved readability and maintainability of the code.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    89f8df0 View commit details
    Browse the repository at this point in the history
  4. Refactored comments for code clarity

    Updated Javadoc comments in CampaignOptionsPane.java to remove unnecessary link annotations and improve readability.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4a5c720 View commit details
    Browse the repository at this point in the history
  5. Refactor and reorganize campaign options tabs

    Moved header creation to a separate method for better readability and reusability. Updated text field dimensions to be dynamically set based on preferred height. Enhanced scroll speeds for better user experience and added quotes to tabs for improved UI aesthetics.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e30aee3 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Add TechLimitsTab to campaign options

    Replaced the empty TechLimits class with a fully implemented TechLimitsTab to manage technical limit settings within the campaign options. Updated the properties for the new tab and made minor adjustments to CampaignOptionsUtilities and CampaignOptionsPane for integration.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e5af951 View commit details
    Browse the repository at this point in the history
  2. Add new tech limit options to TechLimitsTab

    Included 'allowISPurchasesBox' and 'allowCanonOnlyBox' components in the TechLimitsTab for enhanced configuration of tech limit options. Also organized comments in CampaignOptionsPane for better readability.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0347435 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refs/heads/master' into campaignOptionsIIC

    # Conflicts:
    #	MekHQ/resources/mekhq/resources/NEWCampaignOptionsDialog.properties
    #	MekHQ/src/mekhq/campaign/campaignOptions/CampaignPreset.java
    #	MekHQ/src/mekhq/gui/dialog/CampaignOptionsDialog.java
    #	MekHQ/src/mekhq/gui/dialog/CampaignPresetSelectionDialog.java
    #	MekHQ/src/mekhq/gui/panes/CampaignPresetPane.java
    #	MekHQ/src/mekhq/gui/panes/campaignOptions/SelectPresetDialog.java
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    c0b5242 View commit details
    Browse the repository at this point in the history
  4. Refactor imports for CampaignPreset

    Moved CampaignPreset from campaignOptions to campaign package.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7aa9fcf View commit details
    Browse the repository at this point in the history
  5. Refactored CampaignOptionsDialog to disable option interactions

    Commented out methods and imports related to campaign options handling via the CampaignOptionsPane. This change disables the updating, validation, and application of campaign options while keeping the overall structure intact.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3138157 View commit details
    Browse the repository at this point in the history
  6. Refactor campaign options GUI: delete unused class, rename and expand…

    … PersonnelTab
    
    Deleted the unused RandomAssignmentTables class. Renamed Personnel to PersonnelTab and expanded its contents with multiple new tabs for different settings. Modified comments and reorganized imports in RepairAndMaintenanceTab and GeneralTab. Updated properties file with new labels and placeholders.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0f3497b View commit details
    Browse the repository at this point in the history
  7. Add tabs for Administrators and Awards in PersonnelTab

    Implemented new tabs within PersonnelTab for administrators and awards. Added respective UI elements and layout configurations to support negotiation, scrounge, and award options.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3ce82e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Add Personnel and Prisoner/Dependent Management Features

    Implemented new UI components and functionality for personnel cleanup and prisoner/dependent management in the campaign options dialog. This includes new panels and options for enabling/disabling personnel removal, managing prisoner statuses, and handling dependents.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a869a76 View commit details
    Browse the repository at this point in the history
  2. Implement comprehensive Personnel Tab features

    Added multiple sub-tabs within the Personnel Tab to streamline various functionalities including general information, logs, awards, medical, prisoners, dependents, and salaries. Updated tooltips and configured new UI elements with appropriate settings for improved user experience. This structure enhances the management and display of essential personnel data.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    77d885a View commit details
    Browse the repository at this point in the history
  3. Prioritize General Options Tab in Campaign Options

    Ensured that the 'generalTab' always appears first in the campaign options tabs. This change improves the user experience by making general options more accessible. The sorting logic was adjusted to handle this special case.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    ae1d244 View commit details
    Browse the repository at this point in the history
  4. Add base salaries configuration to PersonnelTab

    Expanded PersonnelTab to include configuration for base salaries. Added labels and spinners for various personnel roles, and updated layout handling to dynamically accommodate the new elements.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a097681 View commit details
    Browse the repository at this point in the history
  5. Corrected PersonnelTab comments

    Replaced ampersand with "and" in "Prisoners & Dependents Tab" for clarity and consistency with the rest of the text. This improves readability and maintains a uniform style throughout the documentation.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    4bb8702 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Fix UI layout and header component references

    Updated the reference from imagePanel to headerPanel across multiple tabs to ensure consistent header naming conventions. Adjusted alignment for headerPanel components to CENTER for better UI consistency. Enhanced panel dimensions setup to improve layout appearance. Standardized label text formatting by removing HTML tags.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    99c55a9 View commit details
    Browse the repository at this point in the history
  2. Refactored campaign options UI quotes for better readability.

    Condensed multi-line quotes into single lines in the properties file to improve consistency. Updated the UI code to enhance the layout and presentation of the quotes in the campaign options dialog.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2b88619 View commit details
    Browse the repository at this point in the history
  3. Add Life Paths tab and enhance personnel tab in Campaign Options

    Renamed 'Personnel Tab' as 'Human Resources Tab' and included tooltips and checkboxes for various options. Added new Life Paths tab with General and Background sub-tabs, introducing options for random gender, family display, random personalities, and origins.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2bac6e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    138e311 View commit details
    Browse the repository at this point in the history
  2. Add Marriage Tab to Life Paths Configuration

    Introduced a new Marriage Tab in the Life Paths configuration panel, including options for manual, clan personnel, and prisoner marriages. Enhanced random marriage settings with various input components and panels to customize marriage characteristics, logging, and random generation methods. Adjusted spinners in CampaignOptionsUtilities to align text to the left for improved readability.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    0814741 View commit details
    Browse the repository at this point in the history
  3. Add divorce options tab in campaign settings

    Included a new Divorce tab with various settings such as manual, clan personnel, and prisoner divorces, along with random divorce configurations. Updated the campaign options pane to integrate the new tab and revised related resource files.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d2f7b2c View commit details
    Browse the repository at this point in the history
  4. Add procreation tab with divorce options

    Implemented a new procreation tab in the LifePathsTab with various divorce options, including manual, clan personnel, and prisoner divorces. Updated the campaign options dialog properties to reflect the inclusion of new relationship categories for marriage and divorce.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c61476f View commit details
    Browse the repository at this point in the history
  5. Add Procreation Tab to Campaign Options

    Implemented a new Procreation Tab in the Campaign Options dialog. This includes various settings related to manual, clan, and random procreation methods, as well as options for managing offspring attributes and maternity leave.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    e2c660b View commit details
    Browse the repository at this point in the history
  6. Add Death Tab to Campaign Options

    Introduced a new Death tab in the Campaign Options pane, including various settings for simulating character deaths such as random death methods and death by age group. Implemented corresponding UI components and placeholders in the properties file.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c7533e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Rename and expand TurnoverAndRetention class

    Renamed TurnoverAndRetention.java to TurnoverAndRetentionTab.java to better reflect its extended functionality. Added comprehensive GUI elements for configuring turnover and fatigue settings, including numerous panels, checkboxes, labels, and spinners. Enhanced the structure and layout using Swing components to provide a detailed and user-friendly experience.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    42d188a View commit details
    Browse the repository at this point in the history
  2. Remove HTML formatting from text strings

    Replaced HTML tags with plain text in various labels to improve readability and maintain consistency across the user interface. Also updated component creation and layout handling in PersonnelTab.java to ensure proper alignment and sizing of labels and spinners.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    56155f9 View commit details
    Browse the repository at this point in the history
  3. Add new Education tab to campaign options

    Renamed relationship-related tabs and integrated a comprehensive Education tab. This includes various education settings such as XP rates, dropout chances, and accident rates, as well as new configuration panels and controls.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e2b28a2 View commit details
    Browse the repository at this point in the history
  4. Add entrance exam modifier label to LifePathsTab

    Added a new label to display the entrance exam modifier in the LifePathsTab for better clarity. Also updated the properties file to accommodate this new label and adjusted related UI components accordingly.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    0272552 View commit details
    Browse the repository at this point in the history
  5. Add RelationshipsTab for campaign options

    Created a new `RelationshipsTab` class in the campaign options GUI, featuring separate tabs for marriage, divorce, and procreation settings. Each tab includes options for manual, clan personnel, and prisoner actions, along with configurations for randomization.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    97bcd5b View commit details
    Browse the repository at this point in the history
  6. Remove unused NameAndPortraitGeneration.java file

    This file was no longer needed and its presence could cause confusion. The removal helps in maintaining a cleaner and more understandable codebase.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e40404c View commit details
    Browse the repository at this point in the history
  7. Make methods private in various campaign options tabs

    Updated method visibility to private in several campaign options tabs to encapsulate functionality and improve code maintainability. This change affects multiple panels related to relationships, supplies, biographies, repairs, turnovers, technical limits, and more.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    47ad105 View commit details
    Browse the repository at this point in the history
  8. Add "Name and Portrait Generation" tab

    Introduced a new "Name and Portrait Generation" tab in campaign options. This includes functionality for assigning names based on origin faction and managing portrait generation/settings. Updated related UI components and properties accordingly.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8c2d687 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fc8353d View commit details
    Browse the repository at this point in the history
  10. Add Rank System tab and adjust panel dimensions to 750px

    Implemented a new Rank System tab in the campaign options and adjusted various panel dimensions from 500px to 750px for better layout consistency. Removed redundant instruction text for rank systems to streamline the user interface.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ca95042 View commit details
    Browse the repository at this point in the history
  11. Add Javadoc for createRankTab method

    The Javadoc was added to the createRankTab method to describe its purpose and functionality. Also, a variable name in the layout setup was changed for better readability. This improves the code documentation and clarity for future maintenance.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1093707 View commit details
    Browse the repository at this point in the history
  12. Refactor tab initialization methods

    Reorganized initialization of components into separate methods for better readability and maintainability. This change involves splitting the initialization logic for each tab into distinct methods across multiple files, enhancing code modularity.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e071ed0 View commit details
    Browse the repository at this point in the history
  13. Rename biographyTab.java to BiographyTab.java

    Renamed the biographyTab class and its references to BiographyTab to follow Java naming conventions. Updated Javadocs and comments to reflect the new class name and added an explanatory class header.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    27ab0b2 View commit details
    Browse the repository at this point in the history
  14. Refactor and simplify campaign options UI components

    Refactored various campaign option tabs to use cleaner and more consistent styles. Eliminated HTML tags in labels, standardized panel creation methods, and integrated utility scaling methods where necessary. This improves readability, maintainability, and ensures UI scalability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d0a393e View commit details
    Browse the repository at this point in the history
  15. Remove unnecessary comments and simplify JScrollPane usage

    Removed a non-informative comment from CampaignOptionsUtilities.java for cleaner code. Simplified JScrollPane constructor usage in CampaignOptionsPane.java by using default scrollbar policy.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    df16e38 View commit details
    Browse the repository at this point in the history
  16. Fix component alignment in SuppliesAndAcquisitionTab

    Corrected the order of combo and label components to ensure proper alignment in the UI layout. This change enhances the readability and consistency of the user interface.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    def629d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8ad9b9e View commit details
    Browse the repository at this point in the history
  18. Refactored font size initialization and added error handling

    Simplified the font size initialization by using a constant and added error handling for missing UI scale property. This ensures consistent font size usage across tabs and improves code readability and robustness.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8af5dec View commit details
    Browse the repository at this point in the history
  19. Refactor tab and class names for consistency

    Renamed several parent and content tabs to align with new naming conventions for better clarity and maintainability. Adjusted class names and method calls accordingly, ensuring application consistency and code readability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4872979 View commit details
    Browse the repository at this point in the history
  20. Merge EquipmentTab into EquipmentAndSuppliesTab

    Consolidated the functionality of EquipmentTab into EquipmentAndSuppliesTab and removed the obsolete EquipmentTab class. This simplifies the structure and reduces redundancy by having all related settings under a single tab.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fc98d5b View commit details
    Browse the repository at this point in the history
  21. Rename Logistics Parent Tab

    Changed the title of the 'logisticsAndMaintenanceParentTab' to 'Logistics' in the campaign options dialog. Also, standardized comment formatting in CampaignOptionsPane.java for better readability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    806a40f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Delete unused classes and change initialize methods to private

    Removed redundant classes in the campaignOptions package to streamline the codebase. Also modified the accessibility of initialize methods from protected to private in various tabs for better encapsulation and maintenance.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    248dcda View commit details
    Browse the repository at this point in the history
  2. Add new financial options to FinancesTab

    Enhanced the FinancesTab with detailed financial settings including loan limits, percentage maintenance costs, taxation, and share system options. Created separate panels for payments, sales, taxes, and other systems, and updated resource properties to reflect these changes.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    d02cf4d View commit details
    Browse the repository at this point in the history
  3. Add price multipliers tab to finances options

    Introduced a new "Price Multipliers" tab within the finances options of the campaign settings. This tab includes configurable multipliers for various parts, units, and conditions, enhancing customization and economic control. Adjusted related methods and integrated new labels and properties accordingly.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    bb1acf9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b222d8 View commit details
    Browse the repository at this point in the history
  5. Add Javadoc comments for methods in FinancesTab.java

    Enhanced code documentation by adding comprehensive Javadoc comments to methods in the `FinancesTab.java` file. This includes detailed explanations for the `FinancesTab` class and its methods, improving code readability and maintainability by providing clear descriptions of their functionality and parameters.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    478f0fc View commit details
    Browse the repository at this point in the history
  6. Add MarketsTab functionality

    Implemented a new MarketsTab in the CampaignOptionsPane, including a Personnel Market options panel with various configuration settings. Updated the relevant properties file to support the new tab and its features.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    01a7bac View commit details
    Browse the repository at this point in the history
  7. Refactor checkbox and spinner creation methods

    Updated the methods for creating checkboxes and spinners to remove redundant arguments. Refactored the relevant code in the GUI panels to use these streamlined methods for clarity and simplicity. This change improves code readability and maintainability.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    30f38f3 View commit details
    Browse the repository at this point in the history
  8. Add Javadoc comments and implement Unit Market in GUI

    Added detailed Javadoc comments to utility methods in CampaignOptionsUtilities.java for better code documentation. Implemented the Unit Market tab in MarketsTab.java, including new UI components and layout adjustments. Simplified label and text field creation in GeneralTab.java by removing redundant parameters.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    f6a9290 View commit details
    Browse the repository at this point in the history
  9. Add Unit Market Tab in Campaign Options

    This commit introduced a new Unit Market Tab in the Campaign Options screen. The new tab allows users to configure various settings related to unit markets, including special unit chances, rarity modifiers, and instant delivery options. Labels and tooltips for these new options were also added to the resource file.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    848ecdd View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Update history.txt

    also a few boards
    HammerGS committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    9c268b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Merge remote-tracking branch 'origin/campaignOptionsIIC' into campaig…

    …nOptionsIIC
    
    # Conflicts:
    #	MekHQ/docs/history.txt
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    21ea3b7 View commit details
    Browse the repository at this point in the history
  2. Add contract market tab in campaign options

    Integrated a new contract market tab into the campaign options pane. This included creating various input elements and labels for managing contract details and configurations.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    0d8c8f6 View commit details
    Browse the repository at this point in the history
  3. Add checkbox for limiting mercenary size

    Introduced a new checkbox `chkMercSizeLimited` to the MarketsTab. This checkbox allows users to set a limit on the size of mercenary units. Updated the layout and initialization code to include this new component.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    1586bb3 View commit details
    Browse the repository at this point in the history
  4. Update history.txt

    HammerGS committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    b9a199e View commit details
    Browse the repository at this point in the history
  5. Add RulesetsTab.java for campaign options

    Introduced a new `RulesetsTab` class to handle various campaign options in MekHQ. This tab includes universal options, legacy AtB options, and StratCon options for enhanced scenario and map generation configuration.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7afcb14 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bffeee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    709bd08 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Refactored UI components to use scaleForGUI for size adjustments

    This change updated various UI components in different tabs to use the `UIUtil.scaleForGUI` method for setting their sizes. The adjustment ensures that the components scale appropriately, improving the application's compatibility with different display settings and resolutions.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    be3d92f View commit details
    Browse the repository at this point in the history
  2. Remove maximum size constraints from GUI components

    Removed maximum size constraints to allow GUI components to scale more dynamically based on window size and user settings. This change ensures a more flexible and responsive user interface. Adjusted size comparison directly to enhance code readability and simplicity.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3b31e4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25fb7b3 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into campaignOptionsIIC-sizing--issues

    # Conflicts:
    #	MekHQ/docs/history.txt
    SJuliez committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    75af3cf View commit details
    Browse the repository at this point in the history
  5. misc, remove sizes

    SJuliez committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ba0a34c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a9532c1 View commit details
    Browse the repository at this point in the history
  7. better ctor

    SJuliez committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2e0ca30 View commit details
    Browse the repository at this point in the history