Skip to content

Commit aa55900

Browse files
authored
Merge branch 'KAT-Advanced-Medical:dev-Tomcat' into dev-Tomcat
2 parents 78c2aa9 + 3918431 commit aa55900

382 files changed

Lines changed: 25465 additions & 19709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/release-drafter.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,44 @@ branches:
55
name-template: 'Version $NEXT_PATCH_VERSION'
66
tag-template: 'v$NEXT_PATCH_VERSION'
77

8+
sort-by: title # sort alphabetically
9+
sort-direction: ascending
10+
811
categories:
912
- title: '**ADDED:**'
1013
labels:
11-
- 'kind/feature request'
12-
- 'kind/added feature'
14+
- 'kind/feature'
1315
- title: '**FIXED:**'
1416
labels:
15-
- 'kind/bug fix'
17+
- 'kind/bug-fix'
1618
- title: '**IMPROVED:**'
1719
labels:
1820
- 'kind/enhancement'
1921
- 'kind/optimization'
2022
- title: '**CHANGED:**'
2123
labels:
2224
- 'kind/cleanup'
23-
- 'area/compatibility'
25+
- 'kind/change'
26+
- title: '**SETTINGS:**'
27+
labels:
28+
- 'kind/setting'
2429
- title: '**TRANSLATIONS:**'
2530
labels:
26-
- 'area/translations'
31+
- 'kind/translation'
2732

2833
exclude-labels:
29-
- 'ignore changelog'
34+
- 'ignore-changelog'
3035
- 'dependencies'
3136

3237
change-template: '- $TITLE (#$NUMBER)'
3338
template: |
34-
_Requires CBA version X.Y.Z or later and Arma 3 version X.Y or later._
39+
_Requires CBA version X.Y.Z or later and ACE 3 version X.Y or later._
3540
3641
## Change Log Summary
3742
3843
$CHANGES
3944
4045
replacers:
4146
# Category titles
42-
- search: '/\#\# (\*\*(ADDED|FIXED|IMPROVED|CHANGED|TRANSLATIONS):\*\*)/g'
43-
replace: '$1'
47+
- search: '/\#\# (\*\*(ADDED|FIXED|IMPROVED|CHANGED|SETTINGS|TRANSLATIONS):\*\*)/g'
48+
replace: '$1'

.github/workflows/arma.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,28 @@ jobs:
2020
run: python3 tools/stringtable_validator.py
2121
- name: Check Strings
2222
run: python3 tools/check_strings.py
23+
- name: Check for BOM
24+
uses: arma-actions/bom-check@master
25+
with:
26+
path: 'addons'
2327

24-
lint:
25-
runs-on: ubuntu-latest
26-
steps:
27-
- name: Checkout the source code
28-
uses: actions/checkout@v4
29-
- name: Lint (sqflint)
30-
uses: arma-actions/sqflint@master
31-
continue-on-error: true # No failure due to many false-positives
3228

3329
build:
3430
runs-on: ubuntu-latest
3531
steps:
36-
- uses: actions/checkout@v4
37-
with:
38-
fetch-depth: 1
32+
- name: Checkout the source code
33+
uses: actions/checkout@v4
3934
- name: Setup HEMTT
4035
uses: arma-actions/hemtt@v1
36+
with:
37+
annotate: false
4138
- name: Run HEMTT Build
4239
run: hemtt build
40+
- name: Rename build folder
41+
run: mv .hemttout/build .hemttout/@kat
4342
- name: Upload Release
4443
uses: actions/upload-artifact@v4
4544
with:
46-
name: '@kat'
47-
path: '.hemttout/build/*'
45+
name: 'kat-${{github.sha}}-nobin'
46+
path: '.hemttout/@*'
4847
include-hidden-files: true # Because .hemttout is a hidden directory

.github/workflows/dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
contentPath: './@Kat-Advanced-Medical-${{ env.VERSION }}'
4040
changelog: |
4141
https://github.com/KAT-Advanced-Medical/KAM/releases/tag/v${{ env.VERSION }}
42-
4342
${{ github.event.release.body }}
4443
env:
4544
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}

.github/workflows/hemtt.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: HEMTT
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request_target:
8+
9+
jobs:
10+
windows:
11+
runs-on: windows-latest
12+
steps:
13+
- name: Checkout the source code
14+
uses: actions/checkout@v4
15+
- name: Setup HEMTT
16+
uses: arma-actions/hemtt@v1
17+
- name: Checkout pull request
18+
uses: actions/checkout@v4
19+
if: ${{ github.event_name == 'pull_request_target' }}
20+
with:
21+
path: pullrequest
22+
ref: 'refs/pull/${{ github.event.number }}/merge'
23+
- name: Replace addons with pull request addons
24+
if: ${{ github.event_name == 'pull_request_target' }}
25+
run: |
26+
rm -r addons\
27+
rm -r include\
28+
xcopy /e /h /q pullrequest\addons addons\
29+
xcopy /e /h /q pullrequest\include include\
30+
- name: Run HEMTT build
31+
run: hemtt build
32+
- name: Rename build folder
33+
run: mv .hemttout/build .hemttout/@kat
34+
- name: Upload Artifact
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: kat-${{ github.sha }}
38+
path: .hemttout/@*
39+
include-hidden-files: true # Because .hemttout is a hidden directory

.hemtt/launch.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
workshop = [
33
"450814997", # CBA_A3's Workshop ID
44
"463939057", # ACE3's Workshop ID
5-
"2369477168" # Advanced Developer Tools's Workshop ID
5+
"3499977893" # Advanced Developer Tools's Workshop ID
66
]
77

88
[rhs]
99
extends = "default"
1010
workshop = [
1111
"843577117", # RHS USAF Workshop ID
1212
]
13+
14+
[anrop]
15+
workshop = [
16+
"450814997", # CBA_A3's Workshop ID
17+
"1882627645", # Anrop ACE3's Workshop ID
18+
"3499977893" # Advanced Developer Tools's Workshop ID
19+
]

AUTHORS.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@ Nilia
3939
Eughenos
4040
Solbak
4141
Tapawingo
42-
apo_tle
42+
apo_tle
43+
Aaren
44+
Apricot_ale

addons/airway/CfgMoves.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ class CfgMovesMaleSdr: CfgMovesBasic {
4242
};
4343
};
4444
};
45-
};
45+
};

addons/airway/CfgVehicles.hpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,13 @@ class CfgVehicles {
4747
hiddenSelectionsTextures[] = {QPATHTOF(ui\vomit.paa)};
4848
};
4949

50-
class NATO_Box_Base;
51-
class ACE_medicalSupplyCrate: NATO_Box_Base {
52-
class TransportItems;
53-
};
50+
class ACE_medicalSupplyCrate;
5451
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
55-
class TransportItems: TransportItems {
52+
class TransportItems {
5653
MACRO_ADDITEM(kat_larynx,15);
5754
MACRO_ADDITEM(kat_guedel,15);
58-
MACRO_ADDITEM(kat_suction,15);
5955
MACRO_ADDITEM(kat_accuvac,1);
56+
MACRO_ADDITEM(kat_suction,10);
6057
};
6158
};
6259
};

addons/airway/XEH_PREP.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PREP(checkAirway);
2-
PREP(checkRecovery);
32
PREP(checkMask);
3+
PREP(checkRecovery);
44
PREP(fullHealLocal);
55
PREP(gui_updateBodyImage);
66
PREP(gui_updateInjuryListGeneral);

addons/airway/XEH_postInit.sqf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
if !(GVAR(enable)) exitWith {};
44

5-
[QGVAR(larynxLocal), LINKFUNC(treatmentAdvanced_larynxLocal)] call CBA_fnc_addEventHandler;
65
[QGVAR(airwayLocal), LINKFUNC(treatmentAdvanced_airwayLocal)] call CBA_fnc_addEventHandler;
7-
[QGVAR(guedelLocal), LINKFUNC(treatmentAdvanced_guedelLocal)] call CBA_fnc_addEventHandler;
86
[QGVAR(accuvacLocal), LINKFUNC(treatmentAdvanced_accuvacLocal)] call CBA_fnc_addEventHandler;
97
[QGVAR(recoveryPositionLocal), LINKFUNC(treatmentAdvanced_RecoveryPositionLocal)] call CBA_fnc_addEventHandler;
108
[QGVAR(cancelRecoveryPositionLocal), LINKFUNC(treatmentAdvanced_CancelRecoveryPositionLocal)] call CBA_fnc_addEventHandler;

0 commit comments

Comments
 (0)