Skip to content

Commit

Permalink
feat: add Expeditionary Forces CDLC
Browse files Browse the repository at this point in the history
  • Loading branch information
DrymarchonShaun committed Dec 23, 2024
1 parent 2ea62d9 commit 9e8b274
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/arma3-unix-launcher-library/arma3client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace ARMA3::Definitions

static constexpr char const *app_id = "107410";

static const std::array<char const *, 30> exclusions{"Addons", "AoW", "Argo", "BattlEye", "Contact", "Curator", "Dll", "Dta", "Enoch", "Expansion", "fontconfig", "GM", "CSLA", "Heli", "Jets", "Kart", "Keys", "Launcher", "MPMissions", "Mark", "Missions", "Orange", "SPE", "Tacops", "Tank", "vn", "RF", "WS", "legal", "steam_shader_cache"};
static const std::array<char const *, 31> exclusions{"Addons", "AoW", "Argo", "BattlEye", "Contact", "Curator", "Dll", "Dta", "Enoch", "Expansion", "fontconfig", "GM", "CSLA", "Heli", "Jets", "Kart", "Keys", "Launcher", "MPMissions", "Mark", "Missions", "Orange", "SPE", "Tacops", "Tank", "vn", "RF", "EF", "WS", "legal", "steam_shader_cache"};
//TODO: Use dta/product.bin for exclusion list

#ifdef __linux
Expand Down
2 changes: 2 additions & 0 deletions src/arma3-unix-launcher/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ try
mods.push_back(client->GetPath() / "vn");
if (parameters["dlcReactionForces"])
mods.push_back(client->GetPath() / "RF");
if (parameters["dlcExpeditionaryForces"])
mods.push_back(client->GetPath() / "EF");
if (parameters["dlcCSLA"])
mods.push_back(client->GetPath() / "CSLA");
if (parameters["dlcSpearhead1944"])
Expand Down
7 changes: 7 additions & 0 deletions src/arma3-unix-launcher/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_dlc_expeditionary_forces">
<property name="text">
<string>Enable Expeditionary Forces DLC</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_dlc_csla">
<property name="text">
Expand Down
1 change: 1 addition & 0 deletions src/arma3-unix-launcher/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ void Settings::load_settings_to_ui(Ui::MainWindow *ui)
read_setting("dlcGlobalMobilization", ui->checkbox_dlc_global_mobilization);
read_setting("dlcSogPrairieFire", ui->checkbox_dlc_sog_prairie_fire);
read_setting("dlcReactionForces", ui->checkbox_dlc_reaction_forces);
read_setting("dlcExpeditionaryForces", ui->checkbox_dlc_expeditionary_forces);
read_setting("dlcCSLA", ui->checkbox_dlc_csla);
read_setting("dlcSpearhead1944", ui->checkbox_dlc_spearhead_1944);
read_setting("dlcWesternSahara", ui->checkbox_dlc_western_sahara);
Expand Down

0 comments on commit 9e8b274

Please sign in to comment.